marshmallow-utils


Namemarshmallow-utils JSON
Version 0.13.0 PyPI version JSON
download
home_pagehttps://github.com/inveniosoftware/marshmallow-utils
SummaryExtras and utilities for Marshmallow.
upload_time2025-07-17 20:34:24
maintainerNone
docs_urlNone
authorCERN
requires_python>=3.7
licenseMIT
keywords invenio search ui
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ..
    Copyright (C) 2020 CERN.

    Marshmallow-Utils is free software; you can redistribute it and/or
    modify it under the terms of the MIT License; see LICENSE file for more
    details.

===================
 Marshmallow-Utils
===================

.. image:: https://img.shields.io/travis/inveniosoftware/marshmallow-utils.svg
        :target: https://travis-ci.org/inveniosoftware/marshmallow-utils

.. image:: https://img.shields.io/coveralls/inveniosoftware/marshmallow-utils.svg
        :target: https://coveralls.io/r/inveniosoftware/marshmallow-utils

.. image:: https://img.shields.io/github/tag/inveniosoftware/marshmallow-utils.svg
        :target: https://github.com/inveniosoftware/marshmallow-utils/releases

.. image:: https://img.shields.io/pypi/dm/marshmallow-utils.svg
        :target: https://pypi.python.org/pypi/marshmallow-utils

.. image:: https://img.shields.io/github/license/inveniosoftware/marshmallow-utils.svg
        :target: https://github.com/inveniosoftware/marshmallow-utils/blob/master/LICENSE

Extras and utilities for Marshmallow

Further documentation is available on
https://marshmallow-utils.readthedocs.io/

..
    Copyright (C) 2020-2025 CERN.
    Copyright (C) 2020-2021 Northwestern University.
    Copyright (C) 2024-2025 Graz University of Technology.

    Marshmallow-Utils is free software; you can redistribute it and/or
    modify it under the terms of the MIT License; see LICENSE file for more
    details.

Changes
=======

Version v0.13.0 (released 2025-07-17)

- i18n: pulled translations

Version v0.12.1 (released 2025-07-01)

- fix: missing locale

Version v0.12.0 (released 2025-04-24)

- fields: add level2 date string

Version v0.11.1 (released 2025-04-03)

- Various fixes for safely publishing RST for package long description.
- ci: use reusable PyPI publish workflow

Version v0.11.0 (released 2025-04-03)

- html: add all safe attributes from OWASP
- html: updated allowed tags and styles

Version 0.10.0 (released 2024-11-11)

- add IdentifierValueSet to require scheme and value to be unique

Version v0.9.3 (released 2024-11-05)

- setup: upgrade babel-edtf to 1.2.0 and edtf to 5.0.0 and fix bug with dates and times with hour 23

Version v0.9.2 (released 2024-08-28)

