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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: gracie_dictionary_api-6.8.1639661072.tar.gz
  • Upload date:
  • Size: 28.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 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.1639661072.tar.gz
Algorithm Hash digest
SHA256 3d22cc609d2c1a62b89f465b821a9585d9d88999e5ba0e823947ca66c44aa9ea
MD5 ebbe3db90261e9c8a38d6a0172f7b379
BLAKE2b-256 71c206fb51578af5e40092bb4f005eb6a3f698c3120ddfc973994556c90b5bcd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gracie_dictionary_api-6.8.1639661072-py3-none-any.whl
  • Upload date:
  • Size: 62.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 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.1639661072-py3-none-any.whl
Algorithm Hash digest
SHA256 39ff98fa73d13369db4c351c32036a17e1bcd25d168c51075dd7fb28f1144874
MD5 7cbab3aeaf344b44574ffb19387ffdab
BLAKE2b-256 c59a1cea53cb8ce8c3529b887324a8befbe5d03a5d35765cabda38ae9ebb091b

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