Skip to main content

Extras and utilities for Marshmallow.

Project description

https://img.shields.io/travis/inveniosoftware/marshmallow-utils.svg https://img.shields.io/coveralls/inveniosoftware/marshmallow-utils.svg https://img.shields.io/github/tag/inveniosoftware/marshmallow-utils.svg https://img.shields.io/pypi/dm/marshmallow-utils.svg https://img.shields.io/github/license/inveniosoftware/marshmallow-utils.svg

Extras and utilities for Marshmallow

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

Changes

Version v0.14.1 (released 2026-01-28)

  • fix: variable could not exist

Version v0.14.0 (released 2026-01-27)

  • fix: remove unused code

  • fix(datetime): due to utcnow migration

  • fix: RemovedInMarshmallow4Warning for context

  • fix: change to reusable workflows

  • fix: translations not compiled

Version v0.13.1 (released 2025-10-24)

  • i18n: pulled translations

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

marshmallow_utils-0.14.1.tar.gz (30.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

marshmallow_utils-0.14.1-py2.py3-none-any.whl (56.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file marshmallow_utils-0.14.1.tar.gz.

File metadata

  • Download URL: marshmallow_utils-0.14.1.tar.gz
  • Upload date:
  • Size: 30.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for marshmallow_utils-0.14.1.tar.gz
Algorithm Hash digest
SHA256 5d0ded6acb628f63984e33ebb005ad615120e85515f020dbf44b0fe31cce66a6
MD5 306048308f4412e6f77fac4f79c98ad5
BLAKE2b-256 a7a959a47ed709bb8001193408db1db0405898bfa37951d70da8cb55fe293417

See more details on using hashes here.

File details

Details for the file marshmallow_utils-0.14.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for marshmallow_utils-0.14.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8695b931b1e46b1e6d2e7c9cf76a0d249549bd487e73c1e1ddf0d87112f287d3
MD5 8d71bc9083bd200abfe86c803e48d2d2
BLAKE2b-256 ea1ff93d882f5d5af0bb072d754dc5a08183a19fbae151094800ffddce7f14e1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page