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', 
        base_url='https://api.example.com'
    )
    
    # 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.1.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.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dkgr_client-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 c10622a378a89584c0e95388cf5acf453b2f80c906669924d9b735d7486d384a
MD5 b2da9e54f4a6a106c4c2e7ce79d2e961
BLAKE2b-256 6bcd5026ba5a312cdd5fe83232f1757f37cc4114d86a203a5901ce0677e1429a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dkgr_client-0.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 65c24809b4d5362260f1755d63a74e94a57a324699673b3a2936a8bf86786b70
MD5 2ce67a6d267d139a55ff4a38a672d5b2
BLAKE2b-256 bd84afa0b9e1e5e1d980419e253fbf02e30df9f9602dde857cba67c24742745f

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