Giter Club home page Giter Club logo

ds-template's Introduction

Generic Template for Data Science Projects based on py-pkgs

python

This cookiecutter ds-template is a customized modification of py-pkgs-cookiecutter for data science projects, mainly adding the following features:

  • Development Container with pre-configured tools:Conda, Poetry and Git
  • Makefile with commands for installation, testing, qa, etc.
  • Complete pre-commit yaml for code formatting and qa

py-pkgs-cookiecutter is a cookiecutter template for creating a fully-featured Python package using poetry. It supplements the Python Packages book by Tomas Beuzen and Tiffany Timbers but can be used independently.

Usage

Please refer to the documentation for more detail on using py-pkgs-cookiecutter. We provide the fundamental steps below:

  1. Install cookiecutter:

    pip install cookiecutter
  2. Generate a Python package structure using cookiecutter-ds-generic:

    cookiecutter https://github.com/Yago-145/ds_template.git
  3. After responding to the prompts you should have a directory structure similar to that shown below. To learn more about the contents of this directory structure, please refer to the reference py-pkgs-cookiecutter documentation.

├── CHANGELOG.md
├── CONDUCT.md
├── CONTRIBUTING.md
├── .devcontainer
│   ├── devcontainer.json
│   └── Dockerfile
├── Dockerfile
├── docs
│   ├── changelog.md
│   ├── conduct.md
│   ├── conf.py
│   ├── contributing.md
│   ├── index.md
│   ├── make.bat
│   ├── Makefile
│   ├── requirements.txt
│   └── usage.ipynb
├── .gitignore
├── LICENSE
├── Makefile
├── notebooks_dev
│   └── pkg_dev.ipynb
├── .pre-commit-config.yaml
├── pyproject.toml
├── README.md
├── .readthedocs.yml
├── src
│   └── my_pkg
│       ├── __init__.py
│       ├── logger.py
│       └── pkg.py
├── styleguide.md
└── tests
    ├── conftest.py
    ├── __pycache__
    └── test_pkg.py
  1. Open the README.md created in the new structure and refer to the Installation in Dev / Editor modeMode Section

License

The original py-pkgs-cookiecutter was created by Tomas Beuzen and Tiffany Timbers. It is licensed under the terms of the BSD license. This modified version of py-pkgs-cookiecutter was created by Angel Martinez-Tenor.

Acknowledgements

Original py-pkgs-cookiecutter: https://github.com/py-pkgs/py-pkgs-cookiecutter

py-pkgs-cookiecutter was originally developed for use in the University of British Columbia's (UBC) Master of Data Science_ program (MDS). It was inspired by the pyOpenSci cookiecutter template.

ds-template's People

Contributors

angelmtenor avatar angelmtenor-plexus avatar yago-145 avatar angelmtenorgft avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.