Hyoml - Intelligent Relaxed Data Parser and Formatter
Project description
🐍 Hyoml Python Package
Welcome to the Python core of the Hyoml project — a smart, relaxed parser and formatter for modern data structures.
This package provides the main Hyoml engine, formatters, validators, loaders, and interfaces.
📦 Installation
Clone the repository and install locally:
pip install -e ./python
Or navigate into the python/ folder and install:
cd python
pip install -e .
🚀 Quick Start
Parse Hyoml content with just a few lines:
from python.interface.hyoml import Hyoml
h = Hyoml()
parsed = h.parse("""
name: Alice
age: 30
country: Wonderland
""")
print(parsed)
Format data back into JSON, YAML, or Hyoml:
print(h.format(parsed, format="json"))
print(h.format(parsed, format="yaml"))
🏗 Folder Structure
| Folder | Purpose |
|---|---|
cli/ |
CLI commands and entry points |
cloud_storage/ |
Cloud storage agent loaders |
examples/ |
Example scripts and sample data |
formatters/ |
Output formatters (JSON, YAML, XML, etc.) |
interface/ |
Main Hyoml interface and helpers |
loader/ |
Flexible local and cloud data loaders |
middleware/ |
Tag and directive visitors |
parser/ |
Relaxed parsers for JSON, YAML, Hyoml |
strict_profiles/ |
Profiles for enforcing strict modes |
tests/ |
Unit tests for parsers, formatters, utils |
utils/ |
Common utility functions (validation, formatting) |
🧪 Running Tests
To run all tests:
cd python
pytest tests/
Make sure you have pytest installed:
pip install pytest
🛠 Contributing
- Fork the repository
- Create a feature branch
- Write tests for your changes
- Submit a pull request 🚀
We welcome contributions to parsers, formatters, visitors, and loaders!
📄 License
MIT License — see LICENSE file for details.
Happy Parsing with Hyoml! 🎯
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 hyoml-0.0.2.tar.gz.
File metadata
- Download URL: hyoml-0.0.2.tar.gz
- Upload date:
- Size: 54.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a2d4dafbdaac4f9bd4574e5320b82a1704cd2678a908f26af4c655e7c29ca78
|
|
| MD5 |
8284c7835b5504091a38cc06f784fbad
|
|
| BLAKE2b-256 |
7f959c4513f5ceffe808502e42d1eba53876d4f9e8773d80d88ffdc56f457989
|
File details
Details for the file hyoml-0.0.2-py3-none-any.whl.
File metadata
- Download URL: hyoml-0.0.2-py3-none-any.whl
- Upload date:
- Size: 102.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9226296e987bb0e0326a041bae1e4322c4e117129d0acdc352aa9de9a5357fb4
|
|
| MD5 |
8d99433c056aa53f8b087009fec29d97
|
|
| BLAKE2b-256 |
5b4b36ae4db637e11c6680eec7bd0d35347f0d9134f7d425f03c995653d5dd5b
|