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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: gracie_dictionary_api-2.2.1627934770.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-2.2.1627934770.tar.gz
Algorithm Hash digest
SHA256 ad7124ce82bb467412754af6a57d59b0a22400fadd30ae67cab2575b2a2d40f0
MD5 8c08961ecdbf56f3d4a2950009eb9426
BLAKE2b-256 775f87d6bf5ad9dfc2274d4c6842ca367be2b84fc01a3245fb7fccaf2a032993

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gracie_dictionary_api-2.2.1627934770-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-2.2.1627934770-py3-none-any.whl
Algorithm Hash digest
SHA256 bf77c5f503a5ffd8076ededa3a384a56cd7d5c8186858505a2cf181393e24b8c
MD5 d9a5fe1abb65e37e67fc5c7fe5ebcf93
BLAKE2b-256 0eb7f305177edc4a807318133f44d3d3705e6db616fd56242d9db38c79561efd

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