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

Built Distribution

File details

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

File metadata

File hashes

Hashes for gracie_dictionary_api-100.6.0.28.1704924468.tar.gz
Algorithm Hash digest
SHA256 3dcc5fc0484f3ea1affbd3289ff208f13732c4de468fca1bb9dd6d6c5655158a
MD5 5b046d8b8cfc0819b31c4af425d0664a
BLAKE2b-256 c38d160e5569d78b25bb33094c71fe720ce261d50084baec766461371dacd27f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gracie_dictionary_api-100.6.0.28.1704924468-py3-none-any.whl
Algorithm Hash digest
SHA256 3f337ae106986288f4383476d776a7c712c4684a797ca5da5ffbc830bd970393
MD5 d8ee9a09eb55b401f00bd844059966db
BLAKE2b-256 b0338f0e791a24db80dc8fbd4a2ccf1e6602141a849da77e88acf954ecf04209

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