Skip to main content

tabletask

A minimal, object-centric format to author tabletop manipulation tasks in simulation, from simple to complex.

tasks

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"]
  ]
}

regions: a drawer, a mug handle, a conveyor belt, a crate, the compartments of a tea drawer, the slots of a dish rack, a pouring cup and the pegs of a mug tree

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.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tabletask 0.2.2
File Size Uploaded Provenance
tabletask-0.2.2.tar.gz 8.2 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for tabletask 0.2.2
File Interpreter ABI Platform
tabletask-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 16.5 MB

Release files / tabletask-0.2.2.tar.gz

Download URL tabletask-0.2.2.tar.gz
Size 8.2 MB
Tags Source
SHA-256 checksum
How to use checksums
987fdc02f6383a850c7886e7e340108969e5c4c716782cfd89ee8971cea23147
BLAKE2b-256 checksum
How to use checksums
3c258702bb30e939564eda3132d4a6d66d29ffaee71c6a8ce6817f5a3261353d
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.2-py3-none-any.whl

Download URL tabletask-0.2.2-py3-none-any.whl
Size 8.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
94bab77443e2ba02a78e779b61662d76ea2d1f02f0ddbcd92dd992ce7a20d65f
BLAKE2b-256 checksum
How to use checksums
0c006ea172b57203a8a01bb07cd00146dd092b732c90c488743bdf11e7e323f4
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.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page