项目作者: datasciencejob-de

项目描述 :
A minimal setup to let you crunch numbers like a pro. Read the article:
高级语言: Jupyter Notebook
项目地址: git://github.com/datasciencejob-de/data-science-python-setup.git
创建时间: 2019-03-31T12:20:14Z
项目社区:https://github.com/datasciencejob-de/data-science-python-setup

开源协议:MIT License

下载


Data Science Python Project Setup

A minimal setup to let you crunch numbers like a pro.

Read the full article on Medium.

If you like to use the repository as a blueprint for your own projects just follow the steps below.

Replace data-science-project with you project/environment name in:

  • .travis.yml
  • environment.yml
  • README.md
  • setup.py

Replace the package information in the setup.py with your own.

Setup

Miniconda

Skip this step if you have Anaconda or Miniconda installed already!

Linux

  1. wget -O ~/miniconda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
  2. bash ~/miniconda.sh -b -p ~/miniconda
  3. rm ~/miniconda.sh
  4. export PATH="$HOME/miniconda/bin:$PATH"
  5. conda init

Mac OS X

  1. curl -fSL -o ~/miniconda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
  2. bash ~/miniconda.sh -b -p ~/miniconda
  3. rm ~/miniconda.sh
  4. export PATH="$HOME/miniconda/bin:$PATH"
  5. conda init

Project

  1. git clone https://github.com/datasciencejob-de/data-science-python-setup.git
  1. conda env create -f environment.yml
  2. conda activate data-science-project

Usage

  1. conda env update -f environment.yml
  2. conda activate data-science-project
  3. jupyter notebook

Data

See the Data README for more infos.

Tests

  1. flake8 # Run code style checks
  2. pytest # Run the tests