Metadata-Version: 2.1
Name: dataknead
Version: 0.4.0
Summary: Fluent conversion between data formats like JSON, XML and CSV
Home-page: https://hay.github.io/dataknead/
License: MIT
Keywords: data,json,csv,datascience,conversion
Author: Hay Kranen
Requires-Python: >=3.6.1,<4.0.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: openpyxl (>=3.0.5,<4.0.0)
Requires-Dist: toml (>=0.10.2,<0.11.0)
Requires-Dist: xmltodict (>=0.12.0,<0.13.0)
Project-URL: Repository, https://github.com/hay/dataknead
Description-Content-Type: text/markdown

# dataknead
**Fluent conversion between data formats like JSON, XML and CSV**

[Read the docs](https://hay.github.io/dataknead/)

Ever sighed when you wrote code to convert CSV to JSON for the thousandth time?

```python
import csv
import json

data = []

with open("cities.csv") as f:
    reader = csv.DictReader(f)

    for row in reader:
        data.append(row)

with open("cities.json", "w") as f:
    json.dump(data, f)
```

Stop sighing and use `dataknead`. Fetch it with `pip`:

```bash
$ pip install dataknead
```

And use it like this:

```python
from dataknead import Knead
Knead("cities.csv").write("cities.json")
```

Or make it even easier on the command line:

```bash
knead cities.csv cities.json
```

`dataknead` has inbuilt loaders for CSV, Excel, JSON, TOML and XML and you can easily write your own.

Piqued your interest? [Read the docs!](https://hay.github.io/dataknead/).
