Metadata-Version: 2.4
Name: exonware-xwformats
Version: 0.9.0.18
Summary: Enterprise serialization formats for xwsystem - Parquet, Avro, HDF5, NetCDF, and 14 more heavyweight formats
Project-URL: Homepage, https://exonware.com
Project-URL: Repository, https://github.com/exonware/xwformats
Project-URL: Documentation, https://github.com/exonware/xwformats#readme
Author-email: "Eng. Muhammad AlShehri" <connect@exonware.com>
License: MIT
License-File: LICENSE
Keywords: avro,enterprise,exonware,formats,hdf5,netcdf,parquet,protobuf,scientific,serialization,thrift
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.8
Requires-Dist: exonware-xwsystem>=0.0.1
Provides-Extra: full
Requires-Dist: fastavro>=1.4.0; extra == 'full'
Requires-Dist: flatbuffers>=2.0.0; extra == 'full'
Requires-Dist: h5py>=3.8.0; extra == 'full'
Requires-Dist: lmdb>=1.4.0; extra == 'full'
Requires-Dist: lxml>=4.9.0; extra == 'full'
Requires-Dist: neo4j>=4.4.0; extra == 'full'
Requires-Dist: netcdf4>=1.6.0; extra == 'full'
Requires-Dist: numpy>=1.20.0; extra == 'full'
Requires-Dist: pandas>=1.3.0; extra == 'full'
Requires-Dist: plyvel>=1.5.0; extra == 'full'
Requires-Dist: protobuf>=3.19.0; extra == 'full'
Requires-Dist: py-ubjson>=0.16.0; extra == 'full'
Requires-Dist: pyarrow>=8.0.0; extra == 'full'
Requires-Dist: pycapnp>=1.1.0; extra == 'full'
Requires-Dist: pydgraph>=21.3.0; extra == 'full'
Requires-Dist: pyorc>=0.6.0; extra == 'full'
Requires-Dist: scipy>=1.7.0; extra == 'full'
Requires-Dist: thrift>=0.15.0; extra == 'full'
Requires-Dist: zarr>=2.15.0; extra == 'full'
Provides-Extra: lazy
Requires-Dist: exonware-xwsystem[lazy]>=0.0.1; extra == 'lazy'
Description-Content-Type: text/markdown

# xwformats

**Advanced serialization formats in one package.** Schema (Protobuf, Avro, Parquet, …), scientific (HDF5, Feather, Zarr, …), database (LMDB, LevelDB, …), binary and text. Same API as xwsystem; auto-registers with codec registry on import. Lite / lazy / full install.

**Company:** eXonware.com · **Author:** eXonware Backend Team · **Email:** connect@exonware.com  
**Version:** See [version.py](src/exonware/xwformats/version.py) or PyPI. · **Updated:** See [version.py](src/exonware/xwformats/version.py) (`__date__`)

[![Status](https://img.shields.io/badge/status-beta-blue.svg)](https://exonware.com)
[![Python](https://img.shields.io/badge/python-3.12%2B-blue.svg)](https://www.python.org)
[![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)

---

## Install

| Install | What you get | When to use |
|---------|--------------|-------------|
| `pip install exonware-xwformats` | **Lite** — core + xwsystem only | Minimal footprint; you add formats as needed. |
| `pip install exonware-xwformats[lazy]` | **Lazy** — missing format deps install on first use | Development; optional formats without pre-installing everything. |
| `pip install exonware-xwformats[full]` | **Full** — common format deps pre-installed | Production or CI when you want all formats up front. |

Requires `exonware-xwsystem`. Same package; `[lazy]` and `[full]` are extras.

---

## Quick start

```python
from exonware.xwformats import XWFormats

xf = XWFormats()
print(xf.list_formats())                       # All registered formats
data = xf.convert(json_bytes, "json", "yaml")  # Bidirectional conversion
ser = xf.get_serializer("parquet")
ser.encode(value)
ser.decode(data)
```

Importing xwformats registers its formats with xwsystem; use xwsystem's codec/facade for auto-detection by file extension. See [REF_14_DX](docs/REF_14_DX.md) and [REF_15_API](docs/REF_15_API.md).

---

## What you get

| Area | What's in it |
|------|----------------|
| **Schema** | Protobuf, Avro, Parquet, Thrift, ORC, Cap'n Proto, FlatBuffers, Arrow. |
| **Scientific** | HDF5, Feather, Zarr, NetCDF, MAT. |
| **Database** | LMDB, LevelDB, RocksDB, GraphDB. |
| **Binary / text** | BSON, UBJSON; CSV, YAML, TOML, XML, RON. |
| **Integration** | Same converter/facade as xwsystem; auto-registration with codec registry on import. |

Lite = minimal deps. Lazy = optional format deps install on first use. Full = common optionals pre-installed. Platform notes (e.g. RocksDB on Windows) in [docs/logs/setup/](docs/logs/setup/). Known issues: [docs/_archive/KNOWN_ISSUES.md](docs/_archive/KNOWN_ISSUES.md) and [REF_22_PROJECT.md](docs/REF_22_PROJECT.md#project-status-overview).

---

## Docs and tests

Content in this README is aligned with the project REFs and [docs/GUIDE_01_USAGE.md](docs/GUIDE_01_USAGE.md) (per [GUIDE_63_README](../docs/guides/GUIDE_63_README.md)).

- **Start:** [docs/INDEX.md](docs/INDEX.md) — doc index and quick links.
- **Use it:** [docs/GUIDE_01_USAGE.md](docs/GUIDE_01_USAGE.md) — usage, key code, formats.
- **Requirements and status:** [docs/REF_01_REQ.md](docs/REF_01_REQ.md), [docs/REF_22_PROJECT.md](docs/REF_22_PROJECT.md).
- **API and design:** [docs/REF_15_API.md](docs/REF_15_API.md), [docs/REF_13_ARCH.md](docs/REF_13_ARCH.md), [docs/REF_14_DX.md](docs/REF_14_DX.md).
- **Tests:** See [docs/REF_51_TEST.md](docs/REF_51_TEST.md). Run via `python tests/runner.py` or pytest from project root.

---

## License and links

MIT — see [LICENSE](LICENSE).

- **Homepage:** https://exonware.com  
- **Repository:** https://github.com/exonware/xwformats  
- **Version:** `from exonware.xwformats import __version__` or `import exonware.xwformats; print(exonware.xwformats.__version__)`  

Contributing → CONTRIBUTING.md · Security → SECURITY.md (when present).

*Built with ❤️ by eXonware.com - Revolutionizing Python Development Since 2025*
