apischema v0.17 - I've developed the fastest typed JSON (de)serialization library, and you can also build your GraphQL schema with it

This page summarizes the projects mentioned and recommended in the original post on /r/Python

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • apischema

    JSON (de)serialization, GraphQL and JSON schema generation using Python typing.

  • Take a look at the documentation: https://wyfo.github.io/apischema/ (I've put so much of my sleeping hours in it 😅)

  • pydantic

    Data validation using Python type hints

  • You've surely heard about Pydantic, which has contributed a lot to popularize the use Python typing for JSON serialization. I was so enthusiastic when I discovered for the first time, but I also got frustrated pretty quickly. So I've started to work on my own prototype, and things got more and more serious over time (more than 11k lines of code, as much as Pydantic, 1k download/day).

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • mashumaro

    Fast and well tested serialization library

  • This month, I've released version 0.17, and it's now blazing fast; there is in fact no more comparison with Pydantic, which more than 5x slower (up to 30x in serialization). It's also faster than alternatives like mashumaro or cattrs. (See the quick benchmark result in documentation, and the code)

  • cattrs

    Composable custom class converters for attrs.

  • This month, I've released version 0.17, and it's now blazing fast; there is in fact no more comparison with Pydantic, which more than 5x slower (up to 30x in serialization). It's also faster than alternatives like mashumaro or cattrs. (See the quick benchmark result in documentation, and the code)

  • mypy

    Optional static typing for Python

  • Personally, I rely on static typing, and it rarely deceived me. I'm very impatient concerning https://github.com/python/mypy/issues/9773, which will allow finally to fully type apischema functions. Trends are evolving, TypeScript adoption is a good example.

  • anchorpy

    The Python Anchor client.

  • I used this for parsing a JSON IDL and it worked really well https://github.com/kevinheavey/anchorpy/blob/main/src/anchorpy/idl.py

  • squall

  • By the way, while I was looking at the GitHub projects that are using apischema, I've discover https://github.com/mtag-dev/squall, a fork of FastAPI but using apischema among other differences.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts