sarif-python-om
===============
Python classes for the SARIF 2.1.0 object model
Usage
=====
::
pip install sarif-python-om
import sarif_om
Description
===========
This module contains classes for the object model defined by the
`Static Analysis Results Interchange Format (SARIF) Version 2.1.0 <https://docs.oasis-open.org/sarif/sarif/v2.1.0/cs01>`_ file format,
an `OASIS <https://www.oasis-open.org>`_ `Committee Specification <https://www.oasis-open.org/news/announcements/static-analysis-results-interchange-format-sarif-v2-1-0-from-the-sarif-tc-is-an-a>`_.
To learn more about SARIF and find resources for working with it, you can visit the `SARIF Home Page <http://sarifweb.azurewebsites.net/>`_.
The source code is available at https://github.com/microsoft/sarif-python-om.
Generation
==========
The classes in this module were generated from the `SARIF JSON schema <https://docs.oasis-open.org/sarif/sarif/v2.1.0/cs01/schemas/sarif-schema-2.1.0.json>`_
by the `jschema-to-python <https://github.com/microsoft/jschema-to-python>`_ code generator,
using the JSON schema file ``sarif-2.1.0-rtm.4.json`` and the code generation hints file ``code-gen-hints.json``
at the root of the GitHub repo, with the following command line::
pip install jschema-to-python
py -m jschema_to_python
--schema-path sarif-2.1.0-rtm.4.json
--module-name sarif_om
--output-directory sarif_om
--root-class-name SarifLog
--hints-file-path code-gen-hints.json
--force
-vv
Contributing
============
This project welcomes contributions and suggestions. Most contributions require you to agree to a
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide
a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions
provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the `Microsoft Open Source Code of Conduct <https://opensource.microsoft.com/codeofconduct>`_.
For more information see the `Code of Conduct FAQ <https://opensource.microsoft.com/codeofconduct/faq>`_ or
contact `opencode@microsoft.com <mailto:opencode@microsoft.com>`_ with any additional questions or comments.
Raw data
{
"_id": null,
"home_page": "https://github.com/microsoft/sarif-python-om",
"name": "sarif-om",
"maintainer": "",
"docs_url": null,
"requires_python": ">= 2.7",
"maintainer_email": "",
"keywords": "",
"author": "Microsoft Corporation",
"author_email": "v-lgold@microsoft.com",
"download_url": "https://files.pythonhosted.org/packages/ba/de/bbdd93fe456d4011500784657c5e4a31e3f4fcbb276255d4db1213aed78c/sarif_om-1.0.4.tar.gz",
"platform": "",
"description": "sarif-python-om\n===============\n\nPython classes for the SARIF 2.1.0 object model\n\nUsage\n=====\n::\n\n pip install sarif-python-om\n\n import sarif_om\n\nDescription\n===========\n\nThis module contains classes for the object model defined by the\n`Static Analysis Results Interchange Format (SARIF) Version 2.1.0 <https://docs.oasis-open.org/sarif/sarif/v2.1.0/cs01>`_ file format,\nan `OASIS <https://www.oasis-open.org>`_ `Committee Specification <https://www.oasis-open.org/news/announcements/static-analysis-results-interchange-format-sarif-v2-1-0-from-the-sarif-tc-is-an-a>`_.\n\nTo learn more about SARIF and find resources for working with it, you can visit the `SARIF Home Page <http://sarifweb.azurewebsites.net/>`_.\n\nThe source code is available at https://github.com/microsoft/sarif-python-om.\n\nGeneration\n==========\n\nThe classes in this module were generated from the `SARIF JSON schema <https://docs.oasis-open.org/sarif/sarif/v2.1.0/cs01/schemas/sarif-schema-2.1.0.json>`_\nby the `jschema-to-python <https://github.com/microsoft/jschema-to-python>`_ code generator,\nusing the JSON schema file ``sarif-2.1.0-rtm.4.json`` and the code generation hints file ``code-gen-hints.json``\nat the root of the GitHub repo, with the following command line::\n\n pip install jschema-to-python\n\n py -m jschema_to_python\n --schema-path sarif-2.1.0-rtm.4.json\n --module-name sarif_om\n --output-directory sarif_om\n --root-class-name SarifLog\n --hints-file-path code-gen-hints.json\n --force\n -vv\n\nContributing\n============\n\nThis project welcomes contributions and suggestions. Most contributions require you to agree to a\nContributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us\nthe rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.\n\nWhen you submit a pull request, a CLA bot will automatically determine whether you need to provide\na CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions\nprovided by the bot. You will only need to do this once across all repos using our CLA.\n\nThis project has adopted the `Microsoft Open Source Code of Conduct <https://opensource.microsoft.com/codeofconduct>`_.\nFor more information see the `Code of Conduct FAQ <https://opensource.microsoft.com/codeofconduct/faq>`_ or\ncontact `opencode@microsoft.com <mailto:opencode@microsoft.com>`_ with any additional questions or comments.\n\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Classes implementing the SARIF 2.1.0 object model.",
"version": "1.0.4",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "827c1d3d0467565aa8b3e77ab8712042a09dd1158056826f45783f3d2b34adf1",
"md5": "e2b3c28d72498531fc3e3472027cf164",
"sha256": "539ef47a662329b1c8502388ad92457425e95dc0aaaf995fe46f4984c4771911"
},
"downloads": -1,
"filename": "sarif_om-1.0.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e2b3c28d72498531fc3e3472027cf164",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">= 2.7",
"size": 30193,
"upload_time": "2019-10-05T20:11:21",
"upload_time_iso_8601": "2019-10-05T20:11:21.577341Z",
"url": "https://files.pythonhosted.org/packages/82/7c/1d3d0467565aa8b3e77ab8712042a09dd1158056826f45783f3d2b34adf1/sarif_om-1.0.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "badebbdd93fe456d4011500784657c5e4a31e3f4fcbb276255d4db1213aed78c",
"md5": "b392605ffcf1673c4ed425b300d7ab10",
"sha256": "cd5f416b3083e00d402a92e449a7ff67af46f11241073eea0461802a3b5aef98"
},
"downloads": -1,
"filename": "sarif_om-1.0.4.tar.gz",
"has_sig": false,
"md5_digest": "b392605ffcf1673c4ed425b300d7ab10",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">= 2.7",
"size": 28847,
"upload_time": "2019-10-05T20:11:23",
"upload_time_iso_8601": "2019-10-05T20:11:23.338781Z",
"url": "https://files.pythonhosted.org/packages/ba/de/bbdd93fe456d4011500784657c5e4a31e3f4fcbb276255d4db1213aed78c/sarif_om-1.0.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2019-10-05 20:11:23",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "microsoft",
"github_project": "sarif-python-om",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "sarif-om"
}