Compare commits
4 Commits
nilmdb-2.0
...
nilmdb-2.0
Author | SHA1 | Date | |
---|---|---|---|
8dfb8da15c | |||
6cc1f6b7b2 | |||
8dc36c2d37 | |||
3738430103 |
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
@@ -145,8 +145,8 @@ class Client():
|
|||||||
|
|
||||||
Example:
|
Example:
|
||||||
with client.stream_insert_context('/path', start, end) as ctx:
|
with client.stream_insert_context('/path', start, end) as ctx:
|
||||||
ctx.insert('1234567890.0 1 2 3 4\\n')
|
ctx.insert('1234567890000000 1 2 3 4\\n')
|
||||||
ctx.insert('1234567891.0 1 2 3 4\\n')
|
ctx.insert('1234567891000000 1 2 3 4\\n')
|
||||||
|
|
||||||
For more details, see help for nilmdb.client.client.StreamInserter
|
For more details, see help for nilmdb.client.client.StreamInserter
|
||||||
|
|
||||||
|
@@ -66,7 +66,7 @@ class Complete():
|
|||||||
layouts = []
|
layouts = []
|
||||||
for i in range(1, 10):
|
for i in range(1, 10):
|
||||||
layouts.extend([(t + "_" + str(i)) for t in types])
|
layouts.extend([(t + "_" + str(i)) for t in types])
|
||||||
return (l for l in layouts if l.startswith(prefix))
|
return (lay for lay in layouts if lay.startswith(prefix))
|
||||||
|
|
||||||
def meta_key(self, prefix, parsed_args, **kwargs):
|
def meta_key(self, prefix, parsed_args, **kwargs):
|
||||||
return (kv.split('=')[0] for kv
|
return (kv.split('=')[0] for kv
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import nilmdb.fsck
|
import nilmdb.fsck
|
||||||
import argparse
|
import argparse
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import nilmdb.cmdline
|
import nilmdb.cmdline
|
||||||
|
|
||||||
|
@@ -1,16 +1,40 @@
|
|||||||
argcomplete>=1.10.0
|
argcomplete==1.12.0
|
||||||
CherryPy>=18.1.2
|
CherryPy==18.6.0
|
||||||
coverage>=4.5.4
|
coverage==5.2.1
|
||||||
cython>=0.29.13
|
Cython==0.29.21
|
||||||
decorator>=4.4.0
|
decorator==4.4.2
|
||||||
fallocate>=1.6.4
|
fallocate==1.6.4
|
||||||
flake8>=3.7.8
|
flake8==3.8.3
|
||||||
nose>=1.3.7
|
nose==1.3.7
|
||||||
numpy>=1.17.0
|
numpy==1.19.1
|
||||||
progressbar>=2.5
|
progressbar==2.5
|
||||||
psutil>=5.6.3
|
psutil==5.7.2
|
||||||
python-datetime-tz>=0.5.4
|
python-datetime-tz==0.5.4
|
||||||
python-dateutil>=2.8.0
|
python-dateutil==2.8.1
|
||||||
requests>=2.22.0
|
requests==2.24.0
|
||||||
tz>=0.2.2
|
tz==0.2.2
|
||||||
WebTest>=2.0.33
|
WebTest==2.0.35
|
||||||
|
|
||||||
|
## The following requirements were added by pip freeze:
|
||||||
|
beautifulsoup4==4.9.1
|
||||||
|
certifi==2020.6.20
|
||||||
|
chardet==3.0.4
|
||||||
|
cheroot==8.4.2
|
||||||
|
idna==2.10
|
||||||
|
jaraco.classes==3.1.0
|
||||||
|
jaraco.collections==3.0.0
|
||||||
|
jaraco.functools==3.0.1
|
||||||
|
jaraco.text==3.2.0
|
||||||
|
mccabe==0.6.1
|
||||||
|
more-itertools==8.4.0
|
||||||
|
portend==2.6
|
||||||
|
pycodestyle==2.6.0
|
||||||
|
pyflakes==2.2.0
|
||||||
|
pytz==2020.1
|
||||||
|
six==1.15.0
|
||||||
|
soupsieve==2.0.1
|
||||||
|
tempora==4.0.0
|
||||||
|
urllib3==1.25.10
|
||||||
|
waitress==1.4.4
|
||||||
|
WebOb==1.8.6
|
||||||
|
zc.lockfile==2.0
|
||||||
|
2
setup.py
2
setup.py
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
# To release a new version, tag it:
|
# To release a new version, tag it:
|
||||||
# git tag -a nilmdb-1.1 -m "Version 1.1"
|
# git tag -a nilmdb-1.1 -m "Version 1.1"
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import nose
|
import nose
|
||||||
import os
|
import os
|
||||||
|
Reference in New Issue
Block a user