bsonschema
Simple bson validator written similarly to jsonschema but for BSON types.
Example of Use
import bsonschema;
inst = read_bson_from_disk("./tests/test_bson_for_validation.bson")
valid = bsonschema.Validator(json.load(open("./tests/mdb_schema.json", "r")))
valid.validate(inst)
print('Test file passed validation.')
Metadata
Release files for bsonschema 0.0.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 |
|---|---|---|---|---|
| bsonschema-0.0.0.tar.gz | 21.6 kB | Without provenance | Details for bsonschema-0.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bsonschema-0.0.0-py3-none-any.whl | Python 3 | none | any | Details for bsonschema-0.0.0-py3-none-any.whl |
Total release size: 46.2 kB
Release files / bsonschema-0.0.0.tar.gz
| Download URL | bsonschema-0.0.0.tar.gz |
|---|---|
| Size | 21.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d9002eec83e8a004b0a4019c116b6b1c6ddc9b1a4c079b939ef2eab83dcb3796
|
|
BLAKE2b-256 checksum How to use checksums |
8613efea12aac81baa8942a1b1d8c2383051e4390eaeda436d079a99bed3fb45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / bsonschema-0.0.0-py3-none-any.whl
| Download URL | bsonschema-0.0.0-py3-none-any.whl |
|---|---|
| Size | 24.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0e0618e0d6f2570b15f40e74113fac9b2357e88ea39cb35cdf0988ca67afb05b
|
|
BLAKE2b-256 checksum How to use checksums |
bdcb1f095d7798d51a91b021b51ae78f54b0eee433480f4901ca4ab88d32a06e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Security for bsonschema 0.0.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.