You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Jim Paris d17365ca37 Update build system for Python 3 2 years ago
docs Fix WSGI docs again 8 years ago
extras Add tool to fix oversize files (the bug fixed by b98ff13) 8 years ago
nilmdb Update build system for Python 3 2 years ago
tests Fix test that would fail if reordered, or in a different timezone 6 years ago
.coveragerc Add nilmdb-fsck tool to check database consistency 8 years ago
.gitattributes Incorporate versioneer for versioning 8 years ago
.gitignore Ignore built modules 8 years ago
.pylintrc Clean up some pylint warnings and potential errors 8 years ago
Makefile Update build system for Python 3 2 years ago
README.txt Update build system for Python 3 2 years ago
setup.cfg Update build system for Python 3 2 years ago
setup.py Update build system for Python 3 2 years ago
versioneer.py Update build system for Python 3 2 years ago

README.txt

nilmdb: Non-Intrusive Load Monitor Database
by Jim Paris <jim@jtan.com>

Prerequisites:

# Runtime and build environments
sudo apt install python3.7 python3.7-dev python3-pip

# Base NilmDB dependencies
sudo pip3 install cherrypy decorator simplejson requests
sudo pip3 install python-dateutil tz progressbar psutil

# Other dependencies (required by some modules)
sudo pip3 install numpy

# Tools for running tests
sudo pip3 install nose coverage

Test:
python3 setup.py nosetests

Install:

python setup.py install

Usage:

nilmdb-server --help
nilmdb-fsck --help
nilmtool --help

See docs/wsgi.md for info on setting up a WSGI application in Apache.