Compare commits

...

4 Commits

Author SHA1 Message Date
Brian S. Stephan 2a431f509f .gitignore *.pyc 2020-02-08 10:03:49 -06:00
Brian S. Stephan 8b6b93e87d super basic skeleton, just loads an irssi-like UI
it doesn't do anything at the moment
2020-02-08 10:02:39 -06:00
Brian S. Stephan 5edfc62f27 add basic requirements files 2020-02-08 10:01:45 -06:00
Brian S. Stephan 1d35c38440 .gitignore *.swp 2020-02-08 10:00:18 -06:00
8 changed files with 44 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*.pyc
*.swp

15
bin/tabletracker Executable file
View 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()

View File

6
npytabletracker/ui.py Normal file
View 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

View File

@ -0,0 +1,3 @@
-r requirements.in
pip-tools

View 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

View File

@ -0,0 +1 @@
npyscreen

View 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