tabletask
A minimal, object-centric format to author tabletop manipulation tasks in simulation, from simple to complex.
A task says where things start and what must become true:
{
"id": "robolab-banana_in_bowl",
"instruction": "Pick up the banana and place it in the bowl.",
"start": [
["on", "banana", "table"],
["on", "bowl", "table"]
],
"goal": [
["inside", "banana", "bowl"]
]
}
Objects carry named regions that tasks place things in and check against.
Installation
pip install tabletask
pip install "tabletask[control]"
pip install "tabletask[rtx]"
Example
import tabletask
env = tabletask.make("robolab-banana_in_bowl")
obs, info = env.reset(seed=0)
for _ in range(600):
action = [*obs["robot"]["joint_position"], 0.0]
obs, reward, terminated, truncated, info = env.step(action)
if terminated or truncated:
break
print("success:", info["success"])
env.close()
Several environments at once, each in its own process and renderer:
envs = tabletask.make("robolab-banana_in_bowl", num_envs=8, gpus=[0])
observations, infos = envs.reset(episodes=range(8))
observations, rewards, terminated, truncated, infos = envs.step(actions)
envs.close()
Acknowledgments
Tasks are ported from ABC and RoboLab. The robot models come from MuJoCo Menagerie.
Metadata
Release files for tabletask 0.2.3
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 | |
|---|---|---|---|---|
| tabletask-0.2.3.tar.gz | 8.2 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tabletask-0.2.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.5 MB
Release files / tabletask-0.2.3.tar.gz
| Download URL | tabletask-0.2.3.tar.gz |
|---|---|
| Size | 8.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
33bc13b9f240dbd8bb0748e57bb32845ba2c20c22032467defa16144b5e918a8
|
|
BLAKE2b-256 checksum How to use checksums |
58b5e49137f4c2d97aea3a6f3866a1b97c37c80b9c190d0eae666eac79dd318b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.9
|
Release files / tabletask-0.2.3-py3-none-any.whl
| Download URL | tabletask-0.2.3-py3-none-any.whl |
|---|---|
| Size | 8.3 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
583a5826ef9cfdcc819f6d6c99489badf13b4da9932ce8d6b14d443fbbbefa47
|
|
BLAKE2b-256 checksum How to use checksums |
074a1df6b43e451b5c3064e65ed6441e7480480f4a7c9d68b374110ca81720e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.9
|
Security for tabletask 0.2.3
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.