r/IPython • • Jul 17 '18

Jupyter Notebook 5.6.0 Released

Thumbnail
jupyter-notebook.readthedocs.io
11 Upvotes

r/IPython • • Jun 18 '18

JupyterHub 0.9 – Jupyter Blog

Thumbnail
blog.jupyter.org
11 Upvotes

r/IPython • • Nov 24 '17

JupyterCon 2017 – Jupyter Blog

Thumbnail
blog.jupyter.org
11 Upvotes

r/IPython • • Oct 28 '17

Jupyter Notebooks the best way to use Python

Thumbnail
youtube.com
11 Upvotes

r/IPython • • Oct 09 '17

GeoNotebook: A Jupyter Notebook extension for exploratory geospatial analysis

Thumbnail
blog.kitware.com
11 Upvotes

r/IPython • • Jun 12 '17

Jupyter Notebooks — More Tricks!

Thumbnail
blog.3blades.io
11 Upvotes

r/IPython • • Jan 31 '17

Re:Steering Council statement regarding US Executive Order on immigration.

11 Upvotes

Firstly, this is not /r/politics so I hope this will be the only post that does not specifically relate to coding on this subreddit. However, this is an open-source community where we rely on openness, the inclusion of diverse points of view and the good will of others to continue to improve. Since this order is contrary to these needs and the fact that the Jupyter Steering Committee felt it was important enough to issue a statement, I am posting links to the statement and the announcement.


r/IPython • • Nov 25 '16

Jupyter tutorial for beginners

Thumbnail
datacamp.com
11 Upvotes

r/IPython • • Sep 16 '16

New to Jupyter. Looks nifty so far!

11 Upvotes

I had heard of "ipython" and "notebooks" before but never looked into exactly what they are, thinking ipython meant Iron Python and that people were simply using GitHub to store notes.

Yesterday I was finalizing my search for some machine learning tools to analyze log files and found this clustering comparison which convinced me hdbscan is what I want to try for my purpose.

I tried copying the code and running it in an Ubuntu Docker container with Python3 and the needed libraries installed, but I couldn't make it work. I finally figured out that IPython/Jupyter was something different and downloaded a prebuilt Docker image for it. Pretty neat! Most of the examples worked, but the hdbscan module wasn't installed.

I spent an hour or two trying to wedge pip install hdbscan into the container image with varying degrees of progress but no actual success.

I revisted the issue today, and with Google's help I again realized I'm trying too hard to do things the old school way. Inside IPython I just had to

!pip install hdbscan

import hdbscan

And the final example worked!

I wanted to make a note of my new discovery somewhere, so I just put it here on reddit.

TL;DR: This is really cool:

docker run -d -p 443:8888 -e "PASSWORD=somepassword" ipython/scipyserver

Then, from IPython/Jupyter at https://thedockerhost , login with "somepassword", create a new Python 3 notebook:

!pip search whatever-module-I-need
!pip install whatever-module-I-need
import whatever-module-I-need
def do_stuff:
    # do stuff
do_stuff()

r/IPython • • Jun 15 '16

Tutorial: How to build a blog from iPython/Jupyter notebooks

Thumbnail
dataquest.io
11 Upvotes

r/IPython • • Nov 20 '15

Tip on how to run plotly examples in offline mode

11 Upvotes

As some of you may already know, plotly has open-sourced their javascript library. So I headed over to their website and tried to run their examples in my jupyter notebook server. But I would get errors stating that I need to provide API key. Then I found out it is because all the example code is assuming that I had registered with plotly and obtained their API key. However, you can run them if you run them in "offline" mode without having to register. After some digging, I found out all you have to do is have these lines at the top of your script:

from plotly.offline import download_plotlyjs, init_notebook_mode, iplot
from plotly.graph_objs import *
init_notebook_mode()

Then delete these lines if present:

import plotly.plotly as py
import plotly.graph_objs as go

Then delete any/all "py." or "go." since we removed the imports for those from above.

