Metadata-Version: 2.1
Name: sayari
Version: 0.1.2
Summary: A Python SDK for Sayari
Author: Sayari Analytics
Author-email: support@sayari.com
Requires-Python: >=3.8,<4.0
Classifier: Intended Audience :: Developers
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: OS Independent
Classifier: Operating System :: POSIX
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Dist: httpx (>=0.21.2)
Requires-Dist: pydantic (>=1.9.2)
Requires-Dist: typing_extensions (>=4.0.0)
Description-Content-Type: text/markdown

<!-- Begin Title, generated by Fern  -->

# Sayari-analytics Python Library

[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-SDK%20generated%20by%20Fern-brightgreen)](https://github.com/fern-api/fern)

The [Sayari](https://sayari.com) Python SDK provides convenient access to the Sayari API from applications written in Python.

<!-- End Title  -->

# Documentation

Please see our [docs site](http://documentation.sayari.com) for more info and or to get in touch with us.

<!-- Begin Installation, generated by Fern  -->

# Installation

```sh
pip install --upgrade sayari
```

<!-- End Installation  -->

<!-- Begin Usage, generated by Fern  -->

# Usage

```python
from sayari.client import Sayari

client = Sayari(
    client_id="YOUR_CLIENT_ID",
    client_secret="YOUR_CLIENT_SECRET",
)
```

<!-- End Usage  -->

<!-- Begin Async Usage, generated by Fern  -->

# Async Client

```python
from sayari.client import AsyncSayari

client = AsyncSayari(
    client_id="YOUR_CLIENT_ID",
    client_secret="YOUR_CLIENT_SECRET",
)
```

<!-- End Async Usage  -->

# OAuth

The Sayari client includes automatic OAuth access token retrieval, refreshing it as needed. Simply specify the `client_id`
and `client_secret` (shown above) and your access token will be used for every authenticated request.

<!-- Begin Status, generated by Fern  -->

# Beta Status

This SDK is in beta, and there may be breaking changes between versions without a major
version update. Therefore, we recommend pinning the package version to a specific version.
This way, you can install the same version each time without breaking changes.

<!-- End Status  -->

