Skip to main content

A lightweight Python library for efficiently reading year-month-day partitioned Parquet datasets.

Project description

shardate

A lightweight Python library for efficiently reading year-month-day partitioned Parquet datasets with PySpark.

Installation

pip install shardate

Features

  • Read Parquet data partitioned by year/month/day structure
  • Efficient date-based filtering
  • Built on PySpark for scalable data processing
  • Simple and intuitive API

Quick Start

from datetime import date
from shardate import read_by_date, read_between, read_by_dates

# Read data for a specific date
df = read_by_date("/path/to/data", date(2025, 1, 15))

# Read data between two dates
df = read_between("/path/to/data", date(2025, 1, 1), date(2025, 1, 31))

# Read data for specific dates
dates = [date(2025, 1, 1), date(2025, 1, 15), date(2025, 1, 31)]
df = read_by_dates("/path/to/data", dates)

Requirements

  • Python 3.12+
  • PySpark 4.0+

License

MIT

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

shardate-2025.9.9.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

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

shardate-2025.9.9-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file shardate-2025.9.9.tar.gz.

File metadata

  • Download URL: shardate-2025.9.9.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for shardate-2025.9.9.tar.gz
Algorithm Hash digest
SHA256 eae2ae6626c2f8acd77f41e8b50bd1d161c2da0d9bdc9b24c3310907308c9ac4
MD5 b571019fcf1a83828f373b5335c70743
BLAKE2b-256 dcdab9e4c839cbe885371bf488504af897224b77860ba9f56f0f908308b17a97

See more details on using hashes here.

Provenance

The following attestation bundles were made for shardate-2025.9.9.tar.gz:

Publisher: release.yml on yoichiojima-2/shardate

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

File details

Details for the file shardate-2025.9.9-py3-none-any.whl.

File metadata

  • Download URL: shardate-2025.9.9-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for shardate-2025.9.9-py3-none-any.whl
Algorithm Hash digest
SHA256 d7e6db29d28b82b8c9ba3517c186192b99af14fc71169abf544845ae9bb6386c
MD5 da1126d9bdeade6108dbf7fa5a8fbdbc
BLAKE2b-256 5094a25a2dd4a08ed9f5d3a9ce60fde7ce6a6114e00aa295716d023b63bff837

See more details on using hashes here.

Provenance

The following attestation bundles were made for shardate-2025.9.9-py3-none-any.whl:

Publisher: release.yml on yoichiojima-2/shardate

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