Skip to main content

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.

Release files for sarif-om 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sarif-om 1.0.4
File Size Uploaded
sarif_om-1.0.4.tar.gz 28.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sarif-om 1.0.4
File Interpreter ABI Platform
sarif_om-1.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 59.0 kB

Release files / sarif_om-1.0.4.tar.gz

Download URL sarif_om-1.0.4.tar.gz
Size 28.8 kB
Tags Source
SHA-256 checksum
How to use checksums
cd5f416b3083e00d402a92e449a7ff67af46f11241073eea0461802a3b5aef98
BLAKE2b-256 checksum
How to use checksums
badebbdd93fe456d4011500784657c5e4a31e3f4fcbb276255d4db1213aed78c
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / sarif_om-1.0.4-py3-none-any.whl

Download URL sarif_om-1.0.4-py3-none-any.whl
Size 30.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
539ef47a662329b1c8502388ad92457425e95dc0aaaf995fe46f4984c4771911
BLAKE2b-256 checksum
How to use checksums
827c1d3d0467565aa8b3e77ab8712042a09dd1158056826f45783f3d2b34adf1
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.4 This release

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page