Compare commits
4 Commits
cc8df0cf15
...
2a431f509f
Author | SHA1 | Date | |
---|---|---|---|
2a431f509f | |||
8b6b93e87d | |||
5edfc62f27 | |||
1d35c38440 |
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
*.pyc
|
||||
*.swp
|
15
bin/tabletracker
Executable file
15
bin/tabletracker
Executable file
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Bootstrap the application and start it."""
|
||||
import npyscreen
|
||||
|
||||
from npytabletracker.ui import TableTrackerDisplay
|
||||
|
||||
class TableTrackerApplication(npyscreen.NPSAppManaged):
|
||||
"""Combine the pieces of the application."""
|
||||
|
||||
def onStart(self):
|
||||
"""Link necessary UI elements and state management and whatnot."""
|
||||
self.addForm('MAIN', TableTrackerDisplay)
|
||||
|
||||
app = TableTrackerApplication()
|
||||
app.run()
|
0
npytabletracker/__init__.py
Normal file
0
npytabletracker/__init__.py
Normal file
6
npytabletracker/ui.py
Normal file
6
npytabletracker/ui.py
Normal file
@ -0,0 +1,6 @@
|
||||
"""UI elements for the npytabletracker application."""
|
||||
import npyscreen
|
||||
|
||||
class TableTrackerDisplay(npyscreen.FormMuttActiveTraditional):
|
||||
"""Create the high level form, which is organized like mutt/irssi."""
|
||||
pass
|
3
requirements/requirements-dev.in
Normal file
3
requirements/requirements-dev.in
Normal file
@ -0,0 +1,3 @@
|
||||
-r requirements.in
|
||||
|
||||
pip-tools
|
10
requirements/requirements-dev.txt
Normal file
10
requirements/requirements-dev.txt
Normal file
@ -0,0 +1,10 @@
|
||||
#
|
||||
# This file is autogenerated by pip-compile
|
||||
# To update, run:
|
||||
#
|
||||
# pip-compile --output-file=requirements/requirements-dev.txt requirements/requirements-dev.in
|
||||
#
|
||||
click==7.0 # via pip-tools
|
||||
npyscreen==4.10.5
|
||||
pip-tools==4.4.1
|
||||
six==1.14.0 # via pip-tools
|
1
requirements/requirements.in
Normal file
1
requirements/requirements.in
Normal file
@ -0,0 +1 @@
|
||||
npyscreen
|
7
requirements/requirements.txt
Normal file
7
requirements/requirements.txt
Normal file
@ -0,0 +1,7 @@
|
||||
#
|
||||
# This file is autogenerated by pip-compile
|
||||
# To update, run:
|
||||
#
|
||||
# pip-compile --output-file=requirements/requirements.txt requirements/requirements.in
|
||||
#
|
||||
npyscreen==4.10.5
|
Loading…
Reference in New Issue
Block a user