Skip to content

Commit

Permalink
Add binder badge to readme (#2758)
Browse files Browse the repository at this point in the history
* Add binder badge to readme

* Use rst instead of .md

* Use proper rst

* Add full requirements to binder

* Add master pymc3

* Add more dev requirements to be able to run notebooks

* Unpin IPython to allow python2.7 builds

* Add bokeh to requirements

* Move badge to top
  • Loading branch information
ColCarroll authored and twiecki committed Dec 19, 2017
1 parent da3ef19 commit 877bf5e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.rst
Expand Up @@ -3,15 +3,16 @@
:alt: PyMC3 logo
:align: center

|Build Status| |Coverage| |NumFOCUS_badge|
|Build Status| |Coverage| |NumFOCUS_badge| |Binder|

PyMC3 is a Python package for Bayesian statistical modeling and Probabilistic Machine Learning
which focuses on advanced Markov chain Monte Carlo and variational fitting
algorithms. Its flexibility and extensibility make it applicable to a
large suite of problems.

Check out the `getting started guide <http://docs.pymc.io/notebooks/getting_started>`__!

Check out the `getting started guide <http://docs.pymc.io/notebooks/getting_started>`__, or
`interact with live examples <https://mybinder.org/v2/gh/pymc-devs/pymc3/master?filepath=%2Fdocs%2Fsource%2Fnotebooks>`__
using Binder!

Features
========
Expand Down Expand Up @@ -176,6 +177,8 @@ Sponsors

|Quantopian|

.. |Binder| image:: https://mybinder.org/badge.svg
:target: https://mybinder.org/v2/gh/pymc-devs/pymc3/master?filepath=%2Fdocs%2Fsource%2Fnotebooks
.. |Build Status| image:: https://travis-ci.org/pymc-devs/pymc3.png?branch=master
:target: https://travis-ci.org/pymc-devs/pymc3
.. |Coverage| image:: https://coveralls.io/repos/github/pymc-devs/pymc3/badge.svg?branch=master
Expand Down
4 changes: 4 additions & 0 deletions binder/requirements.txt
@@ -0,0 +1,4 @@
-r ../requirements-dev.txt
# this installs pymc3 itself. it is funny that this is an absolute path,
# but reqirements-dev.txt is relative.
.
4 changes: 4 additions & 0 deletions requirements-dev.txt
@@ -1,5 +1,8 @@
bokeh>=0.12.13
CommonMark==0.5.4
h5py>=2.7.0
ipython
Keras>=2.0.8
matplotlib>=1.5.0
mock>=2.0.0; python_version < '3.4'
nbsphinx>=0.2.13
Expand All @@ -13,5 +16,6 @@ pytest-cov>=2.5.1
pytest>=3.0.7
recommonmark>=0.4.0
scipy>=0.12.0
seaborn>=0.8.1
sphinx-autobuild==0.7.1
sphinx>=1.5.5

0 comments on commit 877bf5e

Please sign in to comment.