Jim Paris
204a6ecb15
Rather than flushing and resizing after each row is written to the file, have the file object iterate by itself and do all of the writes. Only flush and resize the mmap after finishing. This should be pretty safe to do, especially since nothing is concurrent at the moment. |
||
---|---|---|
docs | ||
nilmdb | ||
tests | ||
.coveragerc | ||
.gitattributes | ||
.gitignore | ||
.pylintrc | ||
Makefile | ||
README.txt | ||
setup.cfg | ||
setup.py | ||
versioneer.py |
nilmdb: Non-Intrusive Load Monitor Database by Jim Paris <jim@jtan.com> Prerequisites: # Runtime and build environments sudo apt-get install python2.7 python2.7-dev python-setuptools cython # Base NilmDB dependencies sudo apt-get install python-cherrypy3 python-decorator python-simplejson sudo apt-get install python-requests python-dateutil python-tz python-psutil # Tools for running tests sudo apt-get install python-nose python-coverage Test: python setup.py nosetests Install: python setup.py install Usage: nilmdb-server --help nilmtool --help