Skip to main content

PySarif

This is a simple pydantic model for the SARIF format, generated with datamodel-codegen.

Installation

pip install pysarif

Usage

StaticAnalysisResultsFormatSarifVersion210JsonSchema is likely the class that you'll be referencing the most.

Example

from pydantic_sarif.model import StaticAnalysisResultsFormatSarifVersion210JsonSchema as Report

example_json = """
"""
report: Report = Report.parse_raw(example_json)

assert report.version == "2.1.0"

Metadata

Release files for pydantic-sarif 0.1.1

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

Source distribution (sdist)

Source distribution for pydantic-sarif 0.1.1
File Size Uploaded Provenance Actions
pydantic_sarif-0.1.1.tar.gz 14.3 kB Without provenance Details for pydantic_sarif-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pydantic-sarif 0.1.1
File Interpreter ABI Platform Actions
pydantic_sarif-0.1.1-py3-none-any.whl Python 3 none any Details for pydantic_sarif-0.1.1-py3-none-any.whl

Total release size: 28.9 kB

Release files / pydantic_sarif-0.1.1.tar.gz

Download URL pydantic_sarif-0.1.1.tar.gz
Size 14.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4867c5c95f9c4d09ceeec7cacdd6392564ab7f8f992f7ec523251dd22282384a
BLAKE2b-256 checksum
How to use checksums
873e984673781201859dca5fa6e3d0545d4da9e419eeb50f4605f2fcf0baef6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.10.12 Darwin/22.5.0

Release files / pydantic_sarif-0.1.1-py3-none-any.whl

Download URL pydantic_sarif-0.1.1-py3-none-any.whl
Size 14.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
51cd7c23c4246a383e06eead454b4e1cc890d135e169db85312756c60e2fd789
BLAKE2b-256 checksum
How to use checksums
f521eb9badcbec2b6e5904c74eaadfc69d8755a9941d47028305875997fb6cd3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.10.12 Darwin/22.5.0

Security for pydantic-sarif 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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