Typed Collections - A set of collection and grouping types for data pipelines
Project description
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 tcollections02_data_analysis.ipynb- Data analysis examples
Features
- Typed Collections:
tlistandtsetwith enhanced functionality - Grouping Operations: Powerful grouping and aggregation functions
- Functional Interface: Clean, chainable operations
- Data Pipeline Ready: Designed for data processing workflows
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tcollections-0.1.0.tar.gz.
File metadata
- Download URL: tcollections-0.1.0.tar.gz
- Upload date:
- Size: 16.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0241bb45bd5c323b5c78944c216d796a5227f846d8c344a3fbe3ba821f8c3022
|
|
| MD5 |
db64a5915fa26c405e4311da635cc223
|
|
| BLAKE2b-256 |
fda390928ce16875813345277655c46d699cca7d6aaa2ff63a454ebb9901e27e
|
File details
Details for the file tcollections-0.1.0-py3-none-any.whl.
File metadata
- Download URL: tcollections-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3dc9d12cd33c9d85bbb9242555a43e0f3bec3693212dde8351da9c6a158c6397
|
|
| MD5 |
77d3af67c4da90ecf36c9c4df66fafd8
|
|
| BLAKE2b-256 |
526d732e0540aa7e92c4eae945cd1c710bc9c523f47fc889c2e363a026372fb9
|