Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

additory

Elegant data operations for DataFrames

A Rust-powered Python library for intuitive data transformations, lookups, synthetic data generation, and DataFrame comparison — with Polars and Pandas.

PyPI version Python Support License: MIT

Installation

pip install additory

Requirements: Python 3.9+ · Polars (required) · pyarrow (required) · Pandas (optional)

Quick Start

import additory as add
import polars as pl

Bring data from another DataFrame

orders = pl.DataFrame({'order_id': [1, 2], 'customer_id': [101, 102], 'amount': [250, 180]})
customers = pl.DataFrame({'customer_id': [101, 102], 'name': ['Alice', 'Bob']})

result = add.to(orders, customers, 'name', 'customer_id')

Transform data

df = pl.DataFrame({'price': [100, 200, 300], 'quantity': [2, 3, 1]})

result = add.transform('@calc', df, strategy={'total': 'price * quantity', 'tax': 'total * 0.1'})
result = add.transform('@filter', df, where='price > 150')
result = add.transform('@sort', df, by='price', strategy='desc')
result = add.transform('@aggregate', df, by='category', strategy={'price': 'sum'})

Generate synthetic data

result = add.synthetic('@new', n=1000, strategy={
    'age': 'normal(40, 10)',
    'salary': 'normal(75000, 15000)',
})

# Augment existing data
result = add.synthetic(df, n=100)

Compare DataFrames

diff = add.scan('@diff', old=df_jan, new=df_feb)

Use dynamic expressions

patients = pl.DataFrame({'weight': [70, 85], 'height': [1.70, 1.80]})
result = add.bmi(patients)

Pipe compatibility

result = (
    orders
    .pipe(add.to, customers, 'name', 'customer_id')
    .pipe(add.to, products, 'price', 'product_id')
)

Core Functions

Function Purpose Pipe-Friendly
add.to(bring_to, bring_from, bring, against, ...) Bring columns from another DataFrame
add.transform(mode, df, ...) Transform data (12 modes)
add.synthetic(df_or_mode, n, ...) Generate or augment data
add.scan(mode, df, ...) Analyze, diff, manage expressions
add.<dynamic>(df, ...) Named expression functions

Transform Modes

@calc · @filter · @sort · @aggregate · @harmonize · @round · @transpose · @extract · @onehot · @label · @deduce · @split

Features

  • 🔗 Intuitive Lookups — bring columns from external sources with natural syntax
  • 12 Transform Modes — calculate, filter, sort, aggregate, encode, impute
  • 🔍 DataFrame Diff — compare snapshots with add.scan('@diff')
  • 🧮 Dynamic Expressions — 74 built-in formulas across 7 categories, extensible via .add files
  • 🎲 Synthetic Data — generate realistic test data or augment existing datasets
  • 📊 Lineage Tracking — trace data provenance with lineage=True
  • 🔄 Pipe Compatibility — fluent chaining with df.pipe()
  • 🚀 Rust Performance — ~95% Rust core via PyO3
  • 🐼 Polars & Pandas — works with both DataFrame libraries

Documentation

📚 sekarkrishna.github.io/additory

Version

Current version: 0.1.3a11

License

MIT License — see LICENSE for details.

Author: Krishnamoorthy Sankaran

Release files for additory 0.1.3a11

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

Source distribution (sdist)

Source distribution for additory 0.1.3a11
File Size Uploaded
additory-0.1.3a11.tar.gz 1.3 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for additory 0.1.3a11
File
additory-0.1.3a11-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
additory-0.1.3a11-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details
additory-0.1.3a11-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
additory-0.1.3a11-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
additory-0.1.3a11-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details
additory-0.1.3a11-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
additory-0.1.3a11-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
additory-0.1.3a11-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
additory-0.1.3a11-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
additory-0.1.3a11-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
additory-0.1.3a11-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
additory-0.1.3a11-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details
additory-0.1.3a11-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
additory-0.1.3a11-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details
additory-0.1.3a11-cp39-cp39-macosx_11_0_arm64.whl CPython 3.9 CPython 3.9 macOS 11.0+ ARM64 Details

Total release size: 174.1 MB

Release files / additory-0.1.3a11.tar.gz

Download URL additory-0.1.3a11.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
97f6a3c084769aa5b08d75052dcbc6b6b64ba7ff42290468260c9d88b6e94557
BLAKE2b-256 checksum
How to use checksums
310396c434f63dc77e148f9e63d2802b8a7ced891e36242fb5e8cad9ab534f76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 9, 2026.

Transparency log

Release files / additory-0.1.3a11-cp313-cp313-win_amd64.whl

Download URL additory-0.1.3a11-cp313-cp313-win_amd64.whl
Size 11.9 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
072c8f27c63b10cfa9d94432c477dc6f9567140d837319ad275a235b8640cd1b
BLAKE2b-256 checksum
How to use checksums
3839157d98531021e63109c2d43f839ce02fcdcc6e361c38f8fc8bd038a61ca9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 9, 2026.

Transparency log

Release files / additory-0.1.3a11-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL additory-0.1.3a11-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 12.0 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
c9fb7667bcf4094c51dfad8466512306fd338e7e72799c1e5c1d17bd4b9989a5
BLAKE2b-256 checksum
How to use checksums
cfda984d4969aa6e54d37bace9e7d85fee03f8f1a15a0a2b20136fc59f8ddd91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 9, 2026.

Transparency log

Release files / additory-0.1.3a11-cp313-cp313-macosx_11_0_arm64.whl

Download URL additory-0.1.3a11-cp313-cp313-macosx_11_0_arm64.whl
Size 10.7 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
92b9f193cb56bccc1effea1abab4c2fb3118ed73d33fe28f811588d86ec2f431
BLAKE2b-256 checksum
How to use checksums
ef696f25a0c1c43f567556b652ed546ba427c325048847617d934e68282f4d7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 9, 2026.

Transparency log

Release files / additory-0.1.3a11-cp312-cp312-win_amd64.whl

Download URL additory-0.1.3a11-cp312-cp312-win_amd64.whl
Size 11.9 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
9fc5c69da46354f0f749efcfc095f4c3c630819e6ef89f03af34baf04290b1e1
BLAKE2b-256 checksum
How to use checksums
437d08997f494632b9fc5056c2c49736c0cdf2a03b5b36aa10a8885fda39af16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 9, 2026.

Transparency log

Release files / additory-0.1.3a11-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL additory-0.1.3a11-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 12.0 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
6391f50175726b0484138e39aaacd0049bfa1d92ce22d4ff2625e548600a41f7
BLAKE2b-256 checksum
How to use checksums
39c6276391fbfbc9937fedd9c3ed400cc0c7435973e67c2da5f1d012cde1d86e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 9, 2026.

Transparency log

Release files / additory-0.1.3a11-cp312-cp312-macosx_11_0_arm64.whl

Download URL additory-0.1.3a11-cp312-cp312-macosx_11_0_arm64.whl
Size 10.7 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7b293cab63a5ed933be05aa1260e20cb0e61f8a5e710bfe696f58aab51070f44
BLAKE2b-256 checksum
How to use checksums
09db797dd34b05993ec0193343cf16a184f8cc8714006b5345f84e972b8d6970
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 9, 2026.

Transparency log

Release files / additory-0.1.3a11-cp311-cp311-win_amd64.whl

Download URL additory-0.1.3a11-cp311-cp311-win_amd64.whl
Size 11.9 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
8f605cc9d0d4274b62f803d140934ab86e2691f45e7962e8309cfd4176ed88fb
BLAKE2b-256 checksum
How to use checksums
583e7f90cc8bca726f57843e414346bc312baa24c6d61bd42219382b423a6cc3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 9, 2026.

Transparency log

Release files / additory-0.1.3a11-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL additory-0.1.3a11-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 12.0 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
484a47b3137640f0c45205bc135bef2e4ee354a8e473d5a120d3da40e6d2bef1
BLAKE2b-256 checksum
How to use checksums
4e615265c4df04b6e8c758991a68f11082fd388aec477fdec84cd2553c9271ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 9, 2026.

Transparency log

Release files / additory-0.1.3a11-cp311-cp311-macosx_11_0_arm64.whl

Download URL additory-0.1.3a11-cp311-cp311-macosx_11_0_arm64.whl
Size 10.7 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7708af0c92336e537a3b97391defe6a38fdec2017ed9b07d56b688e03757024f
BLAKE2b-256 checksum
How to use checksums
6a9496bc6ea799c5b607726a50fdb5ab4a929bdd3310f974aadfad20dbd5abdb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 9, 2026.

Transparency log

Release files / additory-0.1.3a11-cp310-cp310-win_amd64.whl

Download URL additory-0.1.3a11-cp310-cp310-win_amd64.whl
Size 11.9 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
e56ecda2e801badd5c191e7e86b2b6dfed6a8f47c4bb15d62a3e3cd401c7d83b
BLAKE2b-256 checksum
How to use checksums
3ce55625367f059407b2af04eaf32f4ab68ca0190c2c33ac8655993c89575635
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 9, 2026.

Transparency log

Release files / additory-0.1.3a11-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL additory-0.1.3a11-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 12.0 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
46a4954a2b521ac5241146a609113adf6945af8c71ec5980323410d8ab7748e1
BLAKE2b-256 checksum
How to use checksums
8be6ccecd4cccdac528574a8639e2e53d985213647241025144ff2f1393054fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 9, 2026.

Transparency log

Release files / additory-0.1.3a11-cp310-cp310-macosx_11_0_arm64.whl

Download URL additory-0.1.3a11-cp310-cp310-macosx_11_0_arm64.whl
Size 10.7 MB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
4cbc183d4cc96a5cee4bdf2e11c15e83b35bc8eeb86d9007378a45550eea200a
BLAKE2b-256 checksum
How to use checksums
e4ef4686fb5f00710ab5c2d51119046bb73e61d4406bc4a4e36dee7b4c31bed8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 9, 2026.

Transparency log

Release files / additory-0.1.3a11-cp39-cp39-win_amd64.whl

Download URL additory-0.1.3a11-cp39-cp39-win_amd64.whl
Size 11.9 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
3b9addd707d299a14e70fb75ea08125d3c150f7251035db03da1af8b5d6ec347
BLAKE2b-256 checksum
How to use checksums
e3913b3619f299e18bbc61c7f602410047d1b0f709f6883712c8ab931fe2a6c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 9, 2026.

Transparency log

Release files / additory-0.1.3a11-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL additory-0.1.3a11-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 12.0 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
2f0988a62c7f741a836670874dcd5b4c4e16e50264bd09d1bb1e4bc0b878fc4b
BLAKE2b-256 checksum
How to use checksums
9ed6b866513bf5e168527e29b3a95c710f1fd6121a1ac303b30d5906412bfac4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 9, 2026.

Transparency log

Release files / additory-0.1.3a11-cp39-cp39-macosx_11_0_arm64.whl

Download URL additory-0.1.3a11-cp39-cp39-macosx_11_0_arm64.whl
Size 10.7 MB
Tags CPython 3.9 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
72ef886854c9bace3979fad888d1fef119c74fb8aed613b7341d213abd2ee3b4
BLAKE2b-256 checksum
How to use checksums
e4d377b482f9f5ca36d7341e4dfd082391d4a1ae631edd051ac8223096cd8ae6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 9, 2026.

Transparency log
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