$npx skillfedfor your agent

td-client

Treasure Data API library for Python

With conditionsPyPI InternetReleased Jan 2026370.2K downloads / moApache Software LicensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — td_client-1.7.0-py3-none-any.whl
v1.7.0 · released 2026-01-29 · Python >=3.10 · 3 runtime deps: python-dateutil, msgpack, urllib3

Yes, if you use Treasure Data. The library is stable, has low install friction, carries no known vulnerabilities, and provides both raw API access and Database API compatibility. The 197-day release gap suggests maintenance is reactive rather than proactive, so verify that it still aligns with your Treasure Data API version before relying on it for production.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Treasure Data API key must be provided via TD_API_KEY environment variable or apikey= argument.
  • Low install friction with three common runtime dependencies.

License · maintenance · safety

Apache Software License (permissive) — Apache Software License (permissive) allows use in most projects with minimal restrictions; you must include a copy of the license and state significant changes.

last release 2026-01-29 (197 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 370,233 downloads/mo, #7,181 on PyPI

Verify before relying

pip install td-client

import tdclient

with tdclient.Client() as td:
    for job in td.jobs():
        print(job.job_id)
  • Whether the 197-day release gap indicates active maintenance or dormancy relative to Treasure Data's own API evolution.
  • Current state of SSL certificate verification and whether certifi is still recommended or now bundled.
  • Whether the package implements the full Python Database API v2.0 specification or a subset.
Same gist for agents: .md · .json

What it is and what it does

td-client is a Python wrapper around Treasure Data's REST API that lets you run queries, manage jobs, and import data into Treasure Data's cloud warehouse. It supports direct API calls and Database API compatibility for tools like pandas. The library includes comprehensive type hints for static type checking and handles streaming imports, bulk batch imports, and result retrieval.

You interact with Treasure Data through a Client context manager, passing your API key and choosing an endpoint. The package handles authentication, request formatting, and response parsing. It depends on python-dateutil, msgpack, and urllib3 for date handling, binary serialization, and HTTP requests respectively.

Use it for

  • Run SQL queries (Hive or Presto) against Treasure Data and retrieve results row-by-row in Python.
  • List and monitor query jobs running on Treasure Data, checking status and retrieving results.
  • Import CSV or JSON files into Treasure Data tables in streaming or batch mode with custom column type handling.
  • Load Treasure Data query results into DataFrames using pandas with Database API compatibility.
  • Bulk import msgpack-formatted data with error tracking and validation before committing to the warehouse.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you use Treasure Data.

The library is stable, has low install friction, carries no known vulnerabilities, and provides both raw API access and Database API compatibility. The 197-day release gap suggests maintenance is reactive rather than proactive, so verify that it still aligns with your Treasure Data API version before relying on it for production.

Install

td-client on PyPI

Before you install

Low install friction with three common runtime dependencies. Package is aging (197 days since last release) but maintains stable support for Python 3.10 through 3.14 and PyPy.

Requires Python 3.10 or later. Treasure Data API key must be provided via TD_API_KEY environment variable or apikey= argument.

License in practice

Apache Software License (permissive) allows use in most projects with minimal restrictions; you must include a copy of the license and state significant changes.

Quickstart

pip install td-client

import tdclient

with tdclient.Client() as td:
    for job in td.jobs():
        print(job.job_id)

Verify before relying

  • Whether the 197-day release gap indicates active maintenance or dormancy relative to Treasure Data's own API evolution.
  • Current state of SSL certificate verification and whether certifi is still recommended or now bundled.
  • Whether the package implements the full Python Database API v2.0 specification or a subset.

Package facts

LicenseApache Software License permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
python-dateutilmsgpackurllib3
MaintenanceAging 197 days since the last release
First released
Downloads370,233 / month, #7,181 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaEnvironment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Internet

Evidence: td_client-1.7.0-py3-none-any.whl

Tags

Capabilities
treasure data python clienttreasure data api librarycloud data warehouse pythonquery treasure data from pythonbulk data import pythontreasure data job managementpython database api wrapper
Topics
data-warehouserest-clientbulk-import

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 › “treasure data python client”

  • td-clientPython client library for the Treasure Data REST API, enabling…
  • pytdpytd provides Python interfaces to Treasure Data's REST APIs, Presto…
  • pandas-tdPandas-TD connects pandas DataFrames to Treasure Data's cloud…

Give your agent the search over MCP, or paste the wish link into any chat.

More Internet packages

botocore Worth it
PyPI · Internet · released Aug 2026

Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.

Install it if you need programmatic access to AWS services.

permissive licensepure Python · 3.10+
1.5Bdownloads / mo
aiobotocore Worth it
PyPI · Internet · released Aug 2026

Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.

Install it if you need to call AWS services from async Python code; it is the standard way to do so.

Apache-2.0pure Python · 3.10+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
filelock Worth it
PyPI · Libraries · released Aug 2026

Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.

MITpure Python · 3.10+
717.1Mdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
googleapis-common-protos Worth it
PyPI · Internet · released Aug 2026

Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.

Apache-2.0pure Python · 3.10+
513.7Mdownloads / mo

See also pandas-td · pytd · salesforce-bulk · Nasdaq-Data-Link · Quandl · scrapinghub · robin-stocks · sqlite-utils · hdbcli · dbs3-pycurl