A Python SDK for Sayari
Project description
Sayari-analytics Python Library
The Sayari Python SDK provides convenient access to the Sayari API from applications written in Python.
Documentation
Please see our docs site for more info and or to get in touch with us.
Installation
pip install --upgrade sayari
Usage
from sayari.client import Sayari
client = Sayari(
client_id="YOUR_CLIENT_ID",
client_secret="YOUR_CLIENT_SECRET",
)
Async Client
from sayari.client import AsyncSayari
client = AsyncSayari(
client_id="YOUR_CLIENT_ID",
client_secret="YOUR_CLIENT_SECRET",
)
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.
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file sayari-0.1.21.tar.gz
.
File metadata
- Download URL: sayari-0.1.21.tar.gz
- Upload date:
- Size: 131.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.10 Linux/5.15.0-1074-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e61365757a0b73d9b632fce8f4ebee0e342ebd248f32076dcb42737598979161 |
|
MD5 | 0e4292efbb12464b82d3a2c06ba00978 |
|
BLAKE2b-256 | 71479eb5f5ba1a16e5d9a9e92a14ead96a8fc9172e4668a52ebfb1d82b2bb08b |
File details
Details for the file sayari-0.1.21-py3-none-any.whl
.
File metadata
- Download URL: sayari-0.1.21-py3-none-any.whl
- Upload date:
- Size: 270.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.10 Linux/5.15.0-1074-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 101fb52ccd1b585e3125d6ad88ec36c054d30a43b29bdb5be5b2e14c6ad02f8b |
|
MD5 | 2f4e6e4757956156acf48ef3532fd394 |
|
BLAKE2b-256 | 219875da8c187361bcd3442ea0bd13915539c6690c917ca9be3c9d2ec5ff6bb3 |