Skip to main content

A universal data processing framework with multi-engine support (pandas, Polars, Dask) and multi-format I/O (CSV, JSON, Parquet, ORC, Avro) with intelligent backend selection

Project description

ParquetFrame

High-performance data analytics with AI/ML capabilities

PyPI version License

ParquetFrame is a unified data platform combining SQL, time series, geospatial, financial analysis, and AI/ML capabilities - all with familiar DataFrame interfaces.

✨ Features

  • SQL Engine: Query DataFrames with SQL (DataFusion/DuckDB)
  • Time Series: .ts accessor for resampling, rolling windows
  • GeoSpatial: .geo accessor for spatial operations
  • Financial: .fin accessor for technical indicators
  • AI/ML: Tetnus ML framework + RAG with Knowlogy knowledge graph
  • Cloud: S3, GCS, Azure Blob Storage support
  • Interactive CLI: Rich REPL with syntax highlighting

🚀 Quick Start

pip install parquetframe
import pandas as pd
import parquetframe as pf
import parquetframe.sql
import parquetframe.time
import parquetframe.finance

# SQL queries
result = pf.sql("SELECT * FROM df WHERE value > 100", df=df)

# Time series
daily = df.ts.resample('1D', agg='mean')

# Financial indicators
rsi = df.fin.rsi('close', 14)
macd = df.fin.macd('close')

📚 Documentation

🎯 Use Cases

Financial Analysis

import parquetframe.finance

prices = pd.read_csv("stock.csv", index_col='date', parse_dates=True)
prices['SMA_20'] = prices.fin.sma('close', 20)
prices['RSI'] = prices.fin.rsi('close', 14)

Time Series Forecasting

import parquetframe.time

sensor_data = df.ts.resample('1H', agg='mean')
smoothed = sensor_data.ts.rolling('24H', agg='mean')

GeoSpatial Analysis

import geopandas as gpd
import parquetframe.geo

cities = gpd.read_file("cities.geojson")
buffered = cities.geo.buffer(1000)

AI-Powered RAG

from parquetframe.ai import SimpleRagPipeline
from parquetframe import knowlogy

# Query knowledge graph
formula = knowlogy.get_formula("variance")

# RAG with formula grounding
result = pipeline.run_query("Explain variance", user_context="analyst")

🏗️ Architecture

ParquetFrame combines:

  • Rust Core: High-performance kernels (pf-time-core, pf-geo-core, pf-fin-core)
  • Python API: Familiar pandas-style accessors
  • AI/ML: Tetnus framework + Knowlogy knowledge graph
  • Cloud: Multi-cloud storage integration

🔗 Project Links

📄 License

Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International Public License

🙏 Acknowledgments

Built on top of:

  • Apache Arrow / Polars / pandas
  • DataFusion / DuckDB
  • GeoPandas / Shapely
  • PyTorch (Tetnus)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

