tonic-textual


Nametonic-textual JSON
Version 1.3.0 PyPI version JSON
download
home_pagehttps://www.tonic.ai/
SummaryWrappers around the Tonic Textual API
upload_time2024-04-26 22:37:36
maintainerNone
docs_urlNone
authorAdam Kamor
requires_python<4.0,>=3.7
licenseMIT
keywords tonic.ai tonic tonic textual
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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-'

            

Raw data

            {
    "_id": null,
    "home_page": "https://www.tonic.ai/",
    "name": "tonic-textual",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.7",
    "maintainer_email": null,
    "keywords": "tonic.ai, tonic, tonic textual",
    "author": "Adam Kamor",
    "author_email": "adam@tonic.ai",
    "download_url": "https://files.pythonhosted.org/packages/57/7e/1abb5a77042b58244a56bde2c9b60a9d97d3570fc624d0cde94b17f4d796/tonic_textual-1.3.0.tar.gz",
    "platform": null,
    "description": "# Overview\nThis library contains useful wrappers around the Tonic Textual API\n\n## Usage\n\nInstantiate the API wrapper using the following code:\n\n```\nfrom tonic_textual.api import TonicTextual\n\n# Do not include trailing backslash in TONIC_URL\napi = TonicTextual(TONIC_TEXTUAL_URL, API_KEY)\n```\n\nOnce 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.\n\n## Build and package\n\nUpdate the version in pyproject.toml.  Ensure you are in the python_sdk/ folder in the repo root for the following instructions.\n\nUpdate build and twine\n\n```\npython -m pip install --upgrade build\npython -m pip install --upgrade twine\n```\n\nClean out dist folder\n\n```\nrm dist/ -rf\n```\n\nNow build\n\n```\npython -m build\n```\n\nAnd ship\n\n```\npython -m twine upload .\\dist\\*\n```\n\nThe username is __token__ and the pw is your token including the 'pypi-'\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Wrappers around the Tonic Textual API",
    "version": "1.3.0",
    "project_urls": {
        "Homepage": "https://www.tonic.ai/"
    },
    "split_keywords": [
        "tonic.ai",
        " tonic",
        " tonic textual"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "92dc0d3129e07fd0325f9e07f94b4b3cf179c6fa006a7bb604688c6b16f6f108",
                "md5": "74450400704a3252d8f730542ad489f0",
                "sha256": "f41a5182da4ec65a5c67cbb62c63e1e806504be76b947f5f959161c1e99c5f97"
            },
            "downloads": -1,
            "filename": "tonic_textual-1.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "74450400704a3252d8f730542ad489f0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.7",
            "size": 14504,
            "upload_time": "2024-04-26T22:37:34",
            "upload_time_iso_8601": "2024-04-26T22:37:34.663577Z",
            "url": "https://files.pythonhosted.org/packages/92/dc/0d3129e07fd0325f9e07f94b4b3cf179c6fa006a7bb604688c6b16f6f108/tonic_textual-1.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "577e1abb5a77042b58244a56bde2c9b60a9d97d3570fc624d0cde94b17f4d796",
                "md5": "3d547dd3b78dd668f4676053e8d4943e",
                "sha256": "5cc5282a881dde819190daa1a94f2bd8fa3d63f9f23194e32ffb634b1b7df7ae"
            },
            "downloads": -1,
            "filename": "tonic_textual-1.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "3d547dd3b78dd668f4676053e8d4943e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.7",
            "size": 10738,
            "upload_time": "2024-04-26T22:37:36",
            "upload_time_iso_8601": "2024-04-26T22:37:36.316312Z",
            "url": "https://files.pythonhosted.org/packages/57/7e/1abb5a77042b58244a56bde2c9b60a9d97d3570fc624d0cde94b17f4d796/tonic_textual-1.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-26 22:37:36",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "tonic-textual"
}
        
Elapsed time: 0.28674s