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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: gracie_dictionary_api-6.8.1627938262.tar.gz
  • Upload date:
  • Size: 27.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.10

File hashes

Hashes for gracie_dictionary_api-6.8.1627938262.tar.gz
Algorithm Hash digest
SHA256 a0b58c3a97dde4dc2902e7fe1223dc78a43a3d107479927f06e2d50c608daf6b
MD5 fbbef72a01108b07d9d7814d4e433578
BLAKE2b-256 1829755be86bbf63efc00bc39d6f6658367c3347b07ee17781920d14754a64d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gracie_dictionary_api-6.8.1627938262-py3-none-any.whl
  • Upload date:
  • Size: 60.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.10

File hashes

Hashes for gracie_dictionary_api-6.8.1627938262-py3-none-any.whl
Algorithm Hash digest
SHA256 3b99bde77f2ae3d3835e519f4239be9a73ba092014ed02699d95892c98f3f6b1
MD5 417fe4ff924f99bb1e1351d6f1a43bde
BLAKE2b-256 c8d1532a7d16b192aa7691e768277a6fdd1ed575706daa3792c3b9607dc427fb

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