yatiml


Nameyatiml JSON
Version 0.11.0 PyPI version JSON
download
home_pagehttps://github.com/yatiml/yatiml
SummaryReading, checking and writing YAML from Python
upload_time2024-03-16 13:53:08
maintainer
docs_urlNone
authorLourens Veen
requires_python
licenseApache Software License 2.0
keywords yatiml
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            .. image:: https://readthedocs.org/projects/yatiml/badge/?version=latest
    :target: https://yatiml.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Build Status

.. image:: https://github.com/yatiml/yatiml/actions/workflows/ci.yaml/badge.svg
    :target: https://github.com/yatiml/yatiml/actions
    :alt: Build Status

.. image:: https://app.codacy.com/project/badge/Grade/bca7a121d9c742d2905eae08a75676c3
    :target: https://www.codacy.com/gh/yatiml/yatiml/dashboard
    :alt: Codacy Grade

.. image:: https://app.codacy.com/project/badge/Coverage/bca7a121d9c742d2905eae08a75676c3
    :target: https://www.codacy.com/gh/yatiml/yatiml/dashboard
    :alt: Code Coverage

.. image:: https://zenodo.org/badge/147202299.svg
   :target: https://zenodo.org/badge/latestdoi/147202299

.. image:: https://img.shields.io/badge/rsd-yatiml-00a3e3.svg
   :target: https://www.research-software.nl/software/yatiml

.. image:: https://img.shields.io/badge/fair--software.eu-%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8B-yellow
   :target: https://fair-software.eu

################################################################################
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
<https://www.research-software.nl/software/yatiml>`_.

Documentation and Help
**********************

Instructions on how to install and use YAtiML can be found in `the YAtiML
documentation <https://yatiml.readthedocs.io>`_.

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 <https://github.com/yatiml/yatiml/issues>`_
   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

