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.0a4

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.0a4
File Size Uploaded
chronocratic_datasets-0.1.0a4.tar.gz 258.7 kB Details

Built distribution (wheel)

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

Total release size: 328.3 kB

Release files / chronocratic_datasets-0.1.0a4.tar.gz

Download URL chronocratic_datasets-0.1.0a4.tar.gz
Size 258.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6fa4d430030445b8ece487cc5c214b637b8a878b4631b7d57edab94ccb193fb6
BLAKE2b-256 checksum
How to use checksums
83f33930375d4476a72ad304de5bb79368c27597fc8bb176db9f41f950e9c73d
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 2, 2026.

Transparency log

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

Download URL chronocratic_datasets-0.1.0a4-py3-none-any.whl
Size 69.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
129e23f8b0c03e94362043a9820d39f44f52c40e01324f8f8b541280b3cac9ec
BLAKE2b-256 checksum
How to use checksums
813ca41ff4dd8c9568a8ecdcc360b48f6644ba927647c11ebd83efcca4820566
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 2, 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