Skip to main content

A unified API for exploring any ML task

Project description

PyPI version Docs

DatasetHub: A Unified API for Exploring Any ML Task

import dataset_hub

housing = dataset_hub.regression.get_housing() # pd.DataFrame

Installation

# Python 3.9+
pip install dataset-hub

If you run into installation issues, please write here

Key Features

  • Unified one-line API — load any dataset with get_<dataset>().
  • Wide task coverage — classification, regression, time series, and potentially more.
  • Rich documentation — metadata, columns, examples, and source links.
  • Starter baselines — quick starter models for every dataset.
  • Curated, not crowded — a focused hub of easy-to-use, well-documented datasets.

Supported Datasets

Every dataset in DatasetHub comes with a ready-to-run baseline, so you can start experimenting immediately.

Task Dataset Documentation
Classification Titanic Link
Classification Iris Link
Regression California Housing Prices Link
Time Series Household Electric Power Consumption Link

💡 Have ideas for new datasets or features?

Join the discussion and tell us what you'd like to see next.

Why this library exists

Every time I wanted to try a new ML task from scratch, I faced a chain of steps:
search for a suitable dataset → download it → load it into Python → write a baseline.

Some of these steps were surprisingly complex, and sometimes I just gave up.
The challenge grew even bigger when exploring new ML domains — take graph ML, for example — and honestly, I had no idea where to begin.

I created DatasetHub to solve this problem: it gives a unified, easy-to-use interface to access datasets, each with a ready-to-run baseline so you can start experimenting immediately.

API Disclaimer

DatasetHub downloads datasets from external public sources. Because of this:

  1. Sources may become unavailable
    If a dataset's original source (and mirrors) goes offline or changes, the corresponding get_<dataset>() function may stop working. If this happens, please write here

  2. API may change
    If a dataset is no longer publicly accessible, it may be removed from the library.

  3. Copyright
    If a copyright holder requests removal of their dataset, we will comply and update the API accordingly.

For copyright holders

If you believe your dataset should not be included, please contact us. We will review the request and remove or restrict access promptly.

Contributing

We’d love to have you on board!
If you’re excited to help develop and grow DatasetHub, please let us know in the discussion.
Once you express interest, we can provide guidance, suggest tasks, and outline contribution guidelines to help you get started.

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

dataset_hub-0.1.2.tar.gz (19.5 kB view details)

Uploaded Source

Built Distribution

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

dataset_hub-0.1.2-py3-none-any.whl (27.2 kB view details)

Uploaded Python 3

File details

Details for the file dataset_hub-0.1.2.tar.gz.

File metadata

  • Download URL: dataset_hub-0.1.2.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for dataset_hub-0.1.2.tar.gz
Algorithm Hash digest
SHA256 76e30329f8ecb40074007b0269ddd8657db3555b04262e27d19a74b223e99320
MD5 618a8e1642bd7d37e34f230e6b5c8689
BLAKE2b-256 e5f09d1fe9b8a2f0e78fa81a97e6c9ffe4d0b0a7c35c6dd86e8fdce59f687ec9

See more details on using hashes here.

File details

Details for the file dataset_hub-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: dataset_hub-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 27.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for dataset_hub-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1285a27e0a2176576f88392737af6715dddf6903c729575461760f099ea2fd29
MD5 848e033fd62c8632937c82c2d44409d5
BLAKE2b-256 73e49da37ce8b8bdd32495a25793261bb266a2b3f19baf722624e767f6a831c3

See more details on using hashes here.

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