# 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-v2
## Usage
To import a specific model, include it in your python file:
e.g.: from oscal_pydantic import catalog
## 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": null,
"name": "oscal-pydantic-v2",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "oscal, OSCAL, pydantic",
"author": null,
"author_email": "Robert Sherwood <robert.sherwood@credentive.com>",
"download_url": "https://files.pythonhosted.org/packages/3d/50/fffbcd811d648597550b36e281998ffce9e6a6d4edf49e8271100bc1469e/oscal-pydantic-v2-2024.3.20.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-v2\n\n## Usage\n\n\n\nTo import a specific model, include it in your python file:\n\ne.g.: from oscal_pydantic import catalog\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": "oscal-pydantic-v2 by Robert Sherwood is marked with CC0 1.0. To view a copy of this license, visit http://creativecommons.org/publicdomain/zero/1.0",
"summary": "A set of Pydantic models generated from the OSCAL specification.",
"version": "2024.3.20",
"project_urls": {
"Homepage": "https://github.com/RS-Credentive/oscal-pydantic"
},
"split_keywords": [
"oscal",
" oscal",
" pydantic"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "50eca46040f504efb5b1171b4cd0b0283285fd72771083840ab21ef321e5fc54",
"md5": "b45388917dc0207a59eef0c01cb3d21d",
"sha256": "1e6bcf2aa4dd1c4c64673dc62571afdfd540e48c96a043fec7e356c84405435f"
},
"downloads": -1,
"filename": "oscal_pydantic_v2-2024.3.20-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b45388917dc0207a59eef0c01cb3d21d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 23575,
"upload_time": "2024-03-20T09:04:40",
"upload_time_iso_8601": "2024-03-20T09:04:40.689565Z",
"url": "https://files.pythonhosted.org/packages/50/ec/a46040f504efb5b1171b4cd0b0283285fd72771083840ab21ef321e5fc54/oscal_pydantic_v2-2024.3.20-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3d50fffbcd811d648597550b36e281998ffce9e6a6d4edf49e8271100bc1469e",
"md5": "5c99be642d7796b21154918db7f74834",
"sha256": "a32da409990e9319604391773dabcb9f18def63477504a9b215d1308f6114514"
},
"downloads": -1,
"filename": "oscal-pydantic-v2-2024.3.20.tar.gz",
"has_sig": false,
"md5_digest": "5c99be642d7796b21154918db7f74834",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 21183,
"upload_time": "2024-03-20T09:04:42",
"upload_time_iso_8601": "2024-03-20T09:04:42.463492Z",
"url": "https://files.pythonhosted.org/packages/3d/50/fffbcd811d648597550b36e281998ffce9e6a6d4edf49e8271100bc1469e/oscal-pydantic-v2-2024.3.20.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-20 09:04:42",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "RS-Credentive",
"github_project": "oscal-pydantic",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "argcomplete",
"specs": [
[
"==",
"2.1.1"
]
]
},
{
"name": "attrs",
"specs": [
[
"==",
"22.2.0"
]
]
},
{
"name": "black",
"specs": [
[
"==",
"23.1.0"
]
]
},
{
"name": "certifi",
"specs": [
[
"==",
"2022.12.7"
]
]
},
{
"name": "chardet",
"specs": [
[
"==",
"5.1.0"
]
]
},
{
"name": "charset-normalizer",
"specs": [
[
"==",
"3.1.0"
]
]
},
{
"name": "click",
"specs": [
[
"==",
"8.1.3"
]
]
},
{
"name": "datamodel-code-generator",
"specs": [
[
"==",
"0.17.1"
]
]
},
{
"name": "dnspython",
"specs": [
[
"==",
"2.3.0"
]
]
},
{
"name": "email-validator",
"specs": [
[
"==",
"1.3.1"
]
]
},
{
"name": "genson",
"specs": [
[
"==",
"1.2.2"
]
]
},
{
"name": "idna",
"specs": [
[
"==",
"3.4"
]
]
},
{
"name": "importlib-resources",
"specs": [
[
"==",
"5.12.0"
]
]
},
{
"name": "inflect",
"specs": [
[
"==",
"5.6.2"
]
]
},
{
"name": "isort",
"specs": [
[
"==",
"5.12.0"
]
]
},
{
"name": "Jinja2",
"specs": [
[
"==",
"3.1.2"
]
]
},
{
"name": "jsonschema",
"specs": [
[
"==",
"4.17.3"
]
]
},
{
"name": "jsonschema-spec",
"specs": [
[
"==",
"0.1.3"
]
]
},
{
"name": "lazy-object-proxy",
"specs": [
[
"==",
"1.9.0"
]
]
},
{
"name": "MarkupSafe",
"specs": [
[
"==",
"2.1.2"
]
]
},
{
"name": "mypy-extensions",
"specs": [
[
"==",
"1.0.0"
]
]
},
{
"name": "openapi-schema-validator",
"specs": [
[
"==",
"0.3.4"
]
]
},
{
"name": "openapi-spec-validator",
"specs": [
[
"==",
"0.5.1"
]
]
},
{
"name": "packaging",
"specs": [
[
"==",
"23.0"
]
]
},
{
"name": "pathable",
"specs": [
[
"==",
"0.4.3"
]
]
},
{
"name": "pathspec",
"specs": [
[
"==",
"0.11.1"
]
]
},
{
"name": "platformdirs",
"specs": [
[
"==",
"3.1.1"
]
]
},
{
"name": "prance",
"specs": [
[
"==",
"0.22.2.22.0"
]
]
},
{
"name": "pydantic",
"specs": [
[
"==",
"1.10.6"
]
]
},
{
"name": "pyrsistent",
"specs": [
[
"==",
"0.19.3"
]
]
},
{
"name": "PySnooper",
"specs": [
[
"==",
"1.1.1"
]
]
},
{
"name": "PyYAML",
"specs": [
[
"==",
"6.0"
]
]
},
{
"name": "requests",
"specs": [
[
"==",
"2.28.2"
]
]
},
{
"name": "ruamel.yaml",
"specs": [
[
"==",
"0.17.21"
]
]
},
{
"name": "six",
"specs": [
[
"==",
"1.16.0"
]
]
},
{
"name": "toml",
"specs": [
[
"==",
"0.10.2"
]
]
},
{
"name": "typed-ast",
"specs": [
[
"==",
"1.5.4"
]
]
},
{
"name": "typing_extensions",
"specs": [
[
"==",
"4.5.0"
]
]
},
{
"name": "urllib3",
"specs": [
[
"==",
"1.26.15"
]
]
}
],
"lcname": "oscal-pydantic-v2"
}