Distributed under the Apache Software License 2.0.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/yatiml/yatiml",
    "name": "yatiml",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "yatiml",
    "author": "Lourens Veen",
    "author_email": "l.veen@esciencecenter.nl",
    "download_url": "https://files.pythonhosted.org/packages/9f/81/b845627796ae12f966e30471a2a0071f3a72e79c86787ba11dfc173d0c85/yatiml-0.11.0.tar.gz",
    "platform": null,
    "description": ".. image:: https://readthedocs.org/projects/yatiml/badge/?version=latest\n    :target: https://yatiml.readthedocs.io/en/latest/?badge=latest\n    :alt: Documentation Build Status\n\n.. image:: https://github.com/yatiml/yatiml/actions/workflows/ci.yaml/badge.svg\n    :target: https://github.com/yatiml/yatiml/actions\n    :alt: Build Status\n\n.. image:: https://app.codacy.com/project/badge/Grade/bca7a121d9c742d2905eae08a75676c3\n    :target: https://www.codacy.com/gh/yatiml/yatiml/dashboard\n    :alt: Codacy Grade\n\n.. image:: https://app.codacy.com/project/badge/Coverage/bca7a121d9c742d2905eae08a75676c3\n    :target: https://www.codacy.com/gh/yatiml/yatiml/dashboard\n    :alt: Code Coverage\n\n.. image:: https://zenodo.org/badge/147202299.svg\n   :target: https://zenodo.org/badge/latestdoi/147202299\n\n.. image:: https://img.shields.io/badge/rsd-yatiml-00a3e3.svg\n   :target: https://www.research-software.nl/software/yatiml\n\n.. image:: https://img.shields.io/badge/fair--software.eu-%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8B-yellow\n   :target: https://fair-software.eu\n\n################################################################################\nYAtiML\n################################################################################\n\nYAML-based file formats can be very handy, as YAML is easy to write by humans,\nand parsing support for it is widely available. Just read your YAML file into a\ndocument structure (a tree of nested dicts and lists), and manipulate that in\nyour code.\n\nAs long as that YAML file contains exactly what you expect, that works fine.\nBut if it contains a mistake, then you're likely to crash the program with a\ncryptic error message, or worse (especially if the YAML file was loaded from the\nInternet) it may do something unexpected.\n\nTo avoid that, you can validate your YAML using various schema checkers. You\nwrite a description of what your YAML file must look like, then feed that to a\nlibrary which checks the incoming file against the description. That gives you a\nbetter error message, but it's a lot of work.\n\nYAtiML takes a different approach. Instead of a schema, you write a Python\nclass. You probably already know how to do that, so no need to learn anything.\nYAtiML then generates loading and dumping functions for you, which convert\nbetween YAML and Python objects. If needed, you can add some extra code to make\nthe YAML look nicer or implement special features.\n\nYAtiML supports Python 3.6 and later.\n\nIf you use YAtiML for scientific work, we ask that you cite it. You can\n`download a citation in various formats at the Research Software Directory\n<https://www.research-software.nl/software/yatiml>`_.\n\nDocumentation and Help\n**********************\n\nInstructions on how to install and use YAtiML can be found in `the YAtiML\ndocumentation <https://yatiml.readthedocs.io>`_.\n\nCode of Conduct\n---------------\n\nBefore describing where to ask questions or report bugs, we'd like to point out\nthat this project is governed by a code of conduct, as described in\nCODE_OF_CONDUCT.rst, and we expect you to adhere to it. Please be nice to your\nfellow humans.\n\nQuestions\n---------\n\nIf you have a question that the documentation does not answer for you, then you\nhave found a bug in the documentation. We'd love to fix it, but we need a bit of\nhelp from you to do so. Please do the following:\n\n#. use the `search functionality <https://github.com/yatiml/yatiml/issues>`_\n   to see if someone already filed the same issue;\n#. if your issue search did not yield any relevant results, make a new issue;\n#. apply the \"Question\" label; apply other labels when relevant.\n\nWe'll answer your question, and improve the documentation where necessary.\n\nBugs\n----\n\nLike most software, YAtiML is made by humans, and we make mistakes. If you think\nyou've found a bug in YAtiML, please let us know! Reporting bugs goes as follows.\n\n#. Use the `search functionality`_ to see if someone already filed the same\n   issue.\n\n#. If your issue search did not yield any relevant results, make a new issue.\n\n   Please explain:\n    - what you were trying to achieve,\n    - what you did to make that happen,\n    - what you expected the result to be,\n    - what happened instead.\n\n  It really helps to have the actual code for a simple example that demonstrates\n  the issue, but excerpts and error messages and a description are welcome too.\n\n#. Finally, apply any relevant labels to the newly created issue.\n\nWith that, we should be able to fix the problem.\n\nLicense\n*******\n\nYAtiML is Copyright 2018-2024, Netherlands eScience Center, University of\nAmsterdam, and VU University Amsterdam\n\nDistributed under the Apache Software License 2.0.\n\n\n",
    "bugtrack_url": null,
    "license": "Apache Software License 2.0",
    "summary": "Reading, checking and writing YAML from Python",
    "version": "0.11.0",
    "project_urls": {
        "Homepage": "https://github.com/yatiml/yatiml"
    },
    "split_keywords": [
        "yatiml"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "341a9c1fb640b4d2a1c52e0de9d1abbb7af3891ea1f82feb3598d26f33d87382",
                "md5": "24622e5a4b6b4dbc401a1d8d7d50a7da",
                "sha256": "c16e423411452c2917a96bf1fb1b53516b61cf693aacfbdb9eb37075bee3868e"
            },
            "downloads": -1,
            "filename": "yatiml-0.11.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "24622e5a4b6b4dbc401a1d8d7d50a7da",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 40352,
            "upload_time": "2024-03-16T13:53:05",
            "upload_time_iso_8601": "2024-03-16T13:53:05.915046Z",
            "url": "https://files.pythonhosted.org/packages/34/1a/9c1fb640b4d2a1c52e0de9d1abbb7af3891ea1f82feb3598d26f33d87382/yatiml-0.11.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9f81b845627796ae12f966e30471a2a0071f3a72e79c86787ba11dfc173d0c85",
                "md5": "5fbbda378633f98f95817739d27d6224",
                "sha256": "4761a9da7f3e95e80eccedd24e64326962c63394c7bd4703a1f3122cebdccc79"
            },
            "downloads": -1,
            "filename": "yatiml-0.11.0.tar.gz",
            "has_sig": false,
            "md5_digest": "5fbbda378633f98f95817739d27d6224",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 45854,
            "upload_time": "2024-03-16T13:53:08",
            "upload_time_iso_8601": "2024-03-16T13:53:08.125209Z",
            "url": "https://files.pythonhosted.org/packages/9f/81/b845627796ae12f966e30471a2a0071f3a72e79c86787ba11dfc173d0c85/yatiml-0.11.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-16 13:53:08",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "yatiml",
    "github_project": "yatiml",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "tox": true,
    "lcname": "yatiml"
}
        
Elapsed time: 0.18776s