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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gracie_dictionary_api-6.8.1639666669-py3-none-any.whl (63.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gracie_dictionary_api-6.8.1639666669.tar.gz
  • Upload date:
  • Size: 28.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.3 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for gracie_dictionary_api-6.8.1639666669.tar.gz
Algorithm Hash digest
SHA256 2ffed4ac2546971b694dc84b6c2ee139a818fed8279cfda5d172f314ed8a08d9
MD5 19b0afa259b29116b47e2b65de61c8de
BLAKE2b-256 93063deff6d3cfb19e6f092839c69af7a83d7b5cbbe2ace225604834f4f34865

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gracie_dictionary_api-6.8.1639666669-py3-none-any.whl
  • Upload date:
  • Size: 63.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.3 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for gracie_dictionary_api-6.8.1639666669-py3-none-any.whl
Algorithm Hash digest
SHA256 e9893d44d7872dc7d8fd25968aedbae2b2b49d8f9fbf0cafd7a961cfcefdac80
MD5 911fd07e53fdd827f8d50f7437e5551a
BLAKE2b-256 8d9ff9224e7f5ed3bb3688183add167e34df6544ccf5611212c138c67695cbf9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page