Skip to main content

A library for cookiecutter data science with rebase tools

Project description

Rebase Cookiecutter Data Science

Rebase Cookiecutter Data Science(based on Cookiecutter Data Science) is a tool for quickly setting up a data science template that incorporates best practices. To learn more about philosophy and motivation behind this template, visit the Cookiecutter Data Science homepage.

Installation

Cookiecutter Data Science v2 requires Python 3.8+. Since this is a cross-project utility application, we recommend installing it with pipx (for an isolated installation in your global environment). Installation command options:

# With pipx from PyPI (recommended)
pipx install rbds

# With pip from PyPI
pip install rbds

Starting a new project

To start a new project, run:

rbds

The resulting directory structure

The directory structure of your new project will look something like this (depending on the settings that you choose):

├── LICENSE            <- Open-source license if one is chosen
├── Makefile           <- Makefile with convenience commands like `make data` or `make train`
├── README.md          <- The top-level README for developers using this project.
├── data
│   ├── external       <- Data from third party sources.
│   ├── interim        <- Intermediate data that has been transformed.
│   ├── processed      <- The final, canonical data sets for modeling.
│   └── raw            <- The original, immutable data dump.
│
├── docs               <- A default mkdocs project; see www.mkdocs.org for details
│
├── models             <- Trained and serialized models, model predictions, or model summaries
│
├── notebooks          <- Jupyter notebooks. Naming convention is a number (for ordering),
│                         the creator's initials, and a short `-` delimited description, e.g.
│                         `1.0-jqp-initial-data-exploration`.
│
├── pyproject.toml     <- Project configuration file with package metadata for 
│                         {{ cookiecutter.module_name }} and configuration for tools like black
│
├── references         <- Data dictionaries, manuals, and all other explanatory materials.
│
├── reports            <- Generated analysis as HTML, PDF, LaTeX, etc.
│   └── figures        <- Generated graphics and figures to be used in reporting
│
├── requirements.txt   <- The requirements file for reproducing the analysis environment, e.g.
│                         generated with `pip freeze > requirements.txt`
│
├── setup.cfg          <- Configuration file for flake8
│
└── {{ cookiecutter.module_name }}   <- Source code for use in this project.
    │
    ├── __init__.py             <- Makes {{ cookiecutter.module_name }} a Python module
    │
    ├── config.py               <- Store useful variables and configuration
    │
    ├── dataset.py              <- Scripts to download or generate data
    │
    ├── features.py             <- Code to create features for modeling
    │
    ├── modeling                
    │   ├── __init__.py 
    │   ├── predict.py          <- Code to run model inference with trained models          
    │   └── train.py            <- Code to train models
    │
    └── plots.py                <- Code to create visualizations   

Installing development requirements

pip install -r dev-requirements.txt

Running the tests

pytest tests

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

rbds-0.1.1.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rbds-0.1.1-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file rbds-0.1.1.tar.gz.

File metadata

  • Download URL: rbds-0.1.1.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for rbds-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e543dce309a6f58be527516ed446afdf669ca659fb8ef6a6346b2117afa8583b
MD5 9856dbc5ad7c748907abdcc3e29c94d8
BLAKE2b-256 85c6843d16e11f3bb8d7331a57e0759c6d964e21dbac842462113e7c5e452684

See more details on using hashes here.

File details

Details for the file rbds-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: rbds-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for rbds-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b27a83f15b890b0f49b6f5281c150e63622a8d5acf5166ff7b517f7a2a8f4464
MD5 6249a9a0d3c447e43ee88d11cc2450aa
BLAKE2b-256 2d14c4f178428d6190b25a10822ba1d7426fa7c0a99b49de9ffaee95e019713d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page