File: README.md
# json2csv-pro
A professional, feature-rich Python library for converting JSON data to CSV format with advanced capabilities.
## Features
- ✨ Convert JSON to CSV with ease
- 🔄 Handle nested JSON structures automatically
- 📊 Batch conversion support
- ✅ Data validation
- 🎨 Customizable delimiters and formatting
- 📝 Comprehensive documentation
- 🔍 Type hints for better IDE support
- ⚡ High performance
## Installation
```bash
pip install json2csv-pro
Quick Start
from json2csv_pro import JSONConverter
# Create converter instance
converter = JSONConverter()
# Simple conversion
data = [
{"name": "John", "age": 30, "city": "NYC"},
{"name": "Jane", "age": 25, "city": "LA"}
]
converter.convert_to_csv(
data=data,
output_file="output.csv"
)
Advanced Usage
Handling Nested JSON
data = [
{
"name": "John",
"age": 30,
"address": {
"city": "NYC",
"country": "USA"
}
}
]
converter.convert_to_csv(
data=data,
output_file="output.csv",
flatten_nested=True,
delimiter=','
)
Batch Conversion
converter.convert_batch(
input_files=["file1.json", "file2.json", "file3.json"],
output_dir="output/",
flatten_nested=True
)
Preview Before Converting
preview = converter.preview_conversion(
data=data,
rows=5
)
print(preview)
Documentation
Full documentation available at: Read the Docs
Contributing
Contributions are welcome! Please read our Contributing Guide.
License
MIT License - see LICENSE file for details.
Metadata
Release files for arcolabutils 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| arcolabutils-1.0.0.tar.gz | 8.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| arcolabutils-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.0 kB
Release files / arcolabutils-1.0.0.tar.gz
| Download URL | arcolabutils-1.0.0.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3183a4aee65a5ffd79fcacf9438b0d52203564e32a4f53a1d317b1df27efa81b
|
|
BLAKE2b-256 checksum How to use checksums |
a56ed26293753606d02b092997e1ae3b833c383a117b932483a07bf83073e5e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / arcolabutils-1.0.0-py3-none-any.whl
| Download URL | arcolabutils-1.0.0-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e001d9918724e41bb467cb8ec02f143d599ed535b30a9212828f2f4e63cf21ec
|
|
BLAKE2b-256 checksum How to use checksums |
ae221120307fe693570391da01c02c2a6aa8e6026f94df1fa9a5a5980d7c7063
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for arcolabutils 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.