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.0.tar.gz
(3.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dkgr_client-0.2.0.tar.gz.
File metadata
- Download URL: dkgr_client-0.2.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69a39e675b3df8a815468858b93216e48db4bf1f79d1ef6d41bc0636d24d7aca
|
|
| MD5 |
4b8c4ba01058946e51ea54d1a3b5b3b0
|
|
| BLAKE2b-256 |
b89bece9916c5c2aa2708b688ed857dc00090411fb2601beb88c592161e3e1cc
|
File details
Details for the file dkgr_client-0.2.0-py3-none-any.whl.
File metadata
- Download URL: dkgr_client-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9b31481c9728e399136150a103bb749e0235b8b8fc9278b4a6807821404ba61
|
|
| MD5 |
f5d1632e9c74b5cc16b674e76255a556
|
|
| BLAKE2b-256 |
fef21cc7bcbaa2e1694da7f7c4c753fad60c1696c1844112690adacecb956a0e
|