skillfed

triad

A collection of python utils for Fugue projects

triad v1.0.2 2.4M downloads/30d#3,071 on PyPI11
Permissive license Apache-2.0 Active released

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 triad

uv

uv add triad

poetry

poetry add triad

Installing 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersProgramming Language :: Python :: 3 :: OnlyProgramming 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

Tags

pandas pyarrow utilitiesschema type conversiondataframe utilitiesfugue project toolstype casting helpersfilesystem abstractiondata transformation utils
data-processingtype-conversionfugue-ecosystem

More Python Modules packages