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.1

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.1.tar.gz (65.5 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.1-py3-none-any.whl (73.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sob-2.1.1.tar.gz
Algorithm Hash digest
SHA256 154542994ad2b5d1f4da2731714c3c862f413eb42689107b5d2e84a271fbe7b4
MD5 45fd5fa5bc978a555011e9482c5a7c21
BLAKE2b-256 6e570c2feac01d9b753fb4d2d228ba98ae15be9f21a894b488de4a60d0f8f82d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for sob-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2d89791b2961f6a7ef6faa48d3d4eb36bd735d8cf61d9c20aea04ce2d16f144a
MD5 93a495a53e5a367f49b97ddb912af44e
BLAKE2b-256 8e90c364e799a15e34676c1c727e9ad86238a75803f2e53c995914fb4f82dda6

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