Giter VIP home page Giter VIP logo

vagrant-data-science's Introduction

Vagrant - Data Science

Description:

A Vagrant machine ready for development of data science projects in Python.

The box includes:
1. Basics: numpy, pandas, scipy, jupyter
2. Data acquisition: requests, beautifulsoup, feedparser, scrapy
3. NLP: re, NLTK
4. Database connection: psycopg2, pymongo, pyodbc
5. AWS: boto3
6. Web Framework: flask
7. Visualization: matplotlib, seaborn, bokeh
8. Machine Learning: scikit-learn, theano, keras, tensorflow

Instructions:

· Install VirtualBox
· Install Vagrant
· In the terminal, clone the repository

$ git clone [email protected]:jaimeps/vagrant-data-science.git

· Change to your project directory

$ cd vagrant-data-science

· To create the VM, run

$ vagrant up

· Once the setup is finished, we can login to the VM

$ vagrant ssh

Jupyter notebook:

To launch jupyter run

$ jupyter notebook --ip=0.0.0.0

You can find the notebook in the host's browser at http://127.0.0.1:8888

Pycharm integration:

We can use our local Pycharm IDE with the Vagrant box as the Python interpreter.
In Pycharm go to Preferences > Project > Project Interpreter
Select "Add remote" in the settings button

Select Vagrant as the interpreter and the folder of the vagrant box in your computer

Now the Pycharm interpreter should look like this

Shared folder:

For convenience the "shared" folder is synced.

Customization:

  • To increase the memory or CPU count, change the following lines in the Vagrantfile:
vb.memory = "1024"
vb.cpus = 4
  • To add/remove Python modules in the setup, see the script in bootstrap.sh

References

vagrant-data-science's People

Contributors

jaimeps avatar

Watchers

 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.