robocorp-tasks
robocorp-tasks is a Python framework designed to simplify the development of Python automations.
Why
While Python is widely used in the automation world, many solutions end up being ad-hoc, making it difficult to navigate different projects and keep up with the features required for analysing the results of such automations afterwards.
How
robocorp-tasks provides a runner for running tasks that offers logging out of the box for Python code (showing method calls, arguments, assigns, etc) by leveraging robocorp-log, and managing the lifecycle for running such tasks.
Getting started
Replace the code in your __main__ with a method that has the name of your task (which should not have parameters) and decorate it with the @task decorator, like this:
i.e.:
from robocorp.tasks import task
@task
def my_task():
...
Call your task using the command line below, customizing the directory and task name as needed:
python -m robocorp.tasks run <path/to/file.py or directory> -t <task_name>
Note: if you have only one defined task in your target, the -t <task_name> option is not needed.
Note: the task name is the name of the method decorated with @task.
Note: if a directory is given, only files named *task*.py will be used for collection.
Note: in the current version only one task can be run per invocation. If more than one task is found an error will be given and no tasks will be run.
View the log results in output/log.html.
Guides
API Reference
Explore our API for extensive documentation.
Changelog
A list of releases and corresponding changes can be found in the changelog.
Metadata
Release files for robocorp-tasks 4.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| robocorp_tasks-4.1.1.tar.gz | 34.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| robocorp_tasks-4.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 76.3 kB
Release files / robocorp_tasks-4.1.1.tar.gz
| Download URL | robocorp_tasks-4.1.1.tar.gz |
|---|---|
| Size | 34.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb254020133c89b4a5015ad0f4a13dfceeb6f68eb2459d5291fe8ce975307c94
|
|
BLAKE2b-256 checksum How to use checksums |
ae9f8b75b0bdfb872175fc133be0acc2235458e842b48609d1766649805e58fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 13, 2026.
Transparency logRelease files / robocorp_tasks-4.1.1-py3-none-any.whl
| Download URL | robocorp_tasks-4.1.1-py3-none-any.whl |
|---|---|
| Size | 42.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8d2b69f342db58e6cf5f5adb83c63ab2c7485620a4af670fd67efeca9f86543d
|
|
BLAKE2b-256 checksum How to use checksums |
80e05917d07db19ead1be1a5b9a926a752e6a96d284ceaf1275fbd4bbcfddf68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 13, 2026.
Transparency log