Jim Paris
232a3876c2
Clean up imports to separate client and server more.
"import nilmdb" doesn't do much; "import nilmdb.client" or "import
nilmdb.server" is now required.
11 years ago
Jim Paris
0047e0360a
Implement Rocket.append_string() in C; misc cleanups along the way
This should more or less complete the rocket interface.
11 years ago
Jim Paris
1ac6abdad0
Fix rocket.ParseError exception handling
Before, a tuple was crammed into args[0]. Now, the three arguments are
args[0:2].
11 years ago
Jim Paris
84e21ff467
Move ASCII data parsing from the server to the rocket interface.
The server buffers the string and passes it to nilmdb. Nilmdb passes
the string to bulkdata. Bulkdata uses the rocket interface to parse
it in chunks, as necessary. Everything gets passed back up and
everyone is happy.
Currently, only pyrocket implements append_string.
11 years ago
Jim Paris
16f23f4a91
Fill out pyrocket.py to fit new interfaces; fix small bugs
11 years ago
Jim Paris
0d372fb878
Modify old formatter to match rocket's formatting style
11 years ago
Jim Paris
eb8037ee3c
Add a description for the rocket interface
11 years ago
Jim Paris
fadb84d703
Move ascii formatting into nilmdb thread via rocket interface
11 years ago
Jim Paris
130dae0734
Add extract_string to pyrocket
11 years ago
Jim Paris
402234dfc3
Better layout handling in pyrocket
11 years ago
Jim Paris
4406d51a98
First pass at Python implementation of rocket
11 years ago