Go to file
2019-08-30 11:13:55 -04:00
docs Consistently use bytes everywhere for stream data 2019-08-13 15:53:05 -04:00
extras Fix python2->3 conversion of pickle 2019-08-30 11:13:55 -04:00
nilmdb Fix python2->3 conversion of pickle 2019-08-30 11:13:55 -04:00
tests Fill out coverage for server/nilmdb.py and remove dead code 2019-08-30 10:32:52 -04:00
.coveragerc Remove old files from .coveragerc exclusions 2019-08-14 19:42:00 -04:00
.gitattributes Incorporate versioneer for versioning 2013-02-05 18:49:07 -05:00
.gitignore Update setup.py and build instructions 2019-08-29 14:52:55 -04:00
.pylintrc Clean up some pylint warnings and potential errors 2013-02-01 15:29:24 -05:00
Makefile Update setup.py and build instructions 2019-08-29 14:52:55 -04:00
MANIFEST.in Update setup.py and build instructions 2019-08-29 14:52:55 -04:00
README.txt Always use pyximport, since we now require cython. 2019-08-29 14:52:55 -04:00
requirements.txt Add tests for bash completion; fix Unicode bug that turned up 2019-08-30 00:15:29 -04:00
setup.cfg Update coverage config 2019-08-14 12:57:57 -04:00
setup.py Add tests for bash completion; fix Unicode bug that turned up 2019-08-30 00:15:29 -04:00
versioneer.py Update build system for Python 3 2019-07-25 10:34:20 -04:00

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.