API client for the online platform ESDD (evaluation, standardization, and derived data)
Project description
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Ü
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 esdd_client-0.1.9.0.tar.gz.
File metadata
- Download URL: esdd_client-0.1.9.0.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c42b3ae9fbb2101a2fdaa3d6332bc837ca725dcc2568874d33eb0e55e407c6a
|
|
| MD5 |
3bb48cd3ae9dae1c501d987611639d76
|
|
| BLAKE2b-256 |
dc788a53d7001f50bd686c8c032d45462ec6300ff8ea7e678b238843d1d41794
|
File details
Details for the file esdd_client-0.1.9.0-py3-none-any.whl.
File metadata
- Download URL: esdd_client-0.1.9.0-py3-none-any.whl
- Upload date:
- Size: 13.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd5d1389f4325c4b7b1824ee073409077a4d2a57e1f40dbed6ed7a2269f5c94c
|
|
| MD5 |
bc41f5646e23bbbb3c085d5615c46052
|
|
| BLAKE2b-256 |
5273598499be5dd2a840641e780238f3d7e3d5a4d43747b2e29e7d2ff4bb4d0c
|