mashumaro

Fast and well tested serialization library

APACHE-2.0 License

Downloads
18.5M
Stars
726
Committers
13

Bot releases are hidden (Show)

mashumaro -

Published by Fatal1ty over 5 years ago

Features

mashumaro -

Published by Fatal1ty over 5 years ago

First stable version

Other changes

  • Add more tests
  • Refactor some things
mashumaro -

Published by Fatal1ty over 5 years ago

Other changes

  • Remove default_packer in msgpack serialization
  • Fix to_yaml method
  • Add new tests
  • Remove unused code
mashumaro -

Published by Fatal1ty over 5 years ago

Features

  • Add support for empty dataclasses

Other changes

  • Add type annotations for from_dict method
  • Several additions and fixes for README
mashumaro -

Published by Fatal1ty over 5 years ago

Features

  • Add ability to use external json encoder/decoder
mashumaro -

Published by Fatal1ty over 5 years ago

Other changes

mashumaro -

Published by Fatal1ty over 5 years ago

Features

  • Add support for Decimal class instances
  • Add support for Fraction class instances
mashumaro -

Published by Fatal1ty over 5 years ago

Features

  • Add support for user defined classes using SerializableType and SerializationStrategy interfaces located in the new mashumaro.types module
  • Add new RoundedDecimal class for the decimals with specified precision

Other changes

  • Change base class of MissingField from Exception to LookupError
  • Change base class of UnserializableDataError from Exception to TypeError
  • Raise UnserializableDataError exception for weird types of fields
  • Speed to_dict and from_dict methods up to 40% in some cases
Package Rankings
Top 43.41% on Anaconda.org
Top 27.15% on Conda-forge.org
Top 1.8% on Pypi.org
Badges
Extracted from project README
Build Status Coverage Status Latest Version Python Version License
Related Projects