Skip to main content

safetyvision-client

Python client + CLI for the SafetyVision PPE compliance API — upload a worksite image, get PPE violation detections, an OSHA-grounded incident report, and a downloadable PDF.

Install

pip install safetyvision-client

Quickstart

from safetyvision_client import SafetyVision

sv = SafetyVision(api_key="sv_...")          # or set SAFETYVISION_API_KEY
result = sv.analyze("worksite.jpg")
print(result.violations)
result.save_pdf("incident.pdf")             # downloads the signed PDF URL

results = sv.analyze_batch(["a.jpg", "b.jpg"])   # threaded

CLI

export SAFETYVISION_API_KEY=sv_...
safetyvision analyze worksite.jpg --pdf report.pdf
safetyvision history --limit 10
safetyvision forecast "NO-Safety Vest"

Config

  • SAFETYVISION_API_KEY — your API key (or --api-key)
  • SAFETYVISION_BASE_URL — override the API endpoint (or --base-url)

Image-only, 6 MB max (Lambda Function URL cap); video → the HF Spaces demo.

Metadata

Release files for safetyvision-client 0.1.0

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

Source distribution (sdist)

Source distribution for safetyvision-client 0.1.0
File Size Uploaded
safetyvision_client-0.1.0.tar.gz 6.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for safetyvision-client 0.1.0
File Interpreter ABI Platform
safetyvision_client-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.1 kB

Release files / safetyvision_client-0.1.0.tar.gz

Download URL safetyvision_client-0.1.0.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ce7d4d1c18a412dcd1477d911bc293bf96b292bb61dcb024355b21c96685c61f
BLAKE2b-256 checksum
How to use checksums
fb73b6e9cdc47a4e921beed5e05898abd01d419a8a562c97ff3f3700553d5661
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 25, 2026.

Transparency log

Release files / safetyvision_client-0.1.0-py3-none-any.whl

Download URL safetyvision_client-0.1.0-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
24c6c1ca93185f45a7d4c129ce29331d25a1536b86fb57612654de74e5f1b7cf
BLAKE2b-256 checksum
How to use checksums
2d13f910fc161037faecff9eeabf0642ac1f17c90799ef6e9782f5a248fe1e04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 25, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

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