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.1
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.1.tar.gz | 6.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyoso-0.5.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.1 kB
Release files / pyoso-0.5.1.tar.gz
| Download URL | pyoso-0.5.1.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3086898e61cf68af0f0eeabfd8a5931665e0ec3162e059caaa546f209b239411
|
|
BLAKE2b-256 checksum How to use checksums |
d8bf16e3e570b111258148c55139588fe77c046f04915ae71ce9c4782c114f18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.1
|
Release files / pyoso-0.5.1-py3-none-any.whl
| Download URL | pyoso-0.5.1-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1947cb4d2c4c51995e09697a02b5d63abe6918e0cd3596665b682b128fc326a7
|
|
BLAKE2b-256 checksum How to use checksums |
94640ae061fa3fb2632fde4e215a2d4712d8de1424beb21eb73f38d7decc48e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.1
|