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
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
tonic_textual-1.4.0.tar.gz
(10.8 kB
view hashes)
Built Distribution
Close
Hashes for tonic_textual-1.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a7c6ab1b1a9d5917e3edea23a18ae8f6ff107dd6d3c3d73c01efa43e1a0a4d8 |
|
MD5 | 606f80ebccb4c4da0bd5b7fb64d9daf0 |
|
BLAKE2b-256 | 9414bef7f58f61dc4179dbc10ac7aae5c729758381c1a620a1c8e87c8e883e58 |