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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages .
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names .
The dropdown lists show the available interpreters, ABIs, and platforms.
Enable javascript to be able to filter the list of wheel files.
Copy a direct link to the current filters
Copy
File name
Interpreter
Interpreter
py3
ABI
ABI
none
Platform
Platform
any
File details
Details for the file shardate-2025.9.9.tar.gz.
File metadata
Download URL: shardate-2025.9.9.tar.gz
Upload date:
Sep 8, 2025
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
Copy
MD5
b571019fcf1a83828f373b5335c70743
Copy
BLAKE2b-256
dcdab9e4c839cbe885371bf488504af897224b77860ba9f56f0f908308b17a97
Copy
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.
Statement:
Source repository:
Publication detail:
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:
Sep 8, 2025
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
Copy
MD5
da1126d9bdeade6108dbf7fa5a8fbdbc
Copy
BLAKE2b-256
5094a25a2dd4a08ed9f5d3a9ce60fde7ce6a6114e00aa295716d023b63bff837
Copy
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.
Statement:
Source repository:
Publication detail: