Skip to main content

Gracie Dictionary API python wrapper

Project description

This package provides a simple wrapper around the Toposlabs Gracie API platform.

Sample usage

import gracie_dictionary_api as GracieDictionayAPI

def gracie_connect():
    sso_server = <full url to sso sever>
    login_name = <login name>
    login_password = <login password>
    host = <host or ip of server>
    port = 443

    e_api = GracieDictionayAPI.GracieAPI(host, sso_server, port, login_name, login_password)

    # print currently logged in user information
    print(e_api.call_api('usersController', 'whoAmI'))

    # process some text and print JSON results
    print(e_api.call_api('searchController',
                         'processText',
                         text='Boston is the capital and most populous city of the Commonwealth of Massachusetts in the United States'))

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

gracie_dictionary_api-23.3.1.1691689444.tar.gz (31.0 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file gracie_dictionary_api-23.3.1.1691689444.tar.gz.

File metadata

File hashes

Hashes for gracie_dictionary_api-23.3.1.1691689444.tar.gz
Algorithm Hash digest
SHA256 f8250cbb748cf52708910ed528494a80420f7e0e8c6b4dd9e4f61e443b494c8f
MD5 001c69d21c631d73f9828116b184c512
BLAKE2b-256 23ecb60af8ca4aec42ce9d51a07e8ad2987a7d91bf24e27745d2f63e0bfbaa19

See more details on using hashes here.

File details

Details for the file gracie_dictionary_api-23.3.1.1691689444-py3-none-any.whl.

File metadata

File hashes

Hashes for gracie_dictionary_api-23.3.1.1691689444-py3-none-any.whl
Algorithm Hash digest
SHA256 72eefb23a5cc7583ae9bb3efa12363a2cf91978535508549b82553f321fdd194
MD5 17a72011221e79c4845ff7e0cfaf6580
BLAKE2b-256 b616af1839327f7eb02814267d8fc590cd8190af03b7b7789498eea23122aa76

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