Convenience wrapper for exonware-xwformats - provides 'import xwformats' alias
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
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).
- Start: docs/INDEX.md - index and quick links.
- Use: docs/GUIDE_01_USAGE.md - usage and format list.
- Requirements / status: docs/REF_01_REQ.md, docs/REF_22_PROJECT.md.
- API / design: docs/REF_15_API.md, docs/REF_13_ARCH.md, docs/REF_14_DX.md.
- Tests: docs/REF_51_TEST.md. Summaries: docs/logs/tests/. Run:
python tests/runner.pyor pytest from repo root.
License and links
MIT - see LICENSE.
- Homepage: https://exonware.com
- Repository: https://github.com/exonware/xwformats
Contributing: CONTRIBUTING.md · Security: SECURITY.md (when present). Version: 0.9.0.22 | Updated: 30-Mar-2026
Built with ❤️ by eXonware.com - Revolutionizing Python Development Since 2025
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xwformats-0.9.0.22.tar.gz.
File metadata
- Download URL: xwformats-0.9.0.22.tar.gz
- Upload date:
- Size: 58.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7706693eea312ca338f0e8f26bde3be47485cfd9ce70b45e84ebd5f69fc9c34e
|
|
| MD5 |
1ba977bf235697c272e60d25483c54bd
|
|
| BLAKE2b-256 |
2c82e9b93b37ef91cdc066b7bf0fd894c0d1c70f20436d38dec0fbc1b1c02d8a
|
File details
Details for the file xwformats-0.9.0.22-py3-none-any.whl.
File metadata
- Download URL: xwformats-0.9.0.22-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a92bc3e7a6d6fce8c37c5778fc2c377f2705e91e18fefffe101bd3ff1302698
|
|
| MD5 |
7471c36903949bd9269eac69305f119a
|
|
| BLAKE2b-256 |
904ba8d803e72ecc379af84144b89470a5ff41ce0fd7acf45de4609ae2fd2ab6
|