Code Monkey home page Code Monkey logo

data-science-python-setup's Introduction

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

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

Mac OS X

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

Project

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

Usage

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

Data

See the Data README for more infos.

Tests

flake8 # Run code style checks
pytest # Run the tests

data-science-python-setup's People

Contributors

fsmanuel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

data-science-python-setup's Issues

Fehlende Initialisierung Conda

Hallo Manuel,

durch bash ~/miniconda.sh -b -p ~/miniconda wird conda beim Aufsetzen nicht initiatlisiert.
Es fehlt dann ein /home/username/miniconda3/bin/conda init damit alles funktioniert.

LG Stephan

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.