The Lupaxa Developers Toolbox
Part of The Lupaxa Project
lupaxa-data-converter
Python library that loads JSON, JSON5, XML, YAML, or TOML into a dictionary, then writes any of those formats.
Built for scripts and tools used by The Lupaxa Project.
The PyPI name is lupaxa-data-converter. The import path is
lupaxa.data_converter. This is a library only — there is no console
script and no python -m entry point.
Features
- Load JSON, JSON5, XML, YAML, TOML, or a dictionary into one
DataConverter - Dump the loaded mapping to any of those formats
- Two passes through a standard dict — no pairwise converters
- Fully typed, linted, formatted, and tested
Installation
From PyPI
pip install lupaxa-data-converter
From source (development mode)
pip install -e ".[dev]"
Requires Python 3.10+. Runtime dependencies: PyYAML, defusedxml,
json5, and tomli-w (tomli on Python 3.10).
lupaxa is a namespace package — there is no lupaxa/__init__.py.
Usage
from lupaxa.data_converter import DataConverter
payload = {"name": "Lupaxa", "formats": ["json", "json5", "xml", "yaml", "toml"]}
converter = DataConverter(payload, data_type="dict")
print(converter.to_json())
print(converter.to_json5())
print(converter.to_xml())
print(converter.to_yaml())
print(converter.to_toml())
Development
Clone the repository and install with Make:
make init # first-time makefile-skills checkout
make python-install-dev # editable install with [dev]
make python-check # lint, type-check, and test
make mkdocs-serve # local docs site
Documentation: https://data-converter.thelupaxaproject.org/.
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 lupaxa_data_converter-0.1.0.tar.gz.
File metadata
- Download URL: lupaxa_data_converter-0.1.0.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0cabd5f26cc4a63246c6c5a588f71b4b35f8d528477e7d839536accbb7548a60
|
|
| MD5 |
d444fc0274e76ba6e0ebffd8c0831bf9
|
|
| BLAKE2b-256 |
36eba5a861d9973b7cfb4a1738eea4e7b84239b8c799d49044495cbd54449acb
|
Provenance
The following attestation bundles were made for lupaxa_data_converter-0.1.0.tar.gz:
Publisher:
generate-release.yml on lupaxa-developers-toolbox/data-converter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lupaxa_data_converter-0.1.0.tar.gz -
Subject digest:
0cabd5f26cc4a63246c6c5a588f71b4b35f8d528477e7d839536accbb7548a60 - Sigstore transparency entry: 2583083651
- Sigstore integration time:
-
Permalink:
lupaxa-developers-toolbox/data-converter@97220b0a1e33310ada256d6b49eadcde68403762 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/lupaxa-developers-toolbox
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
generate-release.yml@97220b0a1e33310ada256d6b49eadcde68403762 -
Trigger Event:
push
-
Statement type:
File details
Details for the file lupaxa_data_converter-0.1.0-py3-none-any.whl.
File metadata
- Download URL: lupaxa_data_converter-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af9c6b51d327e719049304c25c527448dc205f694890ade71491235ddfee4db3
|
|
| MD5 |
487561a38e7f136e64e3065737e908cb
|
|
| BLAKE2b-256 |
c20c5614e1af4ce1400f3fd26fdca96a38ea87c751913f599909429c35005106
|
Provenance
The following attestation bundles were made for lupaxa_data_converter-0.1.0-py3-none-any.whl:
Publisher:
generate-release.yml on lupaxa-developers-toolbox/data-converter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lupaxa_data_converter-0.1.0-py3-none-any.whl -
Subject digest:
af9c6b51d327e719049304c25c527448dc205f694890ade71491235ddfee4db3 - Sigstore transparency entry: 2583083656
- Sigstore integration time:
-
Permalink:
lupaxa-developers-toolbox/data-converter@97220b0a1e33310ada256d6b49eadcde68403762 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/lupaxa-developers-toolbox
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
generate-release.yml@97220b0a1e33310ada256d6b49eadcde68403762 -
Trigger Event:
push
-
Statement type: