Skip to main content

Wrappers around the Tonic Textual API

Project description

Overview

This library contains useful wrappers around the Tonic Textual API

Usage

Instantiate the API wrapper using the following code:

from tonic_textual.api import TonicTextual

# Do not include trailing backslash in TONIC_URL
api = TonicTextual(TONIC_TEXTUAL_URL, API_KEY)

Once instantiated, the following endpoints are available for consumption. Note that available endpoints and response types are limited. Available fields may be severely limited compared to the current Tonic API.

Build and package

Update the version in pyproject.toml. Ensure you are in the python_sdk/ folder in the repo root for the following instructions.

Update build and twine

python -m pip install --upgrade build
python -m pip install --upgrade twine

Clean out dist folder

rm dist/ -rf

Now build

python -m build

And ship

python -m twine upload .\dist\*

The username is token and the pw is your token including the 'pypi-'

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

tonic_textual-1.3.0.tar.gz (10.7 kB view hashes)

Uploaded Source

Built Distribution

tonic_textual-1.3.0-py3-none-any.whl (14.5 kB view hashes)

Uploaded Python 3

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