Metadata-Version: 2.1
Name: ds-tut
Version: 0.0.10
Summary: Base infrastructure for data science tutorials
Home-page: https://github.com/ephes/ds_tut
Author: Jochen Wersdörfer
Author-email: jochen@wersdoerfer.de
License: Apache Software License 2.0
Keywords: nbdev jupyter notebook python
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: License :: OSI Approved :: Apache Software License
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: httpx
Requires-Dist: rich
Requires-Dist: jupyterlab
Provides-Extra: dev
Requires-Dist: nbdev ; extra == 'dev'
Requires-Dist: twine ; extra == 'dev'

# ds_tut

<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->

Some basic infrastructure for a [Data Science
Tutorial](https://github.com/ephes/data_science_tutorial)

## Install

``` sh
pip install ds_tut
```

## Install Development Version

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

## How to use

### Download Datasets

``` python
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