parquetframe-2.0.0a7.tar.gz (437.0 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

parquetframe-2.0.0a7-cp314-cp314-win_amd64.whl (24.1 MB view details)

Uploaded CPython 3.14Windows x86-64

parquetframe-2.0.0a7-cp314-cp314-macosx_11_0_arm64.whl (19.7 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

parquetframe-2.0.0a7-cp313-cp313-win_amd64.whl (24.1 MB view details)

Uploaded CPython 3.13Windows x86-64

parquetframe-2.0.0a7-cp313-cp313-macosx_11_0_arm64.whl (19.7 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

parquetframe-2.0.0a7-cp313-cp313-macosx_10_12_x86_64.whl (21.7 MB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

parquetframe-2.0.0a7-cp312-cp312-win_amd64.whl (24.1 MB view details)

Uploaded CPython 3.12Windows x86-64

parquetframe-2.0.0a7-cp312-cp312-manylinux_2_38_x86_64.whl (24.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.38+ x86-64

parquetframe-2.0.0a7-cp312-cp312-macosx_11_0_arm64.whl (19.7 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

parquetframe-2.0.0a7-cp312-cp312-macosx_10_12_x86_64.whl (21.7 MB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

parquetframe-2.0.0a7-cp311-cp311-win_amd64.whl (24.1 MB view details)

Uploaded CPython 3.11Windows x86-64

parquetframe-2.0.0a7-cp311-cp311-manylinux_2_38_x86_64.whl (24.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.38+ x86-64

parquetframe-2.0.0a7-cp311-cp311-manylinux_2_35_x86_64.whl (24.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.35+ x86-64

parquetframe-2.0.0a7-cp311-cp311-macosx_11_0_arm64.whl (19.7 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

parquetframe-2.0.0a7-cp311-cp311-macosx_10_12_x86_64.whl (21.7 MB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

File details

Details for the file parquetframe-2.0.0a7.tar.gz.

File metadata

  • Download URL: parquetframe-2.0.0a7.tar.gz
  • Upload date:
  • Size: 437.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for parquetframe-2.0.0a7.tar.gz
Algorithm Hash digest
SHA256 7084720ae648b81975ba2fee308c7272b2530f4cf94cd2d6bfb6e486358a0612
MD5 726b562aa35cdf909fc16e1d4bda8628
BLAKE2b-256 1128090bb3b197eb70bcdf8c89162ecfd526673a16c2ac303b83088879583b81

See more details on using hashes here.

Provenance

The following attestation bundles were made for parquetframe-2.0.0a7.tar.gz:

Publisher: release.yml on leechristophermurray/parquetframe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file parquetframe-2.0.0a7-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for parquetframe-2.0.0a7-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 ce3305963ed97652b7e003ff3851f6483dbda45d32b77b66f9418641e6fbebb5
MD5 9d3f690f9a2812fdf4295ba89dcfdaad
BLAKE2b-256 8f7c50bcc5ef1810fb58fc7142028e06f1a51e6823a77b4436e81bba507d52d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for parquetframe-2.0.0a7-cp314-cp314-win_amd64.whl:

Publisher: release.yml on leechristophermurray/parquetframe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file parquetframe-2.0.0a7-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for parquetframe-2.0.0a7-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 137cc4895b3441402b0bc03e6c865c7773143ddda7c6f148ec3f55b364a71b18
MD5 34a550f8d7f7b1e2e9c3d09c013f3c93
BLAKE2b-256 60573922ead95e08c9b740bd649b4994de5bdaf1abfc7da6f1f6971be80346a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for parquetframe-2.0.0a7-cp314-cp314-macosx_11_0_arm64.whl:

Publisher: release.yml on leechristophermurray/parquetframe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file parquetframe-2.0.0a7-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for parquetframe-2.0.0a7-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 42e68bbadedb93d343ee5c8bf7016da16504f6062b316e93469160704715f4f2
MD5 de288cd1fbb651c1ca3b72881570eb1f
BLAKE2b-256 8da6c22b7bb5b0f20b2ca8b9f86257bc8cab69899defaf562f685a12791eaa0a

See more details on using hashes here.

Provenance

The following attestation bundles were made for parquetframe-2.0.0a7-cp313-cp313-win_amd64.whl:

Publisher: release.yml on leechristophermurray/parquetframe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file parquetframe-2.0.0a7-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for parquetframe-2.0.0a7-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 342fc794d697d3392d11ce4d79d4038827d6568d66821a4b23ad2a0f8c378175
MD5 190d063442fb2a659f115d4fa10ec263
BLAKE2b-256 0148ab7e0525fe31454261e98e1b1d79ce136e8910a7263ef386d9a7e7b9d5e7

See more details on using hashes here.

Provenance

The following attestation bundles were made for parquetframe-2.0.0a7-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: release.yml on leechristophermurray/parquetframe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file parquetframe-2.0.0a7-cp313-cp313-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for parquetframe-2.0.0a7-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c93c9b2ff24f793f9454a0280ae581df3e778f63ecf37c63c58042d06350745f
MD5 f08e8391c2161b7b6fc0a66e634868a5
BLAKE2b-256 c1353d1ac8049aea39757af5706255a7823dd3cff3131650f620176d10fb1920

See more details on using hashes here.

Provenance

The following attestation bundles were made for parquetframe-2.0.0a7-cp313-cp313-macosx_10_12_x86_64.whl:

Publisher: release.yml on leechristophermurray/parquetframe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file parquetframe-2.0.0a7-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for parquetframe-2.0.0a7-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ba122a435efff798536e09c1c7d2c8af261b8213433b8c2911169fc98ef98cee
MD5 1dc32baf41c75fa842c91db8738cf8c7
BLAKE2b-256 579ee4199227ff1bbe724d2eb070180b95bfc0e76291edc8ae4f28b48306629a

See more details on using hashes here.

Provenance

The following attestation bundles were made for parquetframe-2.0.0a7-cp312-cp312-win_amd64.whl:

Publisher: release.yml on leechristophermurray/parquetframe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file parquetframe-2.0.0a7-cp312-cp312-manylinux_2_38_x86_64.whl.

File metadata

File hashes

Hashes for parquetframe-2.0.0a7-cp312-cp312-manylinux_2_38_x86_64.whl
Algorithm Hash digest
SHA256 2ebef46581690403d701a15c514692062b227e42c2b8cbb603922ef7498af0d3
MD5 231e1a8fd38f572eae65669054a90b25
BLAKE2b-256 7c22662ca7d5fa0d69a8ac551fc53a8004a0835f756b6a4bedc6279b6586586f

See more details on using hashes here.

Provenance

The following attestation bundles were made for parquetframe-2.0.0a7-cp312-cp312-manylinux_2_38_x86_64.whl:

Publisher: release.yml on leechristophermurray/parquetframe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file parquetframe-2.0.0a7-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for parquetframe-2.0.0a7-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d0d4cd613d56926218f8500f0a4fa10c9515207d7d9bacce7514bde06555c8a0
MD5 d9866de5c57b8d37be38e86972f898ee
BLAKE2b-256 6bd34db663d3e9c094c5538d979816e1489d62ad96a908bdb5a82d54c4efb9c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for parquetframe-2.0.0a7-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: release.yml on leechristophermurray/parquetframe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file parquetframe-2.0.0a7-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for parquetframe-2.0.0a7-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 9a1cd334af48c1210635995865c3b6fda7eebeca034a6da57ab5f00dbe60650e
MD5 0eb501dc9715814672f89c8bf13a1540
BLAKE2b-256 1eb63657b29bf762a524f8af327736805ba1fc0f41f0bb05bb0c245bee02afb8

See more details on using hashes here.

Provenance

The following attestation bundles were made for parquetframe-2.0.0a7-cp312-cp312-macosx_10_12_x86_64.whl:

Publisher: release.yml on leechristophermurray/parquetframe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file parquetframe-2.0.0a7-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for parquetframe-2.0.0a7-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d2cfc43702f7f1805486fe94d47fb7322684313bac1bc260790c2624a269bc0e
MD5 94e414f42d9be7f4e9f4fe37bf34bbdb
BLAKE2b-256 97ad9146761c012bfc815a9a4fa97b6ea45e514fb6688e87d83514793f54d4d0

See more details on using hashes here.

Provenance

The following attestation bundles were made for parquetframe-2.0.0a7-cp311-cp311-win_amd64.whl:

Publisher: release.yml on leechristophermurray/parquetframe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file parquetframe-2.0.0a7-cp311-cp311-manylinux_2_38_x86_64.whl.

File metadata

File hashes

Hashes for parquetframe-2.0.0a7-cp311-cp311-manylinux_2_38_x86_64.whl
Algorithm Hash digest
SHA256 b4ea8753b2fdc8fbdf93c3c13eca0b0b9c7c848eb40a35146a6064372765799b
MD5 2d825f37eb43460cc1c0c0f1f4551397
BLAKE2b-256 4246a67df6ca1d42bdf916a7785f009e96bc1019f0bc566dc5a9eed3ee6f9687

See more details on using hashes here.

Provenance

The following attestation bundles were made for parquetframe-2.0.0a7-cp311-cp311-manylinux_2_38_x86_64.whl:

Publisher: release.yml on leechristophermurray/parquetframe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file parquetframe-2.0.0a7-cp311-cp311-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for parquetframe-2.0.0a7-cp311-cp311-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 acedfcdb478394b3175fd8300fde6685267bace1e6e17821a5b5b07ff92d16b5
MD5 07361c66d369cbfe35bfc563944cecf1
BLAKE2b-256 975dafd660f5a6f00dfdfbe7989b167e531a752b168a9ad2a4600da04e3eb747

See more details on using hashes here.

Provenance

The following attestation bundles were made for parquetframe-2.0.0a7-cp311-cp311-manylinux_2_35_x86_64.whl:

Publisher: release.yml on leechristophermurray/parquetframe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file parquetframe-2.0.0a7-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for parquetframe-2.0.0a7-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4cc00afd9180bc4878064a169b5d3937a1fa9f238d02368d3bac3282d8282699
MD5 a752f4b405e9b0c30a53552ecc2dc7dc
BLAKE2b-256 ec9188a995d22a149058fd4301cacf7aa7063f0eb5cd7d3f69afab1d6370bcfa

See more details on using hashes here.

Provenance

The following attestation bundles were made for parquetframe-2.0.0a7-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: release.yml on leechristophermurray/parquetframe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file parquetframe-2.0.0a7-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for parquetframe-2.0.0a7-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 9b686f35848bcfb9bcefd73227bb419577cc9b1299a6ed3beb7b3516e8d87c27
MD5 a26196b075d3019202b88cad246aafce
BLAKE2b-256 38e51ca9b40b9cc2b9fcc5c05ba7b6f05f72db0e29341a67b5032aa989efde4d

See more details on using hashes here.

Provenance

The following attestation bundles were made for parquetframe-2.0.0a7-cp311-cp311-macosx_10_12_x86_64.whl:

Publisher: release.yml on leechristophermurray/parquetframe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page