Classy Json
Classy json is the best friend to invite to the party. He knows how to check all the other json that comes in and class them up.
Quick Start
pip install classyjson
Create your objects with jsonschema definitions.
from classyjson import ClassyObject
class Config(ClassyObject):
schema = {
"properties": {
"version": {"type": "string"},
"verbosity": {"type": "integer"},
"items": {"type": "array"}
}
}
config = Config({
"version": "v1.0",
"verbosity": 1,
"items": [
1, 2, 3
]
})
Metadata
Release files for classyjson 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| classyjson-0.1.2.tar.gz | 10.9 kB | Without provenance | Details for classyjson-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| classyjson-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for classyjson-0.1.2-py3-none-any.whl |
Total release size: 23.3 kB
Release files / classyjson-0.1.2.tar.gz
| Download URL | classyjson-0.1.2.tar.gz |
|---|---|
| Size | 10.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4bfa6738d5289ea3b4a52db7351a3f483e22abba57bd765b060850aff62ba499
|
|
BLAKE2b-256 checksum How to use checksums |
de813afdd29effd6a377a83836377bb86d01419d2c543d5a13a2cec1a32ee447
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
|
Release files / classyjson-0.1.2-py3-none-any.whl
| Download URL | classyjson-0.1.2-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
242b57b97cd9c4110155d78e0c704f11c7538a85c2b273cbf97b7bcb8f828f1c
|
|
BLAKE2b-256 checksum How to use checksums |
357b0a8cb311829e5f1ff2cb7920202a187c44e1a55f22861f432fb68648194b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
|
Security for classyjson 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.