Metadata-Version: 2.4
Name: advanced-yaml
Version: 0.4.7
Summary: A suite of tools to advance your usage of yaml.  YASL provides schema definition and verification.  YAQL let's you query your yalm as if it were a database.  YARL provides analysis and reporting.  And YATL allows you to transform yaml from one structure (schema) to another.
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: astropy>=7.2.0
Requires-Dist: email-validator==2.3.0
Requires-Dist: markdown-it-py==4.0.0
Requires-Dist: pydantic==2.11.7
Requires-Dist: requests==2.32.5
Requires-Dist: ruamel-yaml==0.18.15
Requires-Dist: sqlmodel>=0.0.31
Requires-Dist: typing-extensions==4.15.0
Provides-Extra: dev
Requires-Dist: annotated-types==0.7.0; extra == "dev"
Requires-Dist: behave==1.3.2; extra == "dev"
Requires-Dist: build==1.3.0; extra == "dev"
Requires-Dist: certifi==2025.8.3; extra == "dev"
Requires-Dist: charset-normalizer==3.4.3; extra == "dev"
Requires-Dist: colorama==0.4.6; extra == "dev"
Requires-Dist: coverage==7.10.6; extra == "dev"
Requires-Dist: cucumber-expressions==18.0.1; extra == "dev"
Requires-Dist: cucumber-tag-expressions==6.2.0; extra == "dev"
Requires-Dist: dnspython==2.8.0; extra == "dev"
Requires-Dist: idna==3.10; extra == "dev"
Requires-Dist: iniconfig==2.1.0; extra == "dev"
Requires-Dist: mkdocs==1.6.1; extra == "dev"
Requires-Dist: mkdocs-material==9.6.22; extra == "dev"
Requires-Dist: packaging==25.0; extra == "dev"
Requires-Dist: parse==1.20.2; extra == "dev"
Requires-Dist: parse-type==0.6.6; extra == "dev"
Requires-Dist: pluggy==1.6.0; extra == "dev"
Requires-Dist: pydantic-core==2.33.2; extra == "dev"
Requires-Dist: pygments==2.19.2; extra == "dev"
Requires-Dist: pytest==8.4.1; extra == "dev"
Requires-Dist: pytest-cov==7.0.0; extra == "dev"
Requires-Dist: ruamel-yaml-clib==0.2.12; extra == "dev"
Requires-Dist: ruff==0.13.0; extra == "dev"
Requires-Dist: setuptools>=80.9.0; extra == "dev"
Requires-Dist: six==1.17.0; extra == "dev"
Requires-Dist: toml==0.10.2; extra == "dev"
Requires-Dist: typing-inspection==0.4.1; extra == "dev"
Requires-Dist: urllib3==2.6.0; extra == "dev"
Dynamic: license-file

# Advanced YAML

Advanced YAML is a suite of tools that streamline data management of structured data in YAML.

These tools include:
 - YASL - YAML Advanced Schema Language
 - YAQL - YAML Advanced Query Language
 - YARL - YAML Advanced Reporting Language

## Vision & Inspiration

Teams and organizations often manage a diverse, complex set data as they collaborate to achieve their objectives.
This data is commonly persisted in a database.
When the data evolves rapidly (i.e. has high transaction rates), this makes sense.
But often our data may be considered 'semi-static', changing infrequently over time.
Visibility into and integrity of changes to this 'semi-static' data as it evolves can be valuable.
What changed?
Who made the change?
Was the change valid?
Establishing this visibility within databases can become complex and costly.

The vision of advanced-yaml is to allow for 'semi-static' data to be persisted in structured human and machine readable files that can be validated for correctness and referential integrity.
We see clear examples of this concept in infrastructure-as-code tools.
advanced-yaml seeks to explore that paradigm for data in a highly flexible manner, suitable for a variety of domains.
This would allow teams to leverage robust version control systems to rigorously manage change.
Teams can create automations to ensure data validity and integrity.
And this could be done without compromising the common user experiences teams are accustomed to when working with their data.

advanced-yaml attempts to enable this by providing robust solutions for defining and validating data structure and integrity through schemas in the `yasl` tool.
The `yaql` tool builds upon this by providing a query language and database fascade for your data.
And the `yarl` tool further enhances this by enabling analysis and reporting for your data.
Over time additional tools will be added to support other use cases and streamline development of products that utilize this 'semi-static' data management concept.


## Developer Setup

Advanced YAML is written in python and managed with the `UV` tool.

- Install UV:
    ```bash
    curl -LsSf https://astral.sh/uv/install.sh | sh
    ```
- Clone the advanced-yaml repo
    ```bash
    git clone git@github.com:jondavid-black/advanced-yaml.git
    cd advanced-yaml
    ```

- Setup the virtual environment and install dependencies
    ```bash
    uv venv
    source .venv/bin/activate
    uv pip install -e .[dev]
    ```

- Run tests w/ coverage
    ```bash
    uv run pytest
    ```

- Run linter
    ```bash
    uv run ruff check .
    ```

- Run formatter
    ```bash
    uv run ruff format .
    ```

- Run type checks
    ```bash
    uv run pyright
    ```
