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.8.1.tar.gz.
File metadata
Download URL: shardate-2025.9.8.1.tar.gz
Upload date:
Sep 8, 2025
Size: 28.2 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.8.1.tar.gz
Algorithm
Hash digest
SHA256
cd958a341b55f1a33c0fa40a1567d13ee482393065e04c6c72d6715eb414d766
Copy
MD5
fce6be5a1fe0b1a50ca50f60fa71fc12
Copy
BLAKE2b-256
26b50da6e69d0934a17c7966fb0e9d4771f2e619129d4d4cfc1c74a3f3c550c1
Copy
See more details on using hashes here.
Provenance
The following attestation bundles were made for shardate-2025.9.8.1.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.8.1-py3-none-any.whl.
File metadata
Download URL: shardate-2025.9.8.1-py3-none-any.whl
Upload date:
Sep 8, 2025
Size: 3.6 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.8.1-py3-none-any.whl
Algorithm
Hash digest
SHA256
dd6894ecf4597747c558156783897b13c9a04bb9d71026a9a016bdf0f9f6327c
Copy
MD5
d4c3807643b3ec7e072f2fc0adf51e95
Copy
BLAKE2b-256
b948a3023a13ef93b3979bddafd1b8e9c0a301cd5cbe3cebed60702d7cbc86f8
Copy
See more details on using hashes here.
Provenance
The following attestation bundles were made for shardate-2025.9.8.1-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: