Extended functionality for data types
Project description
Extended Data Types
Typed utilities for serialization, repository-aware file workflows, YAML and HCL interoperability, and automation-friendly transformation pipelines.
Supported Python Versions
extended-data-types supports Python 3.10, 3.11, 3.12, 3.13, and
3.14.
Public API Model
extended_data_typesis the backward-compatible root convenience surface.extended_data_types.transformations.numbersandextended_data_types.transformations.stringsexpose the richer namespaced transformation APIs.extended_data_types.yaml_utilsis the documented advanced surface for tagged YAML values and lower-level YAML helpers.
Key Features
- Serialization helpers for YAML, JSON, TOML, HCL, and Base64.
- Repository-aware file helpers for reading, writing, decoding, and path resolution.
- Map, list, and type utilities for normalization and deep composition.
- String and number transformations for case conversion, words, ordinals, and fractions.
- Predictable read/decode/write boundaries for larger automation and agentic systems.
Quick Start
from extended_data_types import decode_file, encode_hcl2, encode_yaml, read_file, write_file
config = {"service": "api", "enabled": True}
write_file("config.yaml", config, tld=".")
yaml_text = read_file("config.yaml", tld=".")
decoded = decode_file(yaml_text, file_path="config.yaml")
terraform = {"locals": [{"region": "us-east-1"}]}
hcl_text = encode_hcl2(terraform)
print(encode_yaml(decoded))
print(hcl_text)
Documentation
- Package docs: extendeddata.dev/core/data-types
- Monorepo docs: extendeddata.dev
- Examples: packages/extended-data-types/examples
Contributing
Contributions are welcome. See the shared contributing docs in docs/development/contributing.md.
Project Links
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 extended_data_types-6.2.0.tar.gz.
File metadata
- Download URL: extended_data_types-6.2.0.tar.gz
- Upload date:
- Size: 60.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76ac08c8fe24881abaffcc3f5d979c14ccbc76f37338a641eb13632f348e69d2
|
|
| MD5 |
6ffbb13b1c4ef8565751b43b312688ad
|
|
| BLAKE2b-256 |
443015c1e0f8eb117ec80561181ca0135ae3232441f5a366a37fd02f0a0a6172
|
File details
Details for the file extended_data_types-6.2.0-py3-none-any.whl.
File metadata
- Download URL: extended_data_types-6.2.0-py3-none-any.whl
- Upload date:
- Size: 63.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
862a6060042727950706348ea45c990ed088f23c01518be5c994531dbebd69a7
|
|
| MD5 |
ac681fb1811dc3b72d60428f6a58da1b
|
|
| BLAKE2b-256 |
7bea0585bf5e48b8cd25fa9587d333ee8ba1b7c6402fb120e9182d45eaeb2a92
|