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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: gracie_dictionary_api-6.8.1644007445.tar.gz
  • Upload date:
  • Size: 28.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for gracie_dictionary_api-6.8.1644007445.tar.gz
Algorithm Hash digest
SHA256 3681a7025def999d2ce954f6d7c6f084d7d69df0e9179d6e216542590b18b0a1
MD5 7b33898c6aaf0c3684facc245cea7649
BLAKE2b-256 96bbcca38e2efb1c0d3bfe3249cdd2d3eb8c5db4ca9624ce8d03172fc35f34c9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gracie_dictionary_api-6.8.1644007445-py3-none-any.whl
  • Upload date:
  • Size: 63.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for gracie_dictionary_api-6.8.1644007445-py3-none-any.whl
Algorithm Hash digest
SHA256 8d64a595e07d4fea825e8abc8029510ab110c3df68f4dab57887670d4ab17230
MD5 07e7e184296a42a9eaf181f348b50fbc
BLAKE2b-256 87801770590b9fb3c265a1cf0b7fc69f77ec9d7ec0ca72c71ce87c856b014ad2

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