Skip to main content

Enterprise serialization formats for xwsystem - Parquet, Avro, HDF5, NetCDF, and 14 more heavyweight formats

Project description

xwformats

Many serialization formats, one package. Schema (Protobuf, Parquet, Thrift, …), scientific (HDF5, Feather, Zarr, …), database (LMDB, LevelDB, …), plus binary and text. Same converter style as xwsystem; formats register on import. Pick lite, lazy, full, or dev extras to match how you deploy.

Company: eXonware.com · Author: eXonware Backend Team · Email: connect@exonware.com

Status Python License


Install

Install What you get When to use
pip install exonware-xwformats Lite - exonware-xwsystem + exonware-xwlazy Small install; add formats via [full] or lazy hooks.
pip install exonware-xwformats[lazy] Lazy - xwsystem[lazy] + lazy extras Matches lazy-optional stack in docs.
pip install exonware-xwformats[full] Full - common format deps installed up front Production or CI; on Windows, LevelDB/RocksDB wheels may be missing (see docs/REF_54_BENCH.md).
pip install exonware-xwformats[dev] Dev - pytest, black, mypy, … Contributors

Base install always pulls exonware-xwsystem and exonware-xwlazy. [lazy], [dev], and [full] are extras.


Quick start

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 detection by file extension. See REF_14_DX and REF_15_API.


What you get

Area What's in it
Schema Protobuf, Parquet, Thrift, ORC, Cap'n Proto, FlatBuffers, Arrow. Avro is optional (may be off default import on some platforms - see __init__.py and docs/_archive/KNOWN_ISSUES.md).
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; codec registry updated on import.

Lite = few deps. Lazy = optional format wheels on first use. Full = common optionals pre-installed. Platform notes (e.g. RocksDB on Windows): docs/logs/setup/. Known issues: docs/_archive/KNOWN_ISSUES.md and REF_22_PROJECT.md.


Docs and tests

Aligned with project REFs and docs/GUIDE_01_USAGE.md (see GUIDE_63_README in the monorepo).


License and links

MIT - see LICENSE.

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

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

exonware_xwformats-0.9.0.23.tar.gz (58.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

exonware_xwformats-0.9.0.23-py3-none-any.whl (68.7 kB view details)

Uploaded Python 3

File details

Details for the file exonware_xwformats-0.9.0.23.tar.gz.

File metadata

  • Download URL: exonware_xwformats-0.9.0.23.tar.gz
  • Upload date:
  • Size: 58.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for exonware_xwformats-0.9.0.23.tar.gz
Algorithm Hash digest
SHA256 fad61f82f5d1a4aac7ee960ee62f49281a5705996a8d148f375b79ec37fbf495
MD5 e15decebf54844d6d8398d2ac3866548
BLAKE2b-256 b20b51932ed5db134f2cf7c15269e47ee2f3d77ad61c89fb851495ddaab9fe28

See more details on using hashes here.

File details

Details for the file exonware_xwformats-0.9.0.23-py3-none-any.whl.

File metadata

File hashes

Hashes for exonware_xwformats-0.9.0.23-py3-none-any.whl
Algorithm Hash digest
SHA256 6eaa2fdf031b37626f1ab00b28fac9467e082ef8e0bbf73e92063e7cc6876edf
MD5 3eb5e8ae2365a7f39c631600711a4ffe
BLAKE2b-256 820388aecddd3d6ac82d9804b9b4337e346967afe5f256ef195f17f5b30eb395

See more details on using hashes here.

Supported by

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