Skip to main content

Hyoml - Intelligent Relaxed Data Parser and Formatter

Project description

🐍 Hyoml Python Package

Python License Tests

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hyoml-0.0.2.tar.gz (54.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hyoml-0.0.2-py3-none-any.whl (102.2 kB view details)

Uploaded Python 3

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

Hashes for hyoml-0.0.2.tar.gz
Algorithm Hash digest
SHA256 2a2d4dafbdaac4f9bd4574e5320b82a1704cd2678a908f26af4c655e7c29ca78
MD5 8284c7835b5504091a38cc06f784fbad
BLAKE2b-256 7f959c4513f5ceffe808502e42d1eba53876d4f9e8773d80d88ffdc56f457989

See more details on using hashes here.

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

Hashes for hyoml-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9226296e987bb0e0326a041bae1e4322c4e117129d0acdc352aa9de9a5357fb4
MD5 8d99433c056aa53f8b087009fec29d97
BLAKE2b-256 5b4b36ae4db637e11c6680eec7bd0d35347f0d9134f7d425f03c995653d5dd5b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page