A type-enforced framework for serializing and deserializing JSON
Project description
sob
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sob-2.2.0.tar.gz.
File metadata
- Download URL: sob-2.2.0.tar.gz
- Upload date:
- Size: 65.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Hatch/1.16.2 cpython/3.12.3 HTTPX/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
084b81a73223e69f87d20d62251d9b163c9ab357f23c777c95dc81359544cf61
|
|
| MD5 |
6c903c7d266c0c0d2c4d50059eaa4e6b
|
|
| BLAKE2b-256 |
e68d581ad562d76ce5f838d7eacf5115cd3ca41008a74a2396d8de452a40b43f
|
File details
Details for the file sob-2.2.0-py3-none-any.whl.
File metadata
- Download URL: sob-2.2.0-py3-none-any.whl
- Upload date:
- Size: 73.7 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01a8d833bddada91d1a859205e6d95771c7c3556b92c37a5ab5378d2cbfe25e5
|
|
| MD5 |
3b2d3b7b3e1e854cd390f38fdfca4ceb
|
|
| BLAKE2b-256 |
da497696b720e951cbd5991c2d1c70b46dbafe69841746162fa9c42fdadbf565
|