{"categories":[{"label":"Database","url":"https://skillfed.io/packages/category/database/3"}],"enrichment":{"capability":"pytd provides Python interfaces to Treasure Data's REST APIs, Presto query engine, and Plazma storage, enabling efficient read/write operations on large data volumes through pandas DataFrames.","skillfed_tags":["data-warehouse","pandas-integration","sql-query"],"use_cases":["Run Presto or Hive SQL queries against Treasure Data and retrieve results as Python dicts or via DB-API cursors","Write pandas DataFrames to Treasure Data tables using bulk import, INSERT INTO, or Spark writer","Migrate from the deprecated pandas-td package while maintaining compatible function signatures","Perform iterative data retrieval in Jupyter notebooks to avoid Presto timeout errors on large result sets","Access Treasure Data's Plazma primary storage directly via PySpark for high-volume analytical workloads"],"what_it_does":"pytd is a Python driver for Treasure Data that bridges pandas DataFrames with Treasure Data's query engines and storage. It wraps the REST API, Presto query engine, and Plazma primary storage into a single client interface, letting you issue SQL queries and retrieve results as structured data, or write DataFrames back to Treasure Data using bulk import or INSERT INTO methods.\n\nThe package is designed for analytical workflows in Jupyter notebooks and Python applications where you need to move data between pandas and Treasure Data efficiently. It supports both Presto and Hive query engines, offers generator-based iterative result retrieval via DB-API to handle timeouts on large result sets, and provides multiple data ingestion strategies\u2014bulk import for scalability, INSERT INTO for memory efficiency on smaller datasets, or Spark for high-performance writes to Plazma storage (requires special account activation).","worth_installing":"Yes. pytd is actively maintained, has no known vulnerabilities, uses a permissive license, and offers low install friction. It is the recommended Python client for analytical workflows and efficient data movement with Treasure Data. Install it if you need to query Treasure Data or write pandas DataFrames to it; use td-client-python instead if you only need basic REST API operations."},"id":"pytd","links":{"html":"https://skillfed.io/packages/pytd","md":"https://skillfed.io/packages/pytd.md","pypi":"https://pypi.org/project/pytd/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-02-03","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"pytd","python_support":"supports_current","summary":"Treasure Data Driver for Python"},"popularity":{"monthly_downloads":352031,"position":7316,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.4.0"}
