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.
Project description
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:
curl -LsSf https://astral.sh/uv/install.sh | sh
-
Clone the advanced-yaml repo
git clone git@github.com:jondavid-black/advanced-yaml.git cd advanced-yaml
-
Setup the virtual environment and install dependencies
uv venv source .venv/bin/activate uv pip install -e .[dev]
-
Run tests w/ coverage
uv run pytest
-
Run linter
uv run ruff check .
-
Run formatter
uv run ruff format .
-
Run type checks
uv run pyright
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 advanced_yaml-0.4.11.tar.gz.
File metadata
- Download URL: advanced_yaml-0.4.11.tar.gz
- Upload date:
- Size: 34.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25632cdbc0324e165d2d3f8c7ac66852c6df20754dfe69496737ef0e1a0283e9
|
|
| MD5 |
b8b57d450946fd677b772d2b89824335
|
|
| BLAKE2b-256 |
079681816a15ed8ca1ddf36ee7ee2cfe8a0ac8f5d6eead8062480a959a91ee9e
|
Provenance
The following attestation bundles were made for advanced_yaml-0.4.11.tar.gz:
Publisher:
publish.yml on jondavid-black/advanced-yaml
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
advanced_yaml-0.4.11.tar.gz -
Subject digest:
25632cdbc0324e165d2d3f8c7ac66852c6df20754dfe69496737ef0e1a0283e9 - Sigstore transparency entry: 789573936
- Sigstore integration time:
-
Permalink:
jondavid-black/advanced-yaml@778c2af0d387778b25a81ac56444f681ed158085 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/jondavid-black
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@778c2af0d387778b25a81ac56444f681ed158085 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file advanced_yaml-0.4.11-py3-none-any.whl.
File metadata
- Download URL: advanced_yaml-0.4.11-py3-none-any.whl
- Upload date:
- Size: 39.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a22194ae345476aefee245d581bea8584c2e61070a701c709a2d848e2f0fdb0e
|
|
| MD5 |
43521d881963642656962521c59a8186
|
|
| BLAKE2b-256 |
be19f678b8e5e61b6c467e621b2a25dcb7b49e46c8105ad30a6164ca3473f145
|
Provenance
The following attestation bundles were made for advanced_yaml-0.4.11-py3-none-any.whl:
Publisher:
publish.yml on jondavid-black/advanced-yaml
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
advanced_yaml-0.4.11-py3-none-any.whl -
Subject digest:
a22194ae345476aefee245d581bea8584c2e61070a701c709a2d848e2f0fdb0e - Sigstore transparency entry: 789573937
- Sigstore integration time:
-
Permalink:
jondavid-black/advanced-yaml@778c2af0d387778b25a81ac56444f681ed158085 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/jondavid-black
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@778c2af0d387778b25a81ac56444f681ed158085 -
Trigger Event:
workflow_dispatch
-
Statement type: