Skip to main content

Base infrastructure for data science tutorials

Project description

ds_tut

Some basic infrastructure for a Data Science Tutorial

Install

pip install ds_tut

Install Development Version

git clone https://github.com/ephes/ds_tut
cd ds_tut
python -m pip install -e ".[dev]"

How to use

Download Datasets

from pathlib import Path

archive_name = "reuters21578.tar.gz"
training_data_url = "http://www.daviddlewis.com/resources/testcollections/reuters21578/{}".format(archive_name)
data_root = Path.cwd() / "data"
training_data_path = data_root / archive_name
data_size = download_from_url(training_data_url, training_data_path)
print(data_size)
8150596

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

ds_tut-0.0.10.tar.gz (12.4 kB view hashes)

Uploaded Source

Built Distribution

ds_tut-0.0.10-py3-none-any.whl (11.9 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