This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Sugar DS reader for backup analysis

Project Description

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.

Release History

Release History

This version
History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
datastore_reader-0.1-py2.7.egg (12.0 kB) Copy SHA256 Checksum SHA256 2.7 Egg Dec 22, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting