Skip to main content

A type-enforced framework for serializing and deserializing JSON

Project description

sob

test PyPI version

sob is an object serialization/deserialization library intended to facilitate automated authoring of models for JSON web APIs which are readable and introspective, and to expedite data validation and integration testing.

Installation

You can install sob with pip:

pip3 install sob

Background Information

This library is developed in concert with, and in support of, the oapi library, which facilitates generating client libraries ("SDKs") based on an Open API specification. For very niche use cases, sob remains a separate library, but the development roadmap and all feature requests should be viewed in the context of supporting the definition and validation of data as described by an Open API specification.

When authoring server-side code for your web API, I recommend pydantic. The sob library is designed primarily to support API client data models, and for automated model module creation based on metadata generated either using sob.thesaurus or oapi.

The name "sob" is not a profane acronym (in this case), it is a portmanteau of "serial" and "object". Originally, this library was named "serial", but was renamed with version 1 due to a namespace conflict with pyserial.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

sob-2.0.2.tar.gz (65.0 kB view details)

Uploaded Source

Built Distribution

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

sob-2.0.2-py3-none-any.whl (72.8 kB view details)

Uploaded Python 3

File details

Details for the file sob-2.0.2.tar.gz.

File metadata

  • Download URL: sob-2.0.2.tar.gz
  • Upload date:
  • Size: 65.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for sob-2.0.2.tar.gz
Algorithm Hash digest
SHA256 23edbd5845146514518ee593e93fa12ab3bfd27763425457e9e7f6da7965fe15
MD5 4abedfa039c2b4d379825d64e5b6810d
BLAKE2b-256 40ead277dafcec47f05b0d0230eb77538cafda5ecb2d941c437e6d89371c76ce

See more details on using hashes here.

File details

Details for the file sob-2.0.2-py3-none-any.whl.

File metadata

  • Download URL: sob-2.0.2-py3-none-any.whl
  • Upload date:
  • Size: 72.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for sob-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0ee204205ebb88f24c116905b8d8f3dc2c41b3767b29d50ce78d2fcae2f00ad4
MD5 c91b29561cdf311040e0db71d129ea2f
BLAKE2b-256 cc6de9f202f1eb3c731a44cf15240eeb4cd6527b5fdbab491da32cd9cb570570

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