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 671f87b047 Clean up README 4 years ago
docs Consistently use bytes everywhere for stream data 4 years ago
extras Fix python2->3 conversion of pickle 4 years ago
nilmdb Add pylint config and selectively fix some pylint errors 4 years ago
tests Improve test coverage and remove the last "#pragma: no cover" 4 years ago
.coveragerc Remove old files from .coveragerc exclusions 4 years ago
.gitattributes Incorporate versioneer for versioning 11 years ago
.gitignore Clean up README 4 years ago
MANIFEST.in Update setup.py and build instructions 4 years ago
Makefile Add pylint config and selectively fix some pylint errors 4 years ago
README.md Clean up README 4 years ago
requirements.txt Fix flake8-reported code style issues 4 years ago
setup.cfg Add pylint config and selectively fix some pylint errors 4 years ago
setup.py Add tests for bash completion; fix Unicode bug that turned up 4 years ago
versioneer.py Update build system for Python 3 4 years ago

README.md

nilmdb: Non-Intrusive Load Monitor Database

by Jim Paris jim@jtan.com

NilmDB requires Python 3.7 or newer.

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.