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.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyoso-0.5.0.tar.gz | 6.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyoso-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.7 kB
Release files / pyoso-0.5.0.tar.gz
| Download URL | pyoso-0.5.0.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f721c64148a229de7a5deaa7a3ccea83eaea84d289dc51780f97b1fd2a39f0ab
|
|
BLAKE2b-256 checksum How to use checksums |
55c2d1a9128588e433cf8771c69036845ad1c191a6177995dc5800ee022792b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.1
|
Release files / pyoso-0.5.0-py3-none-any.whl
| Download URL | pyoso-0.5.0-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5143110f0545a3f077f03ad9922a1a7593c3f6a79402370dd4d28bb739dfc337
|
|
BLAKE2b-256 checksum How to use checksums |
54a7646fe4ed09925ef8561cf3aa2b24e37f3efe541820f3688c8eed48355aa6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.1
|