Skip to main content

Write to multiple databases and formats easily from python

Project description

Data-Writers
=======================

Write to multiple databases and formats easily from python.

This project is useful in any scenario where you need to write some data in a readable manner quickly and easily.

It can be used to write to:
* csv
* sqlite
* mysql
* redis
* mongo
* postgres
* aerospike

Example usage is as simple as:

```
from datawriters.datawriter import DataWriter
DataWriter(writer='csv').save([{"column1":"row1-item1", "column2":"row1-item2"},
{"column1":"row2-item1", "column2":"row2-item2"},
{"column1":"row3-item1", "column2":"row3-item2"}])
```

source code available at: https://github.com/jamesmarlowe/Python-Data-Writers

Project details


Download files

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

Source Distribution

data-writers-0.5.0.zip (10.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page