Datastore Reader
Datastore is a simple tool written to parse sugar metadata files from backuped XO archives in a given folder.
Install
To install the datastore_reader lib, you need python and easy_install tool. Just in case, you can download the easy_install init script here:
http://peak.telecommunity.com/dist/ez_setup.py
… and install it:
$ python ez_setup.py
You should now be able to easy_install the datastore_reader as follow:
$ easy_install datastore_reader
Run
The first datastore_reader entry point is called moulinette. It extract and parse metadata from backups to csv files.
By default, archives should be in a sub-folder named data in the current folder, ex:
./data ./data/archive-1.tar.bz2 ./data/archive-2.tar.bz2 ./data/archive-3.tar.bz2 ...
All archives should have the .tar.bz2 extension. Here is the command to trigger the first reader application:
$ moulinette
At the end, you should find 2 new folders in the data floder:
./data/tmp ./data/out
In tmp sub-folder we have the extracted files from the parsing process. All files are re-extracted each time and the tmp folder can be removed after.
In the out folder we find the .csv results of the moulinette script.
Metadata
Release files for datastore-reader 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| datastore_reader-0.1-py2.7.egg | Legacy Egg format | - | - | Details |
Release files / datastore_reader-0.1-py2.7.egg
| Download URL | datastore_reader-0.1-py2.7.egg |
|---|---|
| Size | 12.0 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
51f1422bb5c5808d07df912c9ab65e1c219422546afcfbc794c89fb2f879e3e0
|
|
BLAKE2b-256 checksum How to use checksums |
ae840721dcb0341b17fd9560eb2c394dc4fc175c90a4ebe385189fbf1a213bb0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |