Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

chronocratic-datasets

Ready-to-use time series datasets for PyTorch Lightning.

License: BSD 3-Clause PyPI version Python 3.12+ PyPI Downloads Build and Test Documentation Status code style - ruff GitHub Stars

Installation

Install the package via pip:

pip install chronocratic-datasets

Note: The PyPI package name uses a hyphen (chronocratic-datasets), but the import uses the chronocratic.datasets namespace:

from chronocratic.datasets import ...

Quick Start

from pathlib import Path

from chronocratic.datasets import ForecastingMode, WeatherDataModule

weather = WeatherDataModule(
    dataset_file_path=Path("data/weather.csv"),
    mode=ForecastingMode.UNIVARIATE,
)
weather.prepare_data()
weather.setup()
train_loader = weather.train_dataloader()

Datasets

Forecasting

  • ETT (Electricity Transformer Temperature): ETTh1, ETTh2, ETTm1, ETTm2 — transformer temperature data at hourly and 15-minute intervals
  • Weather: Weather and meteorological features from 2012 to 2017
  • Electricity: Hourly electricity load data

Classification

  • UCR (Univariate): Archive of univariate time series classification datasets
  • UEA (Multivariate): Archive of multivariate time series classification datasets

Features

  • PyTorch Lightning DataModules — Drop-in LightningDataModule implementations for seamless integration with Lightning training loops
  • Automatic caching with atomic writes — Downloaded and processed data is cached locally with atomic file operations to prevent corruption
  • DDP-compliant data loading — Workers share cached data correctly under Distributed Data Parallel training
  • Multiple forecasting modes — Switch between UNIVARIATE and MULTIVARIATE forecasting configurations
  • Built-in scaling — MinMax and Standard scalers applied automatically per dataset conventions
  • Type-safe API — Full type hints and Google-style docstrings for IDE autocomplete and static analysis

Documentation

Comprehensive documentation, including API reference, quickstart guides, and contributing instructions, is available at chronocratic-datasets.readthedocs.io.

License

BSD 3-Clause — see LICENSE for the full text.

Metadata

Release files for chronocratic-datasets 0.1.0a5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chronocratic-datasets 0.1.0a5
File Size Uploaded
chronocratic_datasets-0.1.0a5.tar.gz 262.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for chronocratic-datasets 0.1.0a5
File Interpreter ABI Platform
chronocratic_datasets-0.1.0a5-py3-none-any.whl Python 3 none any Details

Total release size: 332.5 kB

Release files / chronocratic_datasets-0.1.0a5.tar.gz

Download URL chronocratic_datasets-0.1.0a5.tar.gz
Size 262.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1eb105ca322e030d5c346eb3ff7305131d65fa0aa77b8db8f0dc4f8d7d6ec647
BLAKE2b-256 checksum
How to use checksums
cda92c1afc2e78450c4a4dd1f846db6ca69c8507771d3df56bca8a682e919509
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 14, 2026.

Transparency log

Release files / chronocratic_datasets-0.1.0a5-py3-none-any.whl

Download URL chronocratic_datasets-0.1.0a5-py3-none-any.whl
Size 70.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7726cb321d519c6b7f64e6b8490d9bd0c086b3a73f785cc2f65902bda4a957ca
BLAKE2b-256 checksum
How to use checksums
4ee2086e25a2228d52525fc4eb248968367af29e1d59e3f7fc83d1e44ad1b728
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 14, 2026.

Transparency log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page