ibis-framework-teradata
Use ibis to join local data with tables on Teradata. This is not feature complete.
ibis.memtable()-> temporary (volatile) Teradata tables, uploaded automatically- Polars, pandas or Arrow -> local data inputs
- Local + remote joins -> run on Teradata, using the same connection as the upload
- Close the connection -> temporary tables dropped
Install
pip install 'ibis-framework-teradata'
- Python 3.11+; Ibis 12
- After installing, use
ibis.teradata(no separate package import required)
Join local data to Teradata
import os
import ibis
import polars as pl
lookup = pl.DataFrame({
'customer_id': [101, 205],
'segment': ['retail', 'partner'],
})
with ibis.teradata.connect(
host=os.environ['TD_HOST'],
user=os.environ['TD_USER'],
password=os.environ['TD_PASSWORD'],
database='analytics',
) as con:
sales = con.table('sales')
local = ibis.memtable(lookup)
joined = sales.join(local, 'customer_id')
query = joined.group_by('segment').aggregate(total=joined.amount.sum())
result = con.to_polars(query)
Handy examples
Inside an open connection (i.e., in the above with block):
sql = con.compile(query) # Preview the SQL
frame = con.execute(query) # pandas result
arrow = con.to_pyarrow(query) # Arrow result
con.cleanup_memtables() # Clear uploads if keeping the connection open
A date lookback:
events = con.table('events')
lookback = ibis.literal(7).as_interval('D')
query = events.filter(
events.dt.between(events.index_date - lookback, events.index_date)
)
result = con.to_polars(query)
Trailing spaces in remote text:
customers = con.table('customers')
customers = customers.mutate(code=customers.code.rstrip())
Good to know
- Includes common operations: joins, filters, grouping, strings and date calculations
- Most advanced ibis features aren't supported (yet?)
- Day lookbacks: up to 9999 days in either direction
- Time precision: microseconds; nanoseconds aren't supported
Metadata
Release files for ibis-framework-teradata 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ibis_framework_teradata-0.1.1.tar.gz | 24.9 kB | With provenance | Details for ibis_framework_teradata-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ibis_framework_teradata-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for ibis_framework_teradata-0.1.1-py3-none-any.whl |
Total release size: 39.5 kB
Release files / ibis_framework_teradata-0.1.1.tar.gz
| Download URL | ibis_framework_teradata-0.1.1.tar.gz |
|---|---|
| Size | 24.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
079d9eac62e4f31399185cb8548a82021e117b31b3049baae7092a973f8e1bf9
|
|
BLAKE2b-256 checksum How to use checksums |
488f30636faae001987f3400e7657af3894a6abea0a7508777f8725c2964530c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Oct 23, 2026.
Transparency logRelease files / ibis_framework_teradata-0.1.1-py3-none-any.whl
| Download URL | ibis_framework_teradata-0.1.1-py3-none-any.whl |
|---|---|
| Size | 14.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
191afacebf55f2a9f7e9fb95d74882e7f16c1be84406ca44f9706dfb8f349041
|
|
BLAKE2b-256 checksum How to use checksums |
6423e24fc43a557d8fe11ed41256f6942ea5e654162d94b9e58232397346ad6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Oct 23, 2026.
Transparency logSecurity for ibis-framework-teradata 0.1.1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for ibis_framework_teradata-0.1.1.tar.gz
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 Oct 23, 2026.
Transparency logA 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.