YAtiML
YAML-based file formats can be very handy, as YAML is easy to write by humans, and parsing support for it is widely available. Just read your YAML file into a document structure (a tree of nested dicts and lists), and manipulate that in your code.
As long as that YAML file contains exactly what you expect, that works fine. But if it contains a mistake, then you’re likely to crash the program with a cryptic error message, or worse (especially if the YAML file was loaded from the Internet) it may do something unexpected.
To avoid that, you can validate your YAML using various schema checkers. You write a description of what your YAML file must look like, then feed that to a library which checks the incoming file against the description. That gives you a better error message, but it’s a lot of work.
YAtiML takes a different approach. Instead of a schema, you write a Python class. You probably already know how to do that, so no need to learn anything. YAtiML then generates loading and dumping functions for you, which convert between YAML and Python objects. If needed, you can add some extra code to make the YAML look nicer or implement special features.
YAtiML supports Python 3.6 and later.
If you use YAtiML for scientific work, we ask that you cite it. You can download a citation in various formats at the Research Software Directory.
Documentation and Help
Instructions on how to install and use YAtiML can be found in the YAtiML documentation.
Code of Conduct
Before describing where to ask questions or report bugs, we’d like to point out that this project is governed by a code of conduct, as described in CODE_OF_CONDUCT.rst, and we expect you to adhere to it. Please be nice to your fellow humans.
Questions
If you have a question that the documentation does not answer for you, then you have found a bug in the documentation. We’d love to fix it, but we need a bit of help from you to do so. Please do the following:
use the search functionality to see if someone already filed the same issue;
if your issue search did not yield any relevant results, make a new issue;
apply the “Question” label; apply other labels when relevant.
We’ll answer your question, and improve the documentation where necessary.
Bugs
Like most software, YAtiML is made by humans, and we make mistakes. If you think you’ve found a bug in YAtiML, please let us know! Reporting bugs goes as follows.
Use the search functionality to see if someone already filed the same issue.
If your issue search did not yield any relevant results, make a new issue.
- Please explain:
what you were trying to achieve,
what you did to make that happen,
what you expected the result to be,
what happened instead.
It really helps to have the actual code for a simple example that demonstrates the issue, but excerpts and error messages and a description are welcome too.
Finally, apply any relevant labels to the newly created issue.
With that, we should be able to fix the problem.
License
YAtiML is Copyright 2018-2024, Netherlands eScience Center, University of Amsterdam, and VU University Amsterdam, and copyright 2025-2026 Netherlands eScience Center.
Distributed under the Apache Software License 2.0.
Metadata
Release files for yatiml 0.12.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| yatiml-0.12.0.tar.gz | 48.8 kB | Without provenance | Details for yatiml-0.12.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| yatiml-0.12.0-py3-none-any.whl | Python 3 | none | any | Details for yatiml-0.12.0-py3-none-any.whl |
Total release size: 91.2 kB
Release files / yatiml-0.12.0.tar.gz
| Download URL | yatiml-0.12.0.tar.gz |
|---|---|
| Size | 48.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
30eb62a51b9f60df095ff709a881c576b0c720b6dcd10994dde73872c4a1e1f4
|
|
BLAKE2b-256 checksum How to use checksums |
819534851f9a14b8b3808e4472bacff490a3df8cfadb6472fbef894520619620
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / yatiml-0.12.0-py3-none-any.whl
| Download URL | yatiml-0.12.0-py3-none-any.whl |
|---|---|
| Size | 42.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3b41cc7aa7ab8d122714d390ecddf4f21b6512f159258acf29eb2354c9f0f0af
|
|
BLAKE2b-256 checksum How to use checksums |
3c953d8c46b5d7a4720335d44375e0a12bdb0a0cc0e3c83e2730be0a39e2879b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Security for yatiml 0.12.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.