Skip to main content

A Python SDK for Sayari

Project description

Sayari-analytics Python Library

fern shield

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sayari-0.1.21.tar.gz (131.5 kB view details)

Uploaded Source

Built Distribution

sayari-0.1.21-py3-none-any.whl (270.0 kB view details)

Uploaded Python 3

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

Hashes for sayari-0.1.21.tar.gz
Algorithm Hash digest
SHA256 e61365757a0b73d9b632fce8f4ebee0e342ebd248f32076dcb42737598979161
MD5 0e4292efbb12464b82d3a2c06ba00978
BLAKE2b-256 71479eb5f5ba1a16e5d9a9e92a14ead96a8fc9172e4668a52ebfb1d82b2bb08b

See more details on using hashes here.

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

Hashes for sayari-0.1.21-py3-none-any.whl
Algorithm Hash digest
SHA256 101fb52ccd1b585e3125d6ad88ec36c054d30a43b29bdb5be5b2e14c6ad02f8b
MD5 2f4e6e4757956156acf48ef3532fd394
BLAKE2b-256 219875da8c187361bcd3442ea0bd13915539c6690c917ca9be3c9d2ec5ff6bb3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page