Metadata-Version: 2.4
Name: pyoso
Version: 0.2.0
Author-email: Icaro Guerra <icaro@karibalabs.co>
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# 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:

```bash
pip install pyoso
```

## Usage

Here is a basic example of how to use `pyoso`:

```python
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.query(query)

print(artifacts)
```

## Documentation

For detailed documentation about the OSO dataset, please refer to the [official documentation](https://docs.opensource.observer/docs/integrate/datasets/).

## Future Plans

- Create DataFrame wrapper for creating SQL query from data transforms
