pip install shape_eval
Guide
Schema Evaluation - shape(...)
from shape_eval.service import shape
model = [
{'id': 1, 'name': "a", 'data': {'detail': "some string"} },
{'id': 2, 'name': "b", 'data': {'detail': 123} },
{'id': 3, 'name': "c", 'data': None }
]
shape(model)
[{'data?': {'detail': 'str|int'}, 'id': 'int', 'name': 'str'}]
- Nullable properties have '?' appended at the end.
- Values are replaced with string representation of data type.
- If more than one data type is found, like the 'detail' property, union format is used.
Metadata
Release files for shape-eval 1.1.0
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 |
|---|---|---|---|---|
| shape_eval-1.1.0.tar.gz | 55.6 kB | Without provenance | Details for shape_eval-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| shape_eval-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for shape_eval-1.1.0-py3-none-any.whl |
Total release size: 114.6 kB
Release files / shape_eval-1.1.0.tar.gz
| Download URL | shape_eval-1.1.0.tar.gz |
|---|---|
| Size | 55.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
02be045077fb6e2940e34ffea41881a291ea78478e231bbfebfa275c31fa54db
|
|
BLAKE2b-256 checksum How to use checksums |
cf5d168e5ed47d082df3b0f374431c64f57850a669bc45422f96ac332db2ca6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Release files / shape_eval-1.1.0-py3-none-any.whl
| Download URL | shape_eval-1.1.0-py3-none-any.whl |
|---|---|
| Size | 59.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
58957cf90e352381cc9bd3cb5078362da00b26bde59a898f888ca26c4d2235cb
|
|
BLAKE2b-256 checksum How to use checksums |
47879847e6e3c5da75e929dceb53567c29a31c3793a4ef7c0de03002fc19d3d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Security for shape-eval 1.1.0
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.