Skip to main content

Wrapper for dkgr backend

Project description

dkgr_client

Installation

pip install dkgr_client

Usage

from dkgr_client import ValidationClient

try:
    # Initialize the client
    client = ValidationClient(
        api_key='your_api_key', 
    )
    
    # Start a new event
    client.start_event()

    # Validate
    results = client.validate(
        type,
        text,
    )

    # Extract useful info from results
    client.humaize_response(results))

    # Close the client
    client.close()

except Exception as e:
    print(e)

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

dkgr_client-0.2.3.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dkgr_client-0.2.3-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file dkgr_client-0.2.3.tar.gz.

File metadata

  • Download URL: dkgr_client-0.2.3.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for dkgr_client-0.2.3.tar.gz
Algorithm Hash digest
SHA256 b66fb3b69d256b92e495dfd39eab9a4872d3c19231886bca15fd316936a742b4
MD5 56c9ce9c1a3b1a1d1a8771dd90dfddfa
BLAKE2b-256 171fc0c544d5e8b8ad43ee3a6cabde94eceae97d2f1f391a39f4c65887936ba2

See more details on using hashes here.

File details

Details for the file dkgr_client-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: dkgr_client-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for dkgr_client-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2e910521fd9502feadd0a50fa5cb4cf56f8f183578947eda17496e70c36cd674
MD5 af3313482f2836022a47603c59284b3c
BLAKE2b-256 bf8a5ede781f04823eff1049bb776255319a286bee87429b935109f3b1f798e1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page