Skip to main content

Classes implementing the SARIF 2.1.0 object model.

Project description

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 file format, an OASIS Committee Specification.

To learn more about SARIF and find resources for working with it, you can visit the SARIF Home Page.

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 by the 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. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sarif_om-1.0.2.tar.gz (28.6 kB view details)

Uploaded Source

Built Distribution

sarif_om-1.0.2-py3-none-any.whl (29.9 kB view details)

Uploaded Python 3

File details

Details for the file sarif_om-1.0.2.tar.gz.

File metadata

  • Download URL: sarif_om-1.0.2.tar.gz
  • Upload date:
  • Size: 28.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for sarif_om-1.0.2.tar.gz
Algorithm Hash digest
SHA256 69053e144a6a374d0c7ac44bb50a9db02899ccd7286a8f40b7089fb069e71465
MD5 9b3e849201cf0f5cfb6d3554f8e6fbaf
BLAKE2b-256 6e46e0049db0af4450a70e943f8f7a61ffa5f7890eb9e6ed73c2cb028043f208

See more details on using hashes here.

File details

Details for the file sarif_om-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: sarif_om-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 29.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for sarif_om-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7dc8de5e3bb958cda756eb93d76971c370b41b847d929c72b1884cb21803e9b1
MD5 28f5d0edd8bedacab03bae0cbdc9b179
BLAKE2b-256 2da6632f8cdcc4b89eec334df34bd0c0acf3b75fd30060954c57cfc779a653e0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page