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
Release history Release notifications | RSS feed
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 details)
Built Distribution
ds_tut-0.0.10-py3-none-any.whl
(11.9 kB
view details)
File details
Details for the file ds_tut-0.0.10.tar.gz
.
File metadata
- Download URL: ds_tut-0.0.10.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fb0d4c0ddd404af34db15e55d2c6ec4e76527aab9e9bc571c4d45d6366fec3a |
|
MD5 | d5dcb41f0b2159f46f78234ce0ecd794 |
|
BLAKE2b-256 | 2bc649b662066d7c52370dbb9654c7b97dae2e0001e3dd5e10c69f21245fb8be |
File details
Details for the file ds_tut-0.0.10-py3-none-any.whl
.
File metadata
- Download URL: ds_tut-0.0.10-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed6d48d3e8f4f3055a5ae492679c071b7ef7352684890cbf60a1c66d4bc475d1 |
|
MD5 | 9decc10050300caad51e82b7d31d8e4d |
|
BLAKE2b-256 | eeabe89a3b7dcbf3cec549e47580fa959bf4824972c8adccf0d5aa1d2acb07cc |