Skip to main content

tabletask

A minimal format to author tabletop manipulation tasks in simulation, from simple to complex, as jsons.

tasks

Example:

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

Install:

pip install tabletask

Tasks ship with the package; the assets they name are fetched from the library the first time a task asks for them and kept in ~/.cache/tabletask, so an install stays small. Set TABLETASK_ASSETS to keep them elsewhere, or TABLETASK_LIBRARY_URL to serve them from somewhere else. Working in a checkout, the assets beside you are used and nothing is fetched.

Usage:

import tabletask
from tabletask.robots import Droid

env = tabletask.make("tasks/base/robolab-banana_in_bowl.json").add(Droid())
obs, info = env.reset()
action = [*obs["robot"]["joint_position"], 0.0]
obs, reward, terminated, truncated, info = env.step(action)
env.close()

MuJoCo runs the physics. tabletask.make(task, monitor_interval=0.01) sets how often task conditions are checked, in seconds; you can also set env.monitor_interval before stepping. The interval is rounded to physics steps (minimum one) and does not change the physics timestep.

Acknowledgement:

Tasks ported from ABC and RoboLab.

Licence: MIT, for the library and the tasks. The ported assets carry the terms of where they came from; assets/sources/ holds their manifests and licence notices.

Metadata

Release files for tabletask 0.1.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.1.0
File Size Uploaded Provenance
tabletask-0.1.0.tar.gz 7.6 MB Without provenance Details

Built distribution (wheel)

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

Total release size: 15.2 MB

Release files / tabletask-0.1.0.tar.gz

Download URL tabletask-0.1.0.tar.gz
Size 7.6 MB
Tags Source
SHA-256 checksum
How to use checksums
2fa4b20350d723c7983e61a898e10f82f35c9ed305d0bca2a85f9f32cb515e93
BLAKE2b-256 checksum
How to use checksums
71a2beffa503c12f2549dbf54b9f3541021bfa277a8cc49c6221930cc1fe8b3b
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.1.0-py3-none-any.whl

Download URL tabletask-0.1.0-py3-none-any.whl
Size 7.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
76e6ba9a0f76d588598332228647bfb5e2f795559c7ed0c5f84e2c39b17222d2
BLAKE2b-256 checksum
How to use checksums
3d7a73306949358b4142d15dafdd32330ae7a058d70010227cbc9936f8d32880
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.1.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