Name | oscal-pydantic JSON |
Version |
2023.3.21
JSON |
| download |
home_page | |
Summary | A set of Pydantic models generated from the OSCAL specification. |
upload_time | 2023-03-21 11:33:16 |
maintainer | |
docs_url | None |
author | |
requires_python | >=3.7 |
license | |
keywords |
oscal
oscal
pydantic
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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/).
Raw data
{
"_id": null,
"home_page": "",
"name": "oscal-pydantic",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "oscal,OSCAL,pydantic",
"author": "",
"author_email": "Robert Sherwood <robert.sherwood@credentive.com>",
"download_url": "https://files.pythonhosted.org/packages/41/c8/033c88f565f13e88494182a66f141cfb172e36c57176051ce65bad189028/oscal-pydantic-2023.3.21.tar.gz",
"platform": null,
"description": "# OSCAL Pydantic\n\n## Description\nA 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\n\nSeveral 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.\n\n## Installation\n\npip install oscal-pydantic\n\n## Usage\n\nTo import a specific model, include it in your python file:\n\ne.g.: from oscal_pydantic import catalog\n\nAlternatively, you can import the complete OSCAL schema:\n\nfrom oscal_pydantic import complete\n\nAfter importing, you should be able to define OSCAL objects that support pydantic's rich validation rules.\n\n## License\n\nThis code is released under the [CC0 1.0 Universal Public Domain Dedication] (https://creativecommons.org/publicdomain/zero/1.0/).\n",
"bugtrack_url": null,
"license": "",
"summary": "A set of Pydantic models generated from the OSCAL specification.",
"version": "2023.3.21",
"split_keywords": [
"oscal",
"oscal",
"pydantic"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e5da21347a316fb0c4722e3d1d3cb05da6b0b3c579057d2ec80df3eec9abef76",
"md5": "a1dcba36315812449a65ba91c3698dc5",
"sha256": "846793409f247ad9fb47e0ebec9af4dd9d6cf6acc52f4a1a2e3e37fe76598d7d"
},
"downloads": -1,
"filename": "oscal_pydantic-2023.3.21-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a1dcba36315812449a65ba91c3698dc5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 106645,
"upload_time": "2023-03-21T11:33:14",
"upload_time_iso_8601": "2023-03-21T11:33:14.559778Z",
"url": "https://files.pythonhosted.org/packages/e5/da/21347a316fb0c4722e3d1d3cb05da6b0b3c579057d2ec80df3eec9abef76/oscal_pydantic-2023.3.21-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "41c8033c88f565f13e88494182a66f141cfb172e36c57176051ce65bad189028",
"md5": "83a1d7cc144705cb23d6d5e466837753",
"sha256": "576840734f4405aa647b5296f8756ee7e5c88a5f7c7629beb7739640e9dfbc8a"
},
"downloads": -1,
"filename": "oscal-pydantic-2023.3.21.tar.gz",
"has_sig": false,
"md5_digest": "83a1d7cc144705cb23d6d5e466837753",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 87747,
"upload_time": "2023-03-21T11:33:16",
"upload_time_iso_8601": "2023-03-21T11:33:16.511447Z",
"url": "https://files.pythonhosted.org/packages/41/c8/033c88f565f13e88494182a66f141cfb172e36c57176051ce65bad189028/oscal-pydantic-2023.3.21.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-03-21 11:33:16",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "oscal-pydantic"
}