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

This version

2.1.3

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.1.3.tar.gz (65.6 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.1.3-py3-none-any.whl (73.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sob-2.1.3.tar.gz
  • Upload date:
  • Size: 65.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.2 cpython/3.12.3 HTTPX/0.28.1

File hashes

Hashes for sob-2.1.3.tar.gz
Algorithm Hash digest
SHA256 2dfc41030d02a57b36b8d6eec5d8cafc2a5dd8caa43d0ea5bd90e83d68372518
MD5 fb5010f5dcccbea7b5c53e16fb516d9a
BLAKE2b-256 952576a4990aa04992547c484638edea3f95e5fc4f9dd6fdbe98badd003754e9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sob-2.1.3-py3-none-any.whl
  • Upload date:
  • Size: 73.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.2 cpython/3.12.3 HTTPX/0.28.1

File hashes

Hashes for sob-2.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b92361f42339db1544999157833434223407dec1f6ad8d490d7b15fc2fbdfc56
MD5 3660fb04722540061320086a9201be0b
BLAKE2b-256 1dc203286d15d3d8b581b62e7895111909176d59f5c06b9aa1cf6b6a434af309

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