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.2.1.1704919081.tar.gz.

File metadata

File hashes

Hashes for gracie_dictionary_api-100.2.1.1704919081.tar.gz
Algorithm Hash digest
SHA256 b5467e683a7747a5af41d1de77ff3d8ff00f166a9cd28e3fbf3ab03e9c3bff66
MD5 6a75c1543fdbc21929ffe39a14bf426d
BLAKE2b-256 a700c9613426dcc3fad69e266cd57eee8343cd0d1fecbb0ce32732422b78c2d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gracie_dictionary_api-100.2.1.1704919081-py3-none-any.whl
Algorithm Hash digest
SHA256 f4a4afec016bbe025ac539537720aa4e46c79a080dc13ab77da30655df91d0bd
MD5 1f153ac78bba155f821370a31e319773
BLAKE2b-256 1ccc7a1d491c0a6d3c5fd1a8f2455e2a12cbbc7d24a5b7502bc4c5abfee6cc15

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