- babel: better handling for missing locales in catalog (#88)

Version 0.9.1 (released 2024-06-24)

- fix: translation should fallback to en translation

Version 0.9.0 (released 2024-05-22)

- validators: implement LazyOneOf

Version 0.8.2 (released 2023-12-11)

- html: remove "class" from allowed html attributes

Version 0.8.1 (released 2023-11-29)

- html: allow table tags
- edtf: split date and datetime fields

Version 0.8.0 (released 2023-10-25)

- edtf: allow datetime value

Version 0.7.1 (released 2023-10-25)

- fields: Add custom URL field with custom validator allowing ``_`` in url domains

Version 0.6.1 (released 2023-10-19)

- chore: import parse from babel-edtf

Version 0.6.0 (released 2023-10-11)

- permission filters: add caching to improve performance

Version 0.5.8 (released 2022-11-18)

- Add translations
- Add translations workflow

Version 0.5.7 (released 2022-07-29)

- Add validation message for unrecognised identifier schema

Version 0.5.6 (released 2022-05-13)

- Move from setup.py to setup.cfg for purely declarative package definitions.
- Fix bug with empty locale on babel gettext_from_dict.

Version 0.5.5 (released 2022-03-01)

- Updated German translations.

Version 0.5.4 (released 2022-01-28)

- i18n: integrate translation flow
- fields: gettext_from_dict fallback lng to en.
- dep: bumped sphinx 4.2.0

Version 0.5.3 (released 2021-08-03)

- Fix bug in IdentifierSchema when identifier was not required.

Version 0.5.2 (released 2021-08-02)

- Add group of errors for proper handling of lists.

Version 0.5.0 (released 2021-07-08)

- Refactored to make it easier to use sanitization functions outside of
  Marshmallow fields.

Version 0.4.0 (released 2021-04-16)

- Change IdentifierScheme API to allow schemas unknown by IDUtils.

Version 0.3.10 (released 2021-04-12)

- Fix TZDateTime field serialization of None values.

Version 0.3.9 (released 2021-04-12)

- Adds TZDateTime field.

Version 0.3.7 (released 2021-03-05)

- Fix issue in SanitizedHTML to allow passing empty lists to remove all tags.

Version 0.3.6 (released 2021-03-04)

- Serializes None ISODates by removing them.

Version 0.3.5 (released 2021-01-25)

- Adds BabelGettextDictField for dumping translation strings from dicts.

Version 0.3.4 (released 2021-01-24)

- Makes Link field a bit easier to use by allowing a string to be passed
  in addition to an URITemplate.

Version 0.3.3 (released 2021-01-20)

- Adds support for automatic scheme detection on identifiers.
- Adds support for identifier sets.

Version 0.3.2 (released 2020-11-10)

- Adds support for GeoJSON geometry object validation.

Version 0.3.1 (released 2020-11-08)

- Adds support for localization of date, time, datetime, EDTF with string
  parsing support.

Version 0.3.0 (released 2020-11-06)

- Adds support for proper localization of EDTF dates.
- Refactored EDTFDateString field.

Version 0.1.5 (released 2020-09-24)

- Fix to expand querystring params correctly

Version 0.1.4 (released 2020-09-17)

- Adds LinksSchema similar to LinksField

Version 0.1.3 (released 2020-09-16)

- Moved additional utilities into the library.

Version 0.1.2 (released 2020-09-16)

- Ported GenFunction and GenMethod

Version 0.1.1 (released 2020-09-11)

- Minor fix to allow a lower ftfy package version than the latest.

Version 0.1.0 (released 2020-09-11)

- Initial public release.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/inveniosoftware/marshmallow-utils",
    "name": "marshmallow-utils",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "invenio search ui",
    "author": "CERN",
    "author_email": "info@inveniosoftware.org",
    "download_url": "https://files.pythonhosted.org/packages/0a/6a/a6b956c8e6236d9e5403b92fcd92732ad9f70605a52d66c67b209a67f39c/marshmallow_utils-0.13.0.tar.gz",
    "platform": "any",
    "description": "..\n    Copyright (C) 2020 CERN.\n\n    Marshmallow-Utils is free software; you can redistribute it and/or\n    modify it under the terms of the MIT License; see LICENSE file for more\n    details.\n\n===================\n Marshmallow-Utils\n===================\n\n.. image:: https://img.shields.io/travis/inveniosoftware/marshmallow-utils.svg\n        :target: https://travis-ci.org/inveniosoftware/marshmallow-utils\n\n.. image:: https://img.shields.io/coveralls/inveniosoftware/marshmallow-utils.svg\n        :target: https://coveralls.io/r/inveniosoftware/marshmallow-utils\n\n.. image:: https://img.shields.io/github/tag/inveniosoftware/marshmallow-utils.svg\n        :target: https://github.com/inveniosoftware/marshmallow-utils/releases\n\n.. image:: https://img.shields.io/pypi/dm/marshmallow-utils.svg\n        :target: https://pypi.python.org/pypi/marshmallow-utils\n\n.. image:: https://img.shields.io/github/license/inveniosoftware/marshmallow-utils.svg\n        :target: https://github.com/inveniosoftware/marshmallow-utils/blob/master/LICENSE\n\nExtras and utilities for Marshmallow\n\nFurther documentation is available on\nhttps://marshmallow-utils.readthedocs.io/\n\n..\n    Copyright (C) 2020-2025 CERN.\n    Copyright (C) 2020-2021 Northwestern University.\n    Copyright (C) 2024-2025 Graz University of Technology.\n\n    Marshmallow-Utils is free software; you can redistribute it and/or\n    modify it under the terms of the MIT License; see LICENSE file for more\n    details.\n\nChanges\n=======\n\nVersion v0.13.0 (released 2025-07-17)\n\n- i18n: pulled translations\n\nVersion v0.12.1 (released 2025-07-01)\n\n- fix: missing locale\n\nVersion v0.12.0 (released 2025-04-24)\n\n- fields: add level2 date string\n\nVersion v0.11.1 (released 2025-04-03)\n\n- Various fixes for safely publishing RST for package long description.\n- ci: use reusable PyPI publish workflow\n\nVersion v0.11.0 (released 2025-04-03)\n\n- html: add all safe attributes from OWASP\n- html: updated allowed tags and styles\n\nVersion 0.10.0 (released 2024-11-11)\n\n- add IdentifierValueSet to require scheme and value to be unique\n\nVersion v0.9.3 (released 2024-11-05)\n\n- setup: upgrade babel-edtf to 1.2.0 and edtf to 5.0.0 and fix bug with dates and times with hour 23\n\nVersion v0.9.2 (released 2024-08-28)\n\n- babel: better handling for missing locales in catalog (#88)\n\nVersion 0.9.1 (released 2024-06-24)\n\n- fix: translation should fallback to en translation\n\nVersion 0.9.0 (released 2024-05-22)\n\n- validators: implement LazyOneOf\n\nVersion 0.8.2 (released 2023-12-11)\n\n- html: remove \"class\" from allowed html attributes\n\nVersion 0.8.1 (released 2023-11-29)\n\n- html: allow table tags\n- edtf: split date and datetime fields\n\nVersion 0.8.0 (released 2023-10-25)\n\n- edtf: allow datetime value\n\nVersion 0.7.1 (released 2023-10-25)\n\n- fields: Add custom URL field with custom validator allowing ``_`` in url domains\n\nVersion 0.6.1 (released 2023-10-19)\n\n- chore: import parse from babel-edtf\n\nVersion 0.6.0 (released 2023-10-11)\n\n- permission filters: add caching to improve performance\n\nVersion 0.5.8 (released 2022-11-18)\n\n- Add translations\n- Add translations workflow\n\nVersion 0.5.7 (released 2022-07-29)\n\n- Add validation message for unrecognised identifier schema\n\nVersion 0.5.6 (released 2022-05-13)\n\n- Move from setup.py to setup.cfg for purely declarative package definitions.\n- Fix bug with empty locale on babel gettext_from_dict.\n\nVersion 0.5.5 (released 2022-03-01)\n\n- Updated German translations.\n\nVersion 0.5.4 (released 2022-01-28)\n\n- i18n: integrate translation flow\n- fields: gettext_from_dict fallback lng to en.\n- dep: bumped sphinx 4.2.0\n\nVersion 0.5.3 (released 2021-08-03)\n\n- Fix bug in IdentifierSchema when identifier was not required.\n\nVersion 0.5.2 (released 2021-08-02)\n\n- Add group of errors for proper handling of lists.\n\nVersion 0.5.0 (released 2021-07-08)\n\n- Refactored to make it easier to use sanitization functions outside of\n  Marshmallow fields.\n\nVersion 0.4.0 (released 2021-04-16)\n\n- Change IdentifierScheme API to allow schemas unknown by IDUtils.\n\nVersion 0.3.10 (released 2021-04-12)\n\n- Fix TZDateTime field serialization of None values.\n\nVersion 0.3.9 (released 2021-04-12)\n\n- Adds TZDateTime field.\n\nVersion 0.3.7 (released 2021-03-05)\n\n- Fix issue in SanitizedHTML to allow passing empty lists to remove all tags.\n\nVersion 0.3.6 (released 2021-03-04)\n\n- Serializes None ISODates by removing them.\n\nVersion 0.3.5 (released 2021-01-25)\n\n- Adds BabelGettextDictField for dumping translation strings from dicts.\n\nVersion 0.3.4 (released 2021-01-24)\n\n- Makes Link field a bit easier to use by allowing a string to be passed\n  in addition to an URITemplate.\n\nVersion 0.3.3 (released 2021-01-20)\n\n- Adds support for automatic scheme detection on identifiers.\n- Adds support for identifier sets.\n\nVersion 0.3.2 (released 2020-11-10)\n\n- Adds support for GeoJSON geometry object validation.\n\nVersion 0.3.1 (released 2020-11-08)\n\n- Adds support for localization of date, time, datetime, EDTF with string\n  parsing support.\n\nVersion 0.3.0 (released 2020-11-06)\n\n- Adds support for proper localization of EDTF dates.\n- Refactored EDTFDateString field.\n\nVersion 0.1.5 (released 2020-09-24)\n\n- Fix to expand querystring params correctly\n\nVersion 0.1.4 (released 2020-09-17)\n\n- Adds LinksSchema similar to LinksField\n\nVersion 0.1.3 (released 2020-09-16)\n\n- Moved additional utilities into the library.\n\nVersion 0.1.2 (released 2020-09-16)\n\n- Ported GenFunction and GenMethod\n\nVersion 0.1.1 (released 2020-09-11)\n\n- Minor fix to allow a lower ftfy package version than the latest.\n\nVersion 0.1.0 (released 2020-09-11)\n\n- Initial public release.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Extras and utilities for Marshmallow.",
    "version": "0.13.0",
    "project_urls": {
        "Homepage": "https://github.com/inveniosoftware/marshmallow-utils"
    },
    "split_keywords": [
        "invenio",
        "search",
        "ui"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "28ca07d8290616f11b2a7391ea091df94473de52ee44ed05a20817803a2ffc69",
                "md5": "5c7c02a171c721673ee3e62a68afcaae",
                "sha256": "9f1ba2b8852864bd537685ea51898f84332dde9ba79bcdd9816315210a3d0c81"
            },
            "downloads": -1,
            "filename": "marshmallow_utils-0.13.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5c7c02a171c721673ee3e62a68afcaae",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.7",
            "size": 54487,
            "upload_time": "2025-07-17T20:34:23",
            "upload_time_iso_8601": "2025-07-17T20:34:23.338401Z",
            "url": "https://files.pythonhosted.org/packages/28/ca/07d8290616f11b2a7391ea091df94473de52ee44ed05a20817803a2ffc69/marshmallow_utils-0.13.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "0a6aa6b956c8e6236d9e5403b92fcd92732ad9f70605a52d66c67b209a67f39c",
                "md5": "af8385bc7f41e748f7cad3735f1a3fde",
                "sha256": "1f1c7945dc5b903281409b84b9327436014eea0783f00b8180a22359b66c84e5"
            },
            "downloads": -1,
            "filename": "marshmallow_utils-0.13.0.tar.gz",
            "has_sig": false,
            "md5_digest": "af8385bc7f41e748f7cad3735f1a3fde",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 29617,
            "upload_time": "2025-07-17T20:34:24",
            "upload_time_iso_8601": "2025-07-17T20:34:24.764474Z",
            "url": "https://files.pythonhosted.org/packages/0a/6a/a6b956c8e6236d9e5403b92fcd92732ad9f70605a52d66c67b209a67f39c/marshmallow_utils-0.13.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-17 20:34:24",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "inveniosoftware",
    "github_project": "marshmallow-utils",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "marshmallow-utils"
}
        
Elapsed time: 1.44321s