Skip to main content

Python library, from AiAdventures, providing utility functions for downloading datasets, etc.

Project description

aiadv

A small helper library to download the datasets that are used in our training programs at AiAdventures.

Install

pip install aiadv

How to use

There is only two things that you need to know

URLs class

This class saves the id and file name of all the available datasets

URLs.MOVIE_LENS_SAMPLE
{'id': '1k2y0qC0E3oHeGA5a427hRgfbW7hnQBgF', 'fname': 'movie_lens_sample.zip'}

untar_data function

This function will download the dataset for you and will return the path.

untar_data(URLs.YELP_REIVEWS)

That's it!

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

aiadv-0.0.4.tar.gz (11.5 kB view hashes)

Uploaded source

Built Distribution

aiadv-0.0.4-py3-none-any.whl (10.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page