Skip to main content

tcollections: Typed Collections

This package offers a set of collection and grouping types that are useful for data pipelines. The collections here offer a style that maintains the clarity and structure of traditional Python data structures while exposing a functional interface inspired by popular data science packages such as pandas.

Installation

pip install tcollections

Quick Start

from tcollections import tlist, group

# Create a typed list
data = tlist([1, 2, 3, 4, 5])

# Group data
groups = group(data, key=lambda x: x % 2)

Examples

See the examples in examples/ for detailed usage examples:

  • 01_introduction.ipynb - Basic introduction to tcollections
  • 02_data_analysis.ipynb - Data analysis examples

Features

  • Typed Collections: tlist and tset with enhanced functionality
  • Grouping Operations: Powerful grouping and aggregation functions
  • Functional Interface: Clean, chainable operations
  • Data Pipeline Ready: Designed for data processing workflows

Metadata

Release files for tcollections 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tcollections 0.1.0
File Size Uploaded Provenance Actions
tcollections-0.1.0.tar.gz 16.5 kB Without provenance Details for tcollections-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tcollections 0.1.0
File Interpreter ABI Platform Actions
tcollections-0.1.0-py3-none-any.whl Python 3 none any Details for tcollections-0.1.0-py3-none-any.whl

Total release size: 30.9 kB

Release files / tcollections-0.1.0.tar.gz

Download URL tcollections-0.1.0.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0241bb45bd5c323b5c78944c216d796a5227f846d8c344a3fbe3ba821f8c3022
BLAKE2b-256 checksum
How to use checksums
fda390928ce16875813345277655c46d699cca7d6aaa2ff63a454ebb9901e27e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.4

Release files / tcollections-0.1.0-py3-none-any.whl

Download URL tcollections-0.1.0-py3-none-any.whl
Size 14.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3dc9d12cd33c9d85bbb9242555a43e0f3bec3693212dde8351da9c6a158c6397
BLAKE2b-256 checksum
How to use checksums
526d732e0540aa7e92c4eae945cd1c710bc9c523f47fc889c2e363a026372fb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.4

Security for tcollections 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page