HumanTask.ai - Python Package
⚠️ This package is in private beta. If you want to try it out, join the waitlist.
Installation
pip install humantask
Usage
When you run a humantask, it will return ONCE AND ONLY ONCE the task is completed by a human. You can kill the process anytime and run it back, once the task is completed you will get the answer.
Synchronous
import os
from humantask import HumanTask
humantask = HumanTask(
# This is the default and can be omitted
api_key=os.environ.get("HUMANTASK_API_KEY"),
)
answer = humantask.run(
# Put your task parameters here
)
# wait until the task is completed by a human
Asynchronous
import os
import asyncio
from humantask import AsyncHumanTask
humantask = AsyncHumanTask(
# This is the default and can be omitted
api_key=os.environ.get("HUMANTASK_API_KEY"),
)
async def main():
answer = await humantask.run(
# Put your task parameters here
)
# wait until the task is completed by a human
asyncio.run(main())
Metadata
Release files for humantask 1.3.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| humantask-1.3.6.tar.gz | 1.9 kB | Without provenance | Details for humantask-1.3.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| humantask-1.3.6-py3-none-any.whl | Python 3 | none | any | Details for humantask-1.3.6-py3-none-any.whl |
Total release size: 4.4 kB
Release files / humantask-1.3.6.tar.gz
| Download URL | humantask-1.3.6.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
49baa1a7bf3dac132b6a944cfbfe48e403107334db70e706b558b91dae78c7ea
|
|
BLAKE2b-256 checksum How to use checksums |
8bd61dc48e127489378d62d085be4ab7358e39706ef1895a124b703cdd9730be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.0 CPython/3.12.0 Darwin/23.0.0
|
Release files / humantask-1.3.6-py3-none-any.whl
| Download URL | humantask-1.3.6-py3-none-any.whl |
|---|---|
| Size | 2.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
77ebd4ca603138b31550e630d1b05eb312817094b0da2f064360e2535e784ac7
|
|
BLAKE2b-256 checksum How to use checksums |
1a357e523b2c8f676c940e7fde67f4dbbe0f5f052f5d2968caeacf7c284c1a7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.0 CPython/3.12.0 Darwin/23.0.0
|
Security for humantask 1.3.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.