Skip to main content

Dataget

Dataget is an easy to use, framework-agnostic, dataset library that gives you quick access to a collection of Machine Learning datasets through a simple API.

Main features:

  • Minimal: Downloads entire datasets with just 1 line of code.
  • Compatible: Loads data as numpy arrays or pandas dataframes which can be easily used with the majority of Machine Learning frameworks.
  • Transparent: By default stores the data in your current project so you can easily inspect it.
  • Memory Efficient: When a dataset doesn't fit in memory it will return metadata instead so you can iteratively load it.
  • Integrates with Kaggle: Supports loading datasets directly from Kaggle in a variety of formats.

Checkout the documentation for the list of available datasets.

Getting Started

In dataget you just have to do two things:

  • Instantiate a Dataset from our collection.
  • Call the get method to download the data to disk and load it into memory.

Both are usually done in one line:

import dataget


X_train, y_train, X_test, y_test = dataget.image.mnist().get()

This example downloads the MNIST dataset to ./data/image_mnist and loads it as numpy arrays.

Kaggle Support

Kaggle promotes the use of csv files and dataget loves it! With dataget you can quickly download any dataset from the platform and have immediate access to the data:

import dataget

df_train, df_test = dataget.kaggle("cristiangarcia/pointcloudmnist2d").get(
    files=["train.csv", "test.csv"]
)

To start using Kaggle datasets just make sure you have properly installed and configured the Kaggle API. In the future we want to expand Kaggle support in the following ways:

  • Be able to load any file that numpy or pandas can read.
  • Have generic support for other types of datasets like images, audio, video, etc.
    • e.g dataget.data.kaggle(..., type="image").get(...)

Installation

dataget is available at pypi so you can use your favorite package manager.

pip
pip install dataget
pipenv
pipenv install pytest
poetry
poetry add dataget

Contributing

Read our guide on Creating a Dataset if you are interested in adding a dataset to dataget.

License

MIT License

Metadata

Release files for dataget 0.4.8

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

Source distribution (sdist)

Source distribution for dataget 0.4.8
File Size Uploaded
dataget-0.4.8.tar.gz 11.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dataget 0.4.8
File Interpreter ABI Platform
dataget-0.4.8-py3-none-any.whl Python 3 none any Details

Total release size: 26.3 kB

Release files / dataget-0.4.8.tar.gz

Download URL dataget-0.4.8.tar.gz
Size 11.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ef2afa43839c4e0f4d988ea63f23f1de9f6fc96f42e4884165b1a63b66edef81
BLAKE2b-256 checksum
How to use checksums
deb2e901fbaf7555b14183b7b18e38bfa5af3402284db7f8fae6cc30b59c52cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.5 CPython/3.7.6 Linux/5.3.0-7629-generic

Release files / dataget-0.4.8-py3-none-any.whl

Download URL dataget-0.4.8-py3-none-any.whl
Size 14.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8fe378f911fd3943080697d4e4db0ce531d8f041cfa5f1ebd213a03e93ff9d1f
BLAKE2b-256 checksum
How to use checksums
672044ec3a12a848b2f4ab55442ca9eddd85ffd97312bcb02b580195d935f9e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.5 CPython/3.7.6 Linux/5.3.0-7629-generic

Release history Release notifications | RSS feed

0.4.15

2 release files

0.4.14

2 release files

0.4.13

2 release files

0.4.12

2 release files

0.4.11

2 release files

0.4.9

2 release files

This release

0.4.8 This release

2 release files

0.4.7

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

1 release file

0.3.0

1 release file

0.2.5

1 release file

0.2.4

1 release file

0.2.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.11

1 release file

0.1.10

1 release file

0.1.9

1 release file

0.1.8

1 release file

0.1.7

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

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