taskcluster
Python client for Taskcluster
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no known vulnerabilities, supports current Python versions (3.9–3.14), and is widely used (top 5000 PyPI). The MPL-2.0 copyleft license is standard for Mozilla projects and poses no barrier to internal or open-source use. Install it if you need to interact with a Taskcluster deployment from Python.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later.
- Taskcluster deployment URL (rootUrl) is required; credentials are optional depending on API method authentication requirements.
- Low install friction with a pure-Python wheel distribution.
License · maintenance · safety
MPL-2.0 (copyleft) — Licensed under MPL-2.0 (copyleft). You must disclose source code modifications and distribute under the same license if you modify and redistribute the package, though internal use does not trigger these obligations.
last release 2026-08-13 (1 days) · last repo commit 2026-08-14 · 430 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 987,895 downloads/mo, #4,570 on PyPI
Alternatives
Verify before relying
import taskcluster
# Create a client with environment-based configuration
queue = taskcluster.Queue(taskcluster.optionsFromEnvironment())
# Or with explicit credentials
index = taskcluster.Index({
"rootUrl": "https://tc.example.com",
"credentials": {"clientId": "id", "accessToken": "token"}
})
# For async usage
import taskcluster.aio
queue_async = taskcluster.aio.Queue(taskcluster.optionsFromEnvironment())- Whether the library handles automatic credential refresh or expiration management for long-running applications.
- Performance characteristics and rate-limiting behavior when making high-volume API requests.
- Compatibility and behavior differences between sync and async variants beyond the calling convention.
What it is and what it does
Taskcluster is a Python client library that wraps the Taskcluster API, a distributed task execution and scheduling platform. It provides both synchronous (taskcluster.*) and asynchronous (taskcluster.aio.*) client classes for each Taskcluster service—Queue, Auth, Index, Secrets, and others—allowing you to create tasks, manage credentials, and interact with the platform programmatically.
The library handles authentication via Hawk protocol (through the mohawk dependency), credential generation and temporary credential creation, timestamp handling for task expiration and deadlines, and URL generation for both public and signed API endpoints. It reads standard Taskcluster environment variables automatically and supports scoped authorization, making it suitable for both standalone scripts and tasks running within a Taskcluster deployment.
Use it for
- Submitting and monitoring tasks to a Taskcluster queue from a CI/CD pipeline or build orchestration system.
- Generating temporary credentials with limited scopes for third-party services or delegated task execution.
- Building task scheduling and workflow automation tools that interact with Taskcluster's task graph and queue APIs.
- Querying task history, logs, and status from the Index and Queue services in monitoring or reporting applications.
- Creating signed URLs for secure API access without embedding long-lived credentials in client code.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no known vulnerabilities, supports current Python versions (3.9–3.14), and is widely used (top 5000 PyPI). The MPL-2.0 copyleft license is standard for Mozilla projects and poses no barrier to internal or open-source use. Install it if you need to interact with a Taskcluster deployment from Python.
Install
taskcluster on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. The package is actively maintained with a recent release and no known vulnerabilities. It depends on common, well-established libraries like aiohttp, requests, and python-dateutil.
Requires Python 3.9 or later. Taskcluster deployment URL (rootUrl) is required; credentials are optional depending on API method authentication requirements.
License in practice
Licensed under MPL-2.0 (copyleft). You must disclose source code modifications and distribute under the same license if you modify and redistribute the package, though internal use does not trigger these obligations.
Quickstart
import taskcluster
# Create a client with environment-based configuration
queue = taskcluster.Queue(taskcluster.optionsFromEnvironment())
# Or with explicit credentials
index = taskcluster.Index({
"rootUrl": "https://tc.example.com",
"credentials": {"clientId": "id", "accessToken": "token"}
})
# For async usage
import taskcluster.aio
queue_async = taskcluster.aio.Queue(taskcluster.optionsFromEnvironment())
Verify before relying
- Whether the library handles automatic credential refresh or expiration management for long-running applications.
- Performance characteristics and rate-limiting behavior when making high-volume API requests.
- Compatibility and behavior differences between sync and async variants beyond the calling convention.
Package facts
| License | MPL-2.0 copyleft |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 7 packagesaiohttpasync-timeoutmohawkpython-dateutilrequestsslugidtaskcluster-urls |
| Maintenance | Actively maintained 1 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 987,895 / month, #4,570 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersLicense :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules |
Evidence: taskcluster-105.0.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “taskcluster api client”
- taskclusterA complete Python client library for Taskcluster that provides both…
- taskcluster-urlsGenerates standardized URLs for Taskcluster resources (APIs, schemas,…
- taskcluster-taskgraphTaskgraph generates and submits task graphs to Taskcluster CI by…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also taskcluster-urls · taskcluster-taskgraph · gcloud-aio-taskqueue · gcloud-aio-auth · gcloud-rest-taskqueue · gcloud-rest-auth · aa-taskmonitor · janus · taskiq · celery