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

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.0
File Size Uploaded Provenance
tabletask-0.2.0.tar.gz 8.2 MB Without provenance Details

Built distribution (wheel)

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

Total release size: 16.5 MB

Release files / tabletask-0.2.0.tar.gz

Download URL tabletask-0.2.0.tar.gz
Size 8.2 MB
Tags Source
SHA-256 checksum
How to use checksums
0b666b327886583591fb1aa86ea4d1a47aabfaaf406fc17ddc089d00467bac7a
BLAKE2b-256 checksum
How to use checksums
ae86f9d7b084c9cc9732f6b2e7fb0927b130b9b627ed51093f9774c56f231cc6
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.0-py3-none-any.whl

Download URL tabletask-0.2.0-py3-none-any.whl
Size 8.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
10ee1f6bac35a5b6b30e84df15bb3d7b09b70d973b80b122a749998f882b3a96
BLAKE2b-256 checksum
How to use checksums
e95eabaf03749e22ff8d7f42f143a861254f42e6c6aa9a0d0e7fbe178aff9796
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.0

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