Skip to main content

TSDB (Time Series DataBase): A Python Toolbox Helping Load Open-Source Time-Series Datasets

Project description

Welcome to TSDB

A Python Toolbox Helping Load Time-Series Datasets

PyPI

Project TSDB is created to help researchers and engineers get rid of data collecting and downloading, and focus back on data processing details. TSDB provides all-in-one-stop convenience for downloading and loading open-source time-series datasets (available datasets listed below). Note that due to people have very different requirements for data processing, data-loading functions in TSDB only contain the most general steps (e.g. removing invalid samples) and won't process the data (not even normalize it). So, no worries. If you only need raw datasets, TSDB allows you to download datasets only as well (take a look at Usage Examples).

❖ Usage Examples

Install from PyPI:

pip install tsdb

or install from source code:

pip install https://github.com/WenjieDu/TSDB/archive/main.zip

import tsdb
tsdb.list_available_datasets()  # list all available datasets in TSDB
data = tsdb.load_specific_dataset('physionet_2012')  # select the dataset you need and load it, TSDB will download, extract, and process it automatically
tsdb.download_and_extract('physionet_2012', './save_it_here')  # if you need the raw data, use download_and_extract()
tsdb.list_cached_data()  # datasets you once loaded are cached, and you can check them with list_cached_data()
tsdb.delete_cached_data()  # you can delete all cache with delete_cached_data() to free disk space
tsdb.delete_cached_data(dataset_name='physionet_2012')  # or you can delete only one specific dataset and preserve others

That's all. Simple and efficient. Enjoy it! 😃

❖ List of Available Datasets

Name Main Tasks
PhysioNet Challenge 2012 Classification, Forecasting, Imputation
PhysioNet Challenge 2019 Classification, Imputation
Beijing Multi-Site Air-Quality Forecasting, Imputation
Electricity Load Diagrams Forecasting, Imputation
All UCR & UEA Datasets Classification

❖ License

Please note that TSDB is open source under license GPL-3.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

tsdb-0.0.6-py3-none-any.whl (28.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page