Skip to main content

Project Logo

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/.

The Lupaxa Project Footer

Release files for lupaxa-data-converter 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lupaxa-data-converter 0.1.1
File Size Uploaded
lupaxa_data_converter-0.1.1.tar.gz 6.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lupaxa-data-converter 0.1.1
File Interpreter ABI Platform
lupaxa_data_converter-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 16.4 kB

Release files / lupaxa_data_converter-0.1.1.tar.gz

Download URL lupaxa_data_converter-0.1.1.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f7aab6fdfa342332fbef3761e590f154bc3944628b8fbcf022c7bae8451db1bb
BLAKE2b-256 checksum
How to use checksums
f03c821189e37fbb0ed0a18a1a1d7d1e4cfac2c5d95e61a29dca1c603a40e7dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.

Transparency log

Release files / lupaxa_data_converter-0.1.1-py3-none-any.whl

Download URL lupaxa_data_converter-0.1.1-py3-none-any.whl
Size 9.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2bd3bc3cac14ec8816ea4139b0b06a6389f127d9b5524155e67618675601a55f
BLAKE2b-256 checksum
How to use checksums
30b16420d7eeac002c8281630c9e1f1e99a29f06182e6277b9922a5ae7d96133
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.2

2 release files

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page