Then near the bottom of each example script, there is a line:

py.iplot(data, filename='basic-scatter')

Replace this line with:

iplot(data)

But if you see a variable called "data" and a variable called "layout", you need to create a Python dict from both like so:

fig = dict( data=data, layout=layout )

then below that line add:

iplot( fig )  

That should be it!

For example. This is plotly's original code for making a bubble chart:

import plotly.plotly as py
import plotly.graph_objs as go

trace0 = go.Scatter(
    x=[1, 2, 3, 4],
    y=[10, 11, 12, 13],
    mode='markers',
    marker=dict(
        size=[40, 60, 80, 100],
    )
)
data = [trace0]
layout = go.Layout(
    showlegend=False,
    height=600,
    width=600,
)
fig = go.Figure(data=data, layout=layout)
plot_url = py.plot(fig, filename='bubblechart-size')  

Below is what the script needs to be changed to, in order for it to be run in offline mode:

from plotly.offline import download_plotlyjs, init_notebook_mode, iplot
from plotly.graph_objs import *
init_notebook_mode()

trace0 = Scatter(
    x=[1, 2, 3, 4],
    y=[10, 11, 12, 13],
    mode='markers',
    marker=dict(
        size=[40, 60, 80, 100],
    )
)
data = [trace0]
layout = Layout(
    showlegend=False,
    height=600,
    width=600,
)

fig = dict( data=data, layout=layout )

iplot(fig)  

So with slight modifications, you can run all of plotly example code at their web site.

EDIT: I created a gist of the instructions in jupyter notebook format.


r/IPython • • Jul 12 '15

what do you think of cloud based Jupyter?

11 Upvotes

mainly thinking about https://cloud.sagemath.com/ and https://wakari.io/.

do you know these services and use them? are they good or is there anything missing? looking for a good alternative to setting up my own server and looking for people with experience


r/IPython • • Jun 06 '15

David Beazley - Modules and Packages

11 Upvotes

r/IPython • • Aug 24 '14

[IPython-dev] New Notebook extensions: Spell checking, document tools, cell tools

Thumbnail mail.scipy.org
11 Upvotes

r/IPython • • Aug 05 '14

The best cities to live and work remotely.

Thumbnail nbviewer.ipython.org
11 Upvotes

r/IPython • • Apr 14 '14

PyCon 2014 Scikit-learn Tutorial - Jake Vanderplas

11 Upvotes

r/IPython • • Mar 26 '14

IPython 2.0.0 release candidate

Thumbnail mail.scipy.org
11 Upvotes

r/IPython • • Mar 21 '14

Datalicious Notebookmania – My favorite 7 IPython Notebooks

Thumbnail
beautifuldata.net
11 Upvotes

r/IPython • • Nov 22 '13

Multiprocessing

Thumbnail nbviewer.ipython.org
11 Upvotes

r/IPython • • Oct 25 '13

First chapter of Mining the Social Web, 2nd Edition ported to an IPython Notebook - includes full text & code!

Thumbnail
nbviewer.ipython.org
11 Upvotes

r/IPython • • Aug 03 '13

IPython 1.0.0 has its First Release Candidate!

11 Upvotes

After much fiddling and bugfixing, IPython 1.0.0 has its first release candidate:

http://archive.ipython.org/testing/1.0.0

quickest way to test:

pip install http://archive.ipython.org/testing/1.0.0/ipython-1.0.0-rc1.tar.gz

If all goes smoothly, expect 1.0.0 final by the end of next week.

-MinRK


r/IPython • • Jul 08 '13

LLVM may mean the best of both worlds

Thumbnail nbviewer.ipython.org
11 Upvotes

r/IPython • • Jul 04 '13

SciPy2013 Conference Videos

11 Upvotes

r/IPython • • Jun 16 '13

Numba: 1400x Speedup of Python code in a single line (xpost from /r/Python)

Thumbnail jakevdp.github.io
11 Upvotes