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.2.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.2-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dkgr_client-0.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 20cd2c036256f7d286defe45974b9f69c91946bfa0d0299c42015d82784068bd
MD5 1d681a69e896de739f4c064dbdde756c
BLAKE2b-256 9ca3eca3a7f205f913600ddb474be3a3d4dbd5649f6d5a7afa8541225e842f72

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dkgr_client-0.2.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 14cbe91072fe1da57a84e1c328ff79df567b4c3f13c2e46e568702e8b7008c31
MD5 42a908694e5acfabef9813b254ac66c0
BLAKE2b-256 f033590dac1ad89633ab6a44261b50f27a7f2da28819bf95c55bf7bebc9f52d9

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