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.
Metadata
Release files for sob 2.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sob-2.2.3.tar.gz | 65.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sob-2.2.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 139.8 kB
Release files / sob-2.2.3.tar.gz
| Download URL | sob-2.2.3.tar.gz |
|---|---|
| Size | 65.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b73bd856e41b3492b11b7e0a428abf76ccbf5dd5b3508e317437279b46293664
|
|
BLAKE2b-256 checksum How to use checksums |
3107201fb1621d650739421ac5030f3499050eec7ee0f79d56e13870a454ff43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Hatch/1.17.1 {"ci":true,"cpu":"x86_64","distro":{"id":"noble","libc":{"lib":"glibc","version":"2.39"},"name":"Ubuntu","version":"24.04"},"implementation":{"name":"CPython","version":"3.12.3"},"installer":{"name":"hatch","version":"1.17.1"},"openssl_version":"OpenSSL 3.0.13 30 Jan 2024","python":"3.12.3","system":{"name":"Linux","release":"6.17.0-1020-azure"}} HTTPX2/2.5.0
|
Release files / sob-2.2.3-py3-none-any.whl
| Download URL | sob-2.2.3-py3-none-any.whl |
|---|---|
| Size | 73.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b20fe79e2c49a93ec870f912785bbba391077d75d4301b7452049f854ee46140
|
|
BLAKE2b-256 checksum How to use checksums |
2a49b794cdf4531f3785ceacae920d944877900cbf504731dde6960ec3b4da97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Hatch/1.17.1 {"ci":true,"cpu":"x86_64","distro":{"id":"noble","libc":{"lib":"glibc","version":"2.39"},"name":"Ubuntu","version":"24.04"},"implementation":{"name":"CPython","version":"3.12.3"},"installer":{"name":"hatch","version":"1.17.1"},"openssl_version":"OpenSSL 3.0.13 30 Jan 2024","python":"3.12.3","system":{"name":"Linux","release":"6.17.0-1020-azure"}} HTTPX2/2.5.0
|