yafowil.yaml


Nameyafowil.yaml JSON
Version 2.0 PyPI version JSON
download
home_pagehttp://github.com/conestack/yafowil.yaml
SummaryYAFOWIL - YAML/JSON-parser for widget trees.
upload_time2022-12-05 12:05:59
maintainer
docs_urlNone
authorYafowil Contributors
requires_python
licenseSimplified BSD
keywords html input widgets form compound
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Write YAFOWIL forms in YAML or JSON notation.

Documentation
=============

Detailed documentation for describing YAFOWIL forms with YAML can be found
`here <http://docs.yafowil.info/en/latest/yaml.html>`_

Source Code
===========

The sources are in a GIT DVCS with its main branches at
`github <http://github.com/conestack/yafowil.yaml>`_.

We'd be happy to see many forks and pull-requests ;).

Contributors
============

- Robert Niederreiter

- Attila Olah

- Jens W. Klein


Changes
=======

2.0 (2022-12-05)
----------------

- Fix parsing of ``builders`` and ``display_renderers`` in custom parts.
  [rnix]

- Fix signature of ``yafowil.yaml.tests.test_vocab``. Property callbacks always
  gets passed ``widget`` and ``data`` as of yafowil 3.0.0.
  [rnix]

- Parse values of attributes (data-Attributes) if type() is dict.
  HTML5 Data-Attributes with i18n or callables are possible now.
  [2silver]

**Breaking changes:**

- Add ``python:`` expressions. Needed for cases where property callbacks not
  accept ``widget`` and ``data`` keyword arguments, e.g. ``datatype``. This is
  necessary because ``callable_value`` function in yafowil 3.0 no longer calls
  callable without arguments as fallback.
  [rnix]


1.3.1 (2020-07-09)
------------------

- Pass ``yaml.SafeLoader`` loader to ``yaml.load`` to prevent arbitrary code
  execution.
  [rnix]

- Cleanup.
  [rnix]


1.3 (2018-07-16)
----------------

- Python 3 compatibility.
  [rnix]

- Convert doctests to unittests.
  [rnix]


1.2 (2014-11-13)
----------------

- Feature: Support definitions written in JSON too. Since YAML and JSON are
  100% comaptible exact the same structure applies.
  [jensens, 2014-11-13]

1.1
---

- Widget definitions in yaml may point to other yaml files for form nesting
  using ``nest`` property.
  [rnix, 2014-07-18]

1.0.5
-----

- Fix test coverage.
  [rnix, jensens, 2014-04-30]

1.0.4
-----

- allow default for i18n messages in format:
  ``i18n:message_id:Default Value``
  [rnix, jensens, 2014-02-14]

1.0.3
-----

- test coverage, documentation
  [rnix, jensens]

1.0.2
-----

- accidentially set zip_safe=True which is not. Set to Fasle now.
  [jensens, 2012-03-19]

1.0.1
-----

- Adopt test for ``select`` blueprint change.
  [rnix, 2011-12-18]

- Fix automatic name setting for recursive compounds.
  [rnix, 2011-09-30]

1.0
---

- Adopt to yafowil 1.1.
  [rnix, 2011-07-07]

- Extend ``parse_from_YAML`` resolving package path instead of excepting.
  absolute or relative file path
  [rnix, 2011-07-07]

0.9.1
-----

- Add i18n support.
  [rnix, 2011-06-04]

- Fix bug where expression evaluation was not reached.
  [rnix, 2011-06-04]

- Adopt tests for form novalidate property.
  [rnix, 2011-05-23]

0.9
---

- Make it work.
  [aatis, rnix]


License
=======

Copyright (c) 2010-2021, BlueDynamics Alliance, Austria, Germany, Switzerland
Copyright (c) 2021-2022, Yafowil Contributors
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
  list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice, this
  list of conditions and the following disclaimer in the documentation and/or
  other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.



            

