Skip to main content

No project description provided

Project description

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

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

pyoso-0.5.0.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyoso-0.5.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file pyoso-0.5.0.tar.gz.

File metadata

  • Download URL: pyoso-0.5.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.1

File hashes

Hashes for pyoso-0.5.0.tar.gz
Algorithm Hash digest
SHA256 f721c64148a229de7a5deaa7a3ccea83eaea84d289dc51780f97b1fd2a39f0ab
MD5 811c3fc443cf018dd4798d5c0b0ed2ae
BLAKE2b-256 55c2d1a9128588e433cf8771c69036845ad1c191a6177995dc5800ee022792b3

See more details on using hashes here.

File details

Details for the file pyoso-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: pyoso-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.1

File hashes

Hashes for pyoso-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5143110f0545a3f077f03ad9922a1a7593c3f6a79402370dd4d28bb739dfc337
MD5 b0bc6793fd6651509d0115ffa983f91b
BLAKE2b-256 54a7646fe4ed09925ef8561cf3aa2b24e37f3efe541820f3688c8eed48355aa6

See more details on using hashes here.

Supported by

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