OSCAL Pydantic
Description
A simple module that contains pydantic datamodels representing the OSCAL standard. They are built from the OSCAL models published by NIST at https://github.com/usnistgov/OSCAL
Several Python projects include data models, but importing a large project just to get access to the datamodel represents a significant overhead. This module simply provides the models.
Installation
pip install oscal-pydantic
Usage
To import a specific model, include it in your python file:
e.g.: from oscal_pydantic import catalog
Alternatively, you can import the complete OSCAL schema:
from oscal_pydantic import complete
After importing, you should be able to define OSCAL objects that support pydantic's rich validation rules.
License
This code is released under the [CC0 1.0 Universal Public Domain Dedication] (https://creativecommons.org/publicdomain/zero/1.0/).
Metadata
Release files for oscal-pydantic 2023.3.21
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 |
|---|---|---|---|---|
| oscal-pydantic-2023.3.21.tar.gz | 87.7 kB | Without provenance | Details for oscal-pydantic-2023.3.21.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| oscal_pydantic-2023.3.21-py3-none-any.whl | Python 3 | none | any | Details for oscal_pydantic-2023.3.21-py3-none-any.whl |
Total release size: 194.4 kB
Release files / oscal-pydantic-2023.3.21.tar.gz
| Download URL | oscal-pydantic-2023.3.21.tar.gz |
|---|---|
| Size | 87.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
576840734f4405aa647b5296f8756ee7e5c88a5f7c7629beb7739640e9dfbc8a
|
|
BLAKE2b-256 checksum How to use checksums |
41c8033c88f565f13e88494182a66f141cfb172e36c57176051ce65bad189028
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|
Release files / oscal_pydantic-2023.3.21-py3-none-any.whl
| Download URL | oscal_pydantic-2023.3.21-py3-none-any.whl |
|---|---|
| Size | 106.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
846793409f247ad9fb47e0ebec9af4dd9d6cf6acc52f4a1a2e3e37fe76598d7d
|
|
BLAKE2b-256 checksum How to use checksums |
e5da21347a316fb0c4722e3d1d3cb05da6b0b3c579057d2ec80df3eec9abef76
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|
Security for oscal-pydantic 2023.3.21
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.