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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: gracie_dictionary_api-2.2.1614177556.tar.gz
  • Upload date:
  • Size: 26.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.7

File hashes

Hashes for gracie_dictionary_api-2.2.1614177556.tar.gz
Algorithm Hash digest
SHA256 e5658d9ffca384d6eee81de298436acdf3f1c01461b7bca8df55cc6e504f347d
MD5 c977d999d135ff01d2d2bc60f8d1a997
BLAKE2b-256 3ce98bdd117fd883baa41191cc5e4cc119759b01c23a4a7a9ee2ecddab0ad00c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gracie_dictionary_api-2.2.1614177556-py3-none-any.whl
  • Upload date:
  • Size: 57.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.7

File hashes

Hashes for gracie_dictionary_api-2.2.1614177556-py3-none-any.whl
Algorithm Hash digest
SHA256 aaaadbb97db4b1297205a458eefce9dba5e62e2f1739e48e629a29ce27bc6fc6
MD5 7bcadc49793b322ce1458c5937ecfcd8
BLAKE2b-256 91a29a07a294feb43d19abad15a6df44036118cb43ba363770182d7870f846c2

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