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

Built Distribution

File details

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

File metadata

  • Download URL: gracie_dictionary_api-6.10.1.1644007843.tar.gz
  • Upload date:
  • Size: 28.8 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.10.1.1644007843.tar.gz
Algorithm Hash digest
SHA256 35a03eb6a1e806fca17788760a5cf69c67480f5652d78d038f60a646f6001dd4
MD5 5293bd02f948d3d2a183664c3976c601
BLAKE2b-256 a9f017a729e5a8ab98a62b3bdab27a3f1cd3f128be4358304232c7d04377110f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gracie_dictionary_api-6.10.1.1644007843-py3-none-any.whl
  • Upload date:
  • Size: 63.8 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.10.1.1644007843-py3-none-any.whl
Algorithm Hash digest
SHA256 56f7c2e8cd4143dd4332ecd281534647d0f58615f9450a0132f555f963138f13
MD5 52ffb9b3eb640a569882e40625138999
BLAKE2b-256 7ffed3a41c450b5865e1d6e06e4bc711c5925a74c82b956e51a5776c38243c8c

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