A universal data format converter for TOON, JSON, YAML, and XML
Project description
Uniformat — Universal Format Converter
Uniformat automatically detects and converts between JSON, YAML, XML, and TOON formats.
Install
pip install uniformat
Usage
from uniformat import UniformatConverter, DataFormat
json_data = '{"name": "Sumeet"}'
yaml_data = UniformatConverter.convert(json_data, DataFormat.YAML)
print(yaml_data)
CLI usage:
uniformat input.json output.yaml --to yaml
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
uniformat-0.1.0.tar.gz
(4.1 kB
view details)
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 uniformat-0.1.0.tar.gz.
File metadata
- Download URL: uniformat-0.1.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
70307e78a059a5105136908a55a89a3d18018e54a24d7f4bd7867453c0130c83
|
|
| MD5 |
08b26e3fba461a175ca4560624f7965c
|
|
| BLAKE2b-256 |
5d593d187d126c8866739a5a4176a76717ec5c02bb3729f8a1ad530713f2f258
|
File details
Details for the file uniformat-0.1.0-py3-none-any.whl.
File metadata
- Download URL: uniformat-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a74ce49285e04fa8d98b1c47fd5482d39176e6331d6c1b1cc6efba84059f4690
|
|
| MD5 |
ebf1f9161150478d4ea08cebe3f99489
|
|
| BLAKE2b-256 |
fee7d5097a8e27fa6b6fe98f57297598ede055f49304d5b703771962d63c4828
|