GithubHelp home page GithubHelp logo

reiinakano / docker-python Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kaggle/docker-python

0.0 3.0 0.0 224 KB

Kaggle Python docker image

License: Apache License 2.0

Shell 51.10% Python 48.90%

docker-python's Introduction

Kaggle Kernels allow users to run scripts against our competitions and datasets without having to download data or set up their environment. Here's an example:

example script

This is the Dockerfile (etc.) used for building the image that runs python scripts on Kaggle. Here's the Docker image on Dockerhub.

Getting started

To get started with this image, read our guide to using it yourself, or browse Kaggle Kernels for ideas.

Requesting new features

We welcome pull requests if there are any packages you'd like to add!

We can merge your request quickly if you check that it builds correctly. Here's how to do that.

Start by running this image on your system:

me@my-computer:/home$ docker run --rm -it kaggle/python
root@d72b81a003e1:/# 

Then follow the package's installation instructions for a Linux system. It could be as simple as installing via Pip:

root@d72b81a003e1:/# pip install coolpackage
Collecting coolpackage
[...etc...]

Once that's done, check that you can import it correctly. (Sometimes, if a package is missing a dependency, it throws an error when you try to import it.)

root@d72b81a003e1:/# python
Python 3.5.2 |Anaconda 4.2.0 (64-bit)| (default, Jul  2 2016, 17:53:06)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import coolpackage
>>>

Once that's working, add the necessary lines to our Dockerfile. (In this case, that would mean adding pip install coolpackage to the last section.) Then submit your pull request, and you're all set!

docker-python's People

Contributors

anlthms avatar behzadg avatar benhamner avatar dansbecker avatar dchudz avatar flennerhag avatar galtay avatar gidler avatar kmader avatar kobakhit avatar kretes avatar matsavage avatar mboker avatar mrisdal avatar nerdcha avatar pershinmr avatar robinkraft avatar rubik avatar sambozek avatar scollins83 avatar sebbov avatar solesschong avatar thomzi12 avatar tokestermw avatar tvanesse avatar wangz10 avatar wcuk avatar wendykan avatar wjpjet avatar xb353 avatar

Watchers

 avatar  avatar  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.