ESDD Client
This is the API client for the online platform ESDD (evaluation, standardization, and derived data).
Install it with pip install esdd-client.
Basic commands
Authentication via Github
# Get authorization URL
esdd auth github
# you also can use MPDS platform for login
# Copy URL to browser, authorize, get access token from url
# set token
esdd auth set-token <token>
# Check token
esdd auth info
Working with tasks
# Create task
esdd task create --question "Annotate dataset" --bid 50
# List tasks
esdd task list
esdd task list --status pending --limit 5
# Get task details
esdd task get 123
# Assign to user
esdd task assign 123 456
# Start task
esdd task start 123
# Finalize with data
esdd task update 123 --json_data '{"result": "completed"}'
esdd task finalize 123
# Approve/Reject
esdd task approve 123
esdd task reject 123
Complete workflow example
# 1. Login as admin
esdd auth set-token <admin_token>
# 2. Create and assign task
esdd task create --question "Validate data" --assign-to 789 --bid 100
# 3. Login as assessor
esdd auth logout
esdd auth set-token <assessor_token>
# 4. Perform a task
esdd task list
esdd task start <task_id>
esdd task finalize <task_id>
# 5. Return as admin
esdd auth logout
esdd auth set-token <admin_token>
esdd task approve <task_id>
License
MIT © Gumar Arutynian, Materials Platform for Data Science OÜ
Metadata
Release files for esdd-client 0.1.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| esdd_client-0.1.9.0.tar.gz | 9.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| esdd_client-0.1.9.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.1 kB
Release files / esdd_client-0.1.9.0.tar.gz
| Download URL | esdd_client-0.1.9.0.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c42b3ae9fbb2101a2fdaa3d6332bc837ca725dcc2568874d33eb0e55e407c6a
|
|
BLAKE2b-256 checksum How to use checksums |
dc788a53d7001f50bd686c8c032d45462ec6300ff8ea7e678b238843d1d41794
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / esdd_client-0.1.9.0-py3-none-any.whl
| Download URL | esdd_client-0.1.9.0-py3-none-any.whl |
|---|---|
| Size | 13.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cd5d1389f4325c4b7b1824ee073409077a4d2a57e1f40dbed6ed7a2269f5c94c
|
|
BLAKE2b-256 checksum How to use checksums |
5273598499be5dd2a840641e780238f3d7e3d5a4d43747b2e29e7d2ff4bb4d0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|