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.1680194036.tar.gz (31.9 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for gracie_dictionary_api-23.3.1.1680194036.tar.gz
Algorithm Hash digest
SHA256 bf435dcd83b88e2b8b9e4279c45a9c7ebba2936fc9617fd12cc48ffe177c493c
MD5 864b1e05f809b381c8a74763c068c44d
BLAKE2b-256 becf0c5d6d376ccb1d4462b8ce805efd7509fe2b75a91369d3e1e682ded066a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gracie_dictionary_api-23.3.1.1680194036-py3-none-any.whl
Algorithm Hash digest
SHA256 c99d45b80b18e6448306f0eb9d67d0b6b782589343c8bed02b135f6eb31c7b7d
MD5 10f3d596c179e5c778bd258bc9715987
BLAKE2b-256 9970dea0f2d18873ba924c39a638a8ffaf354d9626f2ec06bd3e3f720065a21b

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