Go to file
Jim Paris 544413018c Add some thread safety tests
We don't actually use nilmdb.utils.threadsafety.verify_proxy in the
main NilmDB code, but it's useful for finding errors.

It found an issue with __getattr__ in SerializerProxy which
(1) can't be avoided?
(2) is now commented in the code
(3) shouldn't matter in real use
2019-08-26 16:19:26 -04:00
docs Consistently use bytes everywhere for stream data 2019-08-13 15:53:05 -04:00
extras Run 2to3 automatic fixes over entire tree 2019-07-25 10:35:30 -04:00
nilmdb Add some thread safety tests 2019-08-26 16:19:26 -04:00
tests Add some thread safety tests 2019-08-26 16:19:26 -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 Ignore built modules 2013-03-03 21:44:08 -05:00
.pylintrc Clean up some pylint warnings and potential errors 2013-02-01 15:29:24 -05:00
Makefile Clean up __pycache__ on "make clean" 2019-08-23 15:24:33 -04:00
README.txt Move dependencies into requirements.txt 2019-08-26 15:14:21 -04:00
requirements.txt Change == to >= in requirements.txt, so we aren't stuck in the past 2019-08-26 15:16:03 -04:00
setup.cfg Update coverage config 2019-08-14 12:57:57 -04:00
setup.py Remove references to local copy of datetime_tz 2019-08-01 17:38:01 -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-pip

  # Install NilmDB dependencies
  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.