Skip to main content

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

Project description

xwformats

Advanced serialization formats for xwsystem. 20+ heavy or specialized formats (schema, scientific, database, binary, text) behind one facade; imports register into the xwsystem codec registry.

Company: eXonware.com · Author: eXonware Backend Team · Email: connect@exonware.com
Version: See version.py or PyPI. · Updated: See version.py (__date__)

Status Python 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

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 and REF_15_API.


What you get

Area What's in it
Core formats from xwsystem Through the xwsystem dependency you get its 20+ built-in formats (JSON, YAML, TOML, XML, CSV, INI, JSON Lines, form data, multipart, MsgPack, BSON, CBOR, Pickle, Marshal, Plist, Sqlite3, Dbm, Shelve, and related archive formats).
Schema Protobuf, Avro, Parquet, Thrift, ORC, Cap'n Proto, FlatBuffers, Arrow.
Scientific HDF5, Feather, Zarr, NetCDF, MAT.
Database LMDB, LevelDB, RocksDB, GraphDB.
Binary BSON, UBJSON, bincode, dill, postcard.
Text XML, RON, TOML, YAML, CSV.
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/. Known issues: docs/_archive/KNOWN_ISSUES.md and REF_22_PROJECT.md.


Docs and tests

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


License and links

MIT — see LICENSE.

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

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.2.tar.gz (99.5 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.2-py3-none-any.whl (71.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: exonware_xwformats-0.9.0.2.tar.gz
  • Upload date:
  • Size: 99.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.18

File hashes

Hashes for exonware_xwformats-0.9.0.2.tar.gz
Algorithm Hash digest
SHA256 97bd8afa79dfa2729e8eaedc90bf2df19229f5e5830bdf145e99370fec842034
MD5 327735cfdcf67a9cd04b7c42f3a2a5a6
BLAKE2b-256 43b17bd578beca15f7d89157940b4b366f72a10c581b023b9d6665adecbd2e06

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for exonware_xwformats-0.9.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 388fb12ff92d7b09def9644db8ecd0a7ea6b170cffe00e538172823d5c39a24b
MD5 ce898febac6b90f10e5af01b3078b44c
BLAKE2b-256 ea2f1f181a8c5698f68c1b7665450586b72a84a8a73c84cdff50641082d2a14f

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