Skip to main content

pyoso

WARNING: THIS IS A WORK IN PROGRESS

pyoso is a Python package for fetching models and metrics from OSO. This package provides an easy-to-use interface to interact with oso and retrieve valuable data for analysis and monitoring.

Current Features

  • Execute custom SQL queries for analyzing the OSO dataset

Installation

You can install pyoso using pip:

pip install pyoso

Optional Semantic Modeling

For semantic modeling capabilities, you can install with the semantic extra:

pip install pyoso[semantic]

This will include the oso_semantic package for building semantic models and queries.

Usage

Here is a basic example of how to use pyoso:

from pyoso import Client

# Initialize the client
os.environ["OSO_API_KEY"] = 'your_api_key'
client = Client()

# Fetch artifacts
query = "SELECT * FROM artifacts_v1 LIMIT 5"
artifacts = client.to_pandas(query)

print(artifacts)

Documentation

For detailed documentation about the OSO dataset, please refer to the official documentation.

Future Plans

  • Create DataFrame wrapper for creating SQL query from data transforms

Metadata

Release files for pyoso 0.5.2

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

Source distribution (sdist)

Source distribution for pyoso 0.5.2
File Size Uploaded Provenance Actions
pyoso-0.5.2.tar.gz 6.4 kB Without provenance Details for pyoso-0.5.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyoso 0.5.2
File Interpreter ABI Platform Actions
pyoso-0.5.2-py3-none-any.whl Python 3 none any Details for pyoso-0.5.2-py3-none-any.whl

Total release size: 11.7 kB

Release files / pyoso-0.5.2.tar.gz

Download URL pyoso-0.5.2.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c4c0f9fd2df007b0b0560f7d72eec20f90d8d605cede65bf654436a587b41f09
BLAKE2b-256 checksum
How to use checksums
b106e1909da9ed17e6add3f9cf8fe4aef3ed70c9261820114400ceed3830c7f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.1

Release files / pyoso-0.5.2-py3-none-any.whl

Download URL pyoso-0.5.2-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e9cbe5deb94f8ef0bb314b93a9fc99e78b1262b91a7a60d00dd0ba2997385ade
BLAKE2b-256 checksum
How to use checksums
a495b7cab7303295caa5a315c12d0f74d55d4f7758dc7a0462f0307946021950
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.1

Security for pyoso 0.5.2

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

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