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 fb524c649f Remove old workaround for some nosetests multiprocessing bug 2 years ago
docs Consistently use bytes everywhere for stream data 2 years ago
extras Run 2to3 automatic fixes over entire tree 2 years ago
nilmdb Always use pyximport, since we now require cython. 2 years ago
tests Use built-in json module rather than external simplejson 2 years ago
.coveragerc Remove old files from .coveragerc exclusions 2 years ago
.gitattributes Incorporate versioneer for versioning 8 years ago
.gitignore Update setup.py and build instructions 2 years ago
.pylintrc Clean up some pylint warnings and potential errors 8 years ago
MANIFEST.in Update setup.py and build instructions 2 years ago
Makefile Update setup.py and build instructions 2 years ago
README.txt Always use pyximport, since we now require cython. 2 years ago
requirements.txt Update setup.py and build instructions 2 years ago
setup.cfg Update coverage config 2 years ago
setup.py Remove old workaround for some nosetests multiprocessing bug 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.7-venv python3-pip

# Optional: create a new Python virtual environment to isolate
# dependencies. To leave the virtual environment, run "deactivate"
python -m venv venv
source venv/bin/activate

# Install all Python dependencies from PyPI.
pip3 install -r requirements.txt

Test:

python3 setup.py nosetests

Install:

sudo python3 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.