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.0.tar.gz (436.3 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.0-cp314-cp314-win_amd64.whl (24.1 MB view details)

Uploaded CPython 3.14Windows x86-64

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

Uploaded CPython 3.14macOS 11.0+ ARM64

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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.13macOS 10.12+ x86-64

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

Uploaded CPython 3.12Windows x86-64

parquetframe-2.0.0-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.0-cp312-cp312-macosx_11_0_arm64.whl (19.7 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.12macOS 10.12+ x86-64

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

Uploaded CPython 3.11Windows x86-64

parquetframe-2.0.0-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.0-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.0-cp311-cp311-macosx_11_0_arm64.whl (19.7 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

parquetframe-2.0.0-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.0.tar.gz.

File metadata

  • Download URL: parquetframe-2.0.0.tar.gz
  • Upload date:
  • Size: 436.3 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.0.tar.gz
Algorithm Hash digest
SHA256 4134cab85473e01cad354481501613e877937bba0612618de690b150fa7b16d5
MD5 1c3cecbbf78823001a915c50bb9a3797
BLAKE2b-256 5f18ba60d603131f4ec52bcd3ff3fef954df98c7d4d06227d74841100577b716

See more details on using hashes here.

Provenance

The following attestation bundles were made for parquetframe-2.0.0.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.0-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for parquetframe-2.0.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 fb1b5bfdcd50c902a9ddca26aa1860287023ced37f466f9d58095766be581ed4
MD5 e20363791a977779fe8e56b0c814394f
BLAKE2b-256 61933386ac03093bc65c4836d01db0eb80f9833458b9fc4bf1125e7dafe40a99

See more details on using hashes here.

Provenance

The following attestation bundles were made for parquetframe-2.0.0-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.0-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for parquetframe-2.0.0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 573531754986a5fe0a62bf6e5242b4334a9e5b7b0ae5b18b7eb491b88ab4168e
MD5 3066e7b6d51fcc258dd56b65ddd63298
BLAKE2b-256 680b810f52399cee17d9032625530832c1afea30334d3e08f6a3b8bb778dfe47

See more details on using hashes here.

Provenance

The following attestation bundles were made for parquetframe-2.0.0-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.0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for parquetframe-2.0.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ac58f525d6c2196ed42c594b162ee75e100d970d5637f084f8221c8c02c9e842
MD5 1d6a370d6fe75e0ea7f62cfdd7d2f6d8
BLAKE2b-256 e54e83c8a165094a1862ff72f18809d0baf2357a0acc54f5b8e473eee564de2b

See more details on using hashes here.

Provenance

The following attestation bundles were made for parquetframe-2.0.0-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.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for parquetframe-2.0.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a5e2d97a4e34fe6d9c4430cd722fd25cca711413f72588803e11e4f1884a3272
MD5 d20c8156768cb7c2c4d58c8a88322363
BLAKE2b-256 bc3f7dd94a3b1761b7524f7e980ea1e1fcfb66e2ad6d444e21dccc4012794c5f

See more details on using hashes here.

Provenance

The following attestation bundles were made for parquetframe-2.0.0-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.0-cp313-cp313-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for parquetframe-2.0.0-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 3c43ec6da9b98d718be8488d052f62f1df345b602b130d6a0d3a074558c4bf83
MD5 118d5c4323fa30290fc9e9a5dd9d0e25
BLAKE2b-256 0d10f8211f6aaf10142cea4f87281bb11d8f10674562dfdd55b5ff027b388e8a

See more details on using hashes here.

Provenance

The following attestation bundles were made for parquetframe-2.0.0-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.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for parquetframe-2.0.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e6abd51c69d6f62b72a7975937fef199da4dd922933abc6d136a4929b6e6bcd4
MD5 ac9be2fd4151f3703dea695afd069a8c
BLAKE2b-256 0230bed2feb267cfd9dec89d7f284388b20c5a54e4bee49a1687d184eded339a

See more details on using hashes here.

Provenance

The following attestation bundles were made for parquetframe-2.0.0-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.0-cp312-cp312-manylinux_2_38_x86_64.whl.

File metadata

File hashes

Hashes for parquetframe-2.0.0-cp312-cp312-manylinux_2_38_x86_64.whl
Algorithm Hash digest
SHA256 ea37c3c6f0a0e800286c0af009ecaa9384d3c6a6c461ad1a1dc0ff590b176764
MD5 5dfb64c77402200c3df1f712ff1f1ae5
BLAKE2b-256 42d400a31a6ffee51714aa5f8e49d75b66af444126afa38aa9e73cfe1890c0a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for parquetframe-2.0.0-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.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for parquetframe-2.0.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ca213408bfb8800ce283838ea7d97bea3732df1d8b176322e5e21616abde763c
MD5 515b312ef4cd97057437ab19a0afbabf
BLAKE2b-256 8976aa57a6c467d08bae9adaf91bbe59785c5f3ce9e294b94a29627185936899

See more details on using hashes here.

Provenance

The following attestation bundles were made for parquetframe-2.0.0-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.0-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for parquetframe-2.0.0-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1603a9128fedf3e818cbe356127ea9593a0c1a8e4f37e29aea32d1e64e48901e
MD5 0d68d44b2f37c9f512b90741bcdc152c
BLAKE2b-256 4e2a916b6e739859da82a3b9dd05e975e78e5293bb538b4fe7ac6ea6fb847536

See more details on using hashes here.

Provenance

The following attestation bundles were made for parquetframe-2.0.0-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.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for parquetframe-2.0.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7ce353d9818873f70d8c97f7942b9466fc4a7e8971c2ae3e15e7a44e32de74ca
MD5 7c8320b89f89fec0636216cbace84732
BLAKE2b-256 b2afcdf3fa6f84786ed049e18c5fb19176b52ab88b7508d6af43815cf1ee31d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for parquetframe-2.0.0-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.0-cp311-cp311-manylinux_2_38_x86_64.whl.

File metadata

File hashes

Hashes for parquetframe-2.0.0-cp311-cp311-manylinux_2_38_x86_64.whl
Algorithm Hash digest
SHA256 257b419a11e0012086668b4da398a6cdedae9d4cd59f9e675177a591e86d64eb
MD5 5c22a2e4693b708f454bd4cb88f99122
BLAKE2b-256 5d6ec89933e34ece6acd84efe1c14c3953f73313af4592693c31171b177e7a5f

See more details on using hashes here.

Provenance

The following attestation bundles were made for parquetframe-2.0.0-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.0-cp311-cp311-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for parquetframe-2.0.0-cp311-cp311-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 19ac71fd2d9d5db153497c60b4104ab6a022209e6ecf55b49f5a5a932688df7c
MD5 67e1a91da8715c09bb0361f0605dd233
BLAKE2b-256 bb205916df81e5f0ca0a7503899176022dc626023cbd3bcb64d79292f15f2426

See more details on using hashes here.

Provenance

The following attestation bundles were made for parquetframe-2.0.0-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.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for parquetframe-2.0.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 be0b4d227b9f9f7fcda28fe18d0c56cf72c1436a8d24e902ea8a7713665d32e4
MD5 778bc1785a374a0650cd405a572d6760
BLAKE2b-256 3d4c75bf8b533d2217138bdb40b840f2bdb3b93254f550f215625a2cadfef6c1

See more details on using hashes here.

Provenance

The following attestation bundles were made for parquetframe-2.0.0-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.0-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for parquetframe-2.0.0-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 3a393bea4836fe7c6b5a55868e7f7b82e97d29a7bb3a3d4ebf0cab7cafbc22f7
MD5 02b806d88ce97ef7c1f3738f0553baf7
BLAKE2b-256 5bcfb6ebf4213c3607c743d62cd609ed4f284f32fd6b833f2ab5be753b112ed9

See more details on using hashes here.

Provenance

The following attestation bundles were made for parquetframe-2.0.0-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