Raw data

            {
    "_id": null,
    "home_page": "http://github.com/conestack/yafowil.yaml",
    "name": "yafowil.yaml",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "html input widgets form compound",
    "author": "Yafowil Contributors",
    "author_email": "dev@conestack.org",
    "download_url": "https://files.pythonhosted.org/packages/24/39/dff47f5dde07bc7cd4880f71f64f496991b59ba7c572c06827a0bedb89f6/yafowil.yaml-2.0.tar.gz",
    "platform": null,
    "description": "Write YAFOWIL forms in YAML or JSON notation.\n\nDocumentation\n=============\n\nDetailed documentation for describing YAFOWIL forms with YAML can be found\n`here <http://docs.yafowil.info/en/latest/yaml.html>`_\n\nSource Code\n===========\n\nThe sources are in a GIT DVCS with its main branches at\n`github <http://github.com/conestack/yafowil.yaml>`_.\n\nWe'd be happy to see many forks and pull-requests ;).\n\nContributors\n============\n\n- Robert Niederreiter\n\n- Attila Olah\n\n- Jens W. Klein\n\n\nChanges\n=======\n\n2.0 (2022-12-05)\n----------------\n\n- Fix parsing of ``builders`` and ``display_renderers`` in custom parts.\n  [rnix]\n\n- Fix signature of ``yafowil.yaml.tests.test_vocab``. Property callbacks always\n  gets passed ``widget`` and ``data`` as of yafowil 3.0.0.\n  [rnix]\n\n- Parse values of attributes (data-Attributes) if type() is dict.\n  HTML5 Data-Attributes with i18n or callables are possible now.\n  [2silver]\n\n**Breaking changes:**\n\n- Add ``python:`` expressions. Needed for cases where property callbacks not\n  accept ``widget`` and ``data`` keyword arguments, e.g. ``datatype``. This is\n  necessary because ``callable_value`` function in yafowil 3.0 no longer calls\n  callable without arguments as fallback.\n  [rnix]\n\n\n1.3.1 (2020-07-09)\n------------------\n\n- Pass ``yaml.SafeLoader`` loader to ``yaml.load`` to prevent arbitrary code\n  execution.\n  [rnix]\n\n- Cleanup.\n  [rnix]\n\n\n1.3 (2018-07-16)\n----------------\n\n- Python 3 compatibility.\n  [rnix]\n\n- Convert doctests to unittests.\n  [rnix]\n\n\n1.2 (2014-11-13)\n----------------\n\n- Feature: Support definitions written in JSON too. Since YAML and JSON are\n  100% comaptible exact the same structure applies.\n  [jensens, 2014-11-13]\n\n1.1\n---\n\n- Widget definitions in yaml may point to other yaml files for form nesting\n  using ``nest`` property.\n  [rnix, 2014-07-18]\n\n1.0.5\n-----\n\n- Fix test coverage.\n  [rnix, jensens, 2014-04-30]\n\n1.0.4\n-----\n\n- allow default for i18n messages in format:\n  ``i18n:message_id:Default Value``\n  [rnix, jensens, 2014-02-14]\n\n1.0.3\n-----\n\n- test coverage, documentation\n  [rnix, jensens]\n\n1.0.2\n-----\n\n- accidentially set zip_safe=True which is not. Set to Fasle now.\n  [jensens, 2012-03-19]\n\n1.0.1\n-----\n\n- Adopt test for ``select`` blueprint change.\n  [rnix, 2011-12-18]\n\n- Fix automatic name setting for recursive compounds.\n  [rnix, 2011-09-30]\n\n1.0\n---\n\n- Adopt to yafowil 1.1.\n  [rnix, 2011-07-07]\n\n- Extend ``parse_from_YAML`` resolving package path instead of excepting.\n  absolute or relative file path\n  [rnix, 2011-07-07]\n\n0.9.1\n-----\n\n- Add i18n support.\n  [rnix, 2011-06-04]\n\n- Fix bug where expression evaluation was not reached.\n  [rnix, 2011-06-04]\n\n- Adopt tests for form novalidate property.\n  [rnix, 2011-05-23]\n\n0.9\n---\n\n- Make it work.\n  [aatis, rnix]\n\n\nLicense\n=======\n\nCopyright (c) 2010-2021, BlueDynamics Alliance, Austria, Germany, Switzerland\nCopyright (c) 2021-2022, Yafowil Contributors\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice, this\n  list of conditions and the following disclaimer in the documentation and/or\n  other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\nON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n\n",
    "bugtrack_url": null,
    "license": "Simplified BSD",
    "summary": "YAFOWIL - YAML/JSON-parser for widget trees.",
    "version": "2.0",
    "split_keywords": [
        "html",
        "input",
        "widgets",
        "form",
        "compound"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "a7ed8dca5d9401981f9c3fd2a8c5964f",
                "sha256": "83d754fb7e32e0eac7faf3a124774a88c7ddd645b81626730296affffeeee5b5"
            },
            "downloads": -1,
            "filename": "yafowil.yaml-2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a7ed8dca5d9401981f9c3fd2a8c5964f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 14409,
            "upload_time": "2022-12-05T12:05:56",
            "upload_time_iso_8601": "2022-12-05T12:05:56.647422Z",
            "url": "https://files.pythonhosted.org/packages/91/44/4fa060cbdd93f98924761d44dc9f14d5f04d6bda618e13bd0e7630411eb2/yafowil.yaml-2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "8397e1df176baea9d70179c2d213d949",
                "sha256": "6b5e15be395a6fb9e38674d20faae765ae18acc57b69e316eeaa180cef6d0a34"
            },
            "downloads": -1,
            "filename": "yafowil.yaml-2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "8397e1df176baea9d70179c2d213d949",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 14838,
            "upload_time": "2022-12-05T12:05:59",
            "upload_time_iso_8601": "2022-12-05T12:05:59.219643Z",
            "url": "https://files.pythonhosted.org/packages/24/39/dff47f5dde07bc7cd4880f71f64f496991b59ba7c572c06827a0bedb89f6/yafowil.yaml-2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-05 12:05:59",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "conestack",
    "github_project": "yafowil.yaml",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "yafowil.yaml"
}
        
Elapsed time: 0.04379s