PackageTrack
Sign in Get early access

pythonize

Serde Serializer & Deserializer from Rust <--> Python, backed by PyO3.

0.29.0 13M downloads/mo #2666 most downloaded on crates.io davidhewitt/pythonize

What this package is like to depend on

Last release 2 months ago

12 Jun 2026

Ships on a steady schedule

a new release about every 4 months

Nearly every release is documented

notes for 21 of 21 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

21 releases · first in 2020

4 releases in the last 12 months

see the full history below

Release timeline

21 releases · Aug 2020 to Jun 2026
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 21
  1. 0.29.0 12 Jun 2026
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v0.28.0...v0.29.0

    Open source →
    Release notes
    • Update pyo3 to 0.29.
    • Support serializing i128 and u128.
    Open source →
  2. 0.28.0 18 Feb 2026
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v0.27.0...v0.28.0

    Open source →
    Release notes
    • Bump MSRV to 1.83.
    • Update pyo3 to 0.28.
    • Support deserializing dataclass instances to struct-like Rust types.
    • Add arbitrary_precision feature
    Open source →
  3. 0.27.0 07 Nov 2025
    Release notes

    What's Changed

    New Contributors

    • @tuxu made their first contribution in #96

    Full Changelog: v0.26.0...v0.27.0

    Open source →
    Release notes
    • Update to PyO3 0.27
    Open source →
  4. 0.26.0 30 Aug 2025
    Release notes

    What's Changed

    Full Changelog: v0.25.0...v0.26.0

    Open source →
    Release notes

    Packaging

    • Bump MSRV to 1.74
    • Update to PyO3 0.26

    Changed

    • PythonizeTypes, PythonizeMappingType and PythonizeNamedMappingType no longer have a lifetime on the trait, instead the Builder type is a GAT.
    Open source →
  5. 0.25.0 23 May 2025
    Release notes

    Packaging

    • Update to PyO3 0.25
    Open source →
  6. 0.24.0 26 Mar 2025
    Release notes

    Packaging

    • Update to PyO3 0.24
    Open source →
  7. 0.23.0 22 Nov 2024
    Release notes

    Packaging

    • Update to PyO3 0.23
    Open source →
  8. 0.22.0 10 Aug 2024
    Release notes

    Packaging

    • Bump MSRV to 1.63
    • Update to PyO3 0.22

    Added

    • Support u128 / i128 integers.
    • Implement PythonizeListType for PyTuple
    • Support deserializing enums from any PyMapping instead of just PyDict
    • Support serializing struct-like types to named mappings using PythonizeTypes::NamedMap

    Changed

    • pythonize() now returns Bound<'py, PyAny> instead of Py<PyAny>
    • depythonize() now take &'a Bound and is no longer deprecated
    • depythonize_bound() is now deprecated
    • Depythonizer::from_object() now takes &'a Bound and is no longer deprecated
    • Depythonizer now contains &'a Bound and so has an extra lifetime 'a

    Removed

    • Remove support for PyO3's gil-refs feature

    Fixed

    • Fix overflow error attempting to depythonize u64 values greater than i64::MAX to types like serde_json::Value
    • Fix deserializing set and frozenset into Rust homogeneous containers
    Open source →
  9. 0.21.1 02 Apr 2024
    Release notes
    • Fix compile error when using PyO3 abi3 feature targeting a minimum version below 3.10
    Open source →
  10. 0.21.0 01 Apr 2024
    Release notes
    • Bump edition to 2021
    • Bump MSRV to 1.56
    • Update to PyO3 0.21
    • Export PythonizeDefault
    Open source →
  11. 0.20.0 15 Oct 2023
    Release notes
    • Update to PyO3 0.20
    Open source →
  12. 0.19.0 11 Jun 2023
    Release notes
    • Update to PyO3 0.19
    Open source →
  13. 0.18.0 22 Jan 2023
    Release notes
    • Add LICENSE file to the crate
    • Update to PyO3 0.18
    Open source →
  14. 0.17.0 24 Aug 2022
    Release notes
    • Update to PyO3 0.17
    Open source →
  15. 0.16.0 06 Mar 2022
    Release notes
    • Update to PyO3 0.16
    Open source →
  16. 0.15.0 12 Nov 2021
    Release notes
    • Update to PyO3 0.15
    • Add pythonize_custom for customizing the Python types to serialize to.
    • Add support for depythonize to handle arbitrary Python sequence and mapping types.
    Open source →
  17. 0.14.0 05 Jul 2021
    Release notes
    • Update to PyO3 0.14
    Open source →
  18. 0.13.0 28 Dec 2020
    Release notes
    • Update to PyO3 0.13
    Open source →
  19. 0.12.1 08 Dec 2020
    Release notes
    • Require std feature of serde.
    • Reduce memory consumption when deserializing sequences.
    • Fix deserializing untagged struct enum variants.
    • Fix deserializing sequences from Python tuples.
    Open source →
  20. 0.12.0 22 Nov 2020
    Release notes
    • Change release versioning to match pyo3 major/minor version.
    • Implement depythonizer
    Open source →
  21. 0.1.0 12 Aug 2020
    Release notes
    • Initial release
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive