triad
A collection of python utils for Fugue projects
What it is and what it does
Triad is a collection of utility functions built to support Fugue projects, with a focus on bridging pandas and PyArrow operations. It provides schema handling, type conversion, dataframe manipulation helpers, and filesystem abstraction through fsspec. The package handles compatibility across pandas and PyArrow versions, including recent changes in pandas 2.2+ and PyArrow type systems.
The package is maintained actively and supports modern Python versions (3.9 through 3.14). Its main dependencies are numpy, pandas, six, pyarrow, and fsspec, making it suitable for data processing workflows that need reliable type casting and schema validation across different dataframe libraries.
Use it for:
- Convert between pandas and PyArrow data types while maintaining schema consistency in data pipelines.
- Enforce type safety on dataframes during ETL operations within Fugue workflows.
- Abstract filesystem operations across local and remote storage using fsspec integration.
- Parse and manipulate schema definitions for structured data validation.
- Handle pandas and PyArrow compatibility issues across version upgrades.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Triad provides utility functions for working with pandas, PyArrow, and schemas, designed to support Fugue projects with type conversion, dataframe manipulation, and filesystem operations.
Yes. Triad is actively maintained, has no known vulnerabilities, uses a permissive Apache-2.0 license, and installs with low friction. It is well-suited for projects using Fugue or those needing reliable pandas/PyArrow interoperability and type utilities. The recent version history shows ongoing compatibility work with current Python and library versions.
Install
triad on PyPI
pip
pip install triaduv
uv add triadpoetry
poetry add triadInstalling triad
Before you install
Low install friction with a pure-Python wheel. Actively maintained with recent releases supporting current Python versions (3.9–3.14) and recent pandas/PyArrow compatibility updates.
License in practice
Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions.
Quickstart
pip install triad
import triad
from triad.utils.pandas_like import PandasLikeUtils
# Example: type enforcement on a pandas DataFrame
df = PandasLikeUtils.enforce_type(df, schema)
Requires Python 3.9 or later; depends on numpy, pandas, pyarrow, six, and fsspec at runtime.
Verify before relying
- Specific utility functions available in the public API beyond type conversion and schema handling.
- Performance characteristics or scale limits for large dataframes or PyArrow tables.
- Integration patterns with Fugue beyond being a utility dependency.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 5 — numpy, pandas, six, pyarrow, fsspec |
| Maintenance | actively maintained — 184 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,421,119/month — #3,071 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: triad-1.0.2-py3-none-any.whl
Keywords: fugue, utilities
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
fugueFugue provides a unified Python interface to…
permissive · top 5,000 on PyPI
adagioAdagio provides a directed acyclic graph (DAG)…
permissive · top 5,000 on PyPI
pandaspandas provides fast, flexible data structures…
permissive · top 100 on PyPI
qpdQPD translates SQL SELECT statements into…
permissive · top 15,000 on PyPI
pyarrowpyarrow provides Python bindings to Apache…
permissive · top 100 on PyPI
narwhalsNarwhals provides a lightweight compatibility…
permissive · top 1,000 on PyPI
fugue-sql-antlrParses Fugue SQL dialect into an abstract…
permissive · top 5,000 on PyPI
geoarrow-pandasIntegrates GeoArrow geometry data with pandas…
permissive · top 15,000 on PyPI
feather-formatFeather-format provides a Python interface to…
permissive · top 15,000 on PyPI
gspread-dataframeConverts between Google Sheets worksheets and…
permissive · top 5,000 on PyPI