Ipython notebook. Часть I — установка в Ubuntu 12.04 и запуск.
Задача: поставить ipython notebook — среду для работы с ipython в браузере, и немножко рассказать о его возможностях.
?нструменты: iptyhon notebook
Думаю, что многим хорошо известен продвинутый питоновский шел ipython. Его создатели большие любители пакета Matematika, и при работе в питоне, они скучали по её рабочей среде, которая реализована в виде записной книжки. Там имеется возможность тут же решить уравнение, отобразить результаты решения, нарисовать график, снабдить всё это текстовым комментарием, а при изменении исходных данных всё пересчитать и перерисовать одним нажатием клавиши.
Примерно с год назад разработчики ipython решили, что так жить больше нельзя, и начали изобретать велосипед разрабатывать свою записную книжку. Да так их понесло, что до сих пор не могут остановиться — очень уж им нравится то, что в итоге получается. Под катом рассказ о том как поставить последнюю стабильную версию ipython notebook под Ubuntu, запустить её и посмотреть примеры. Во второй части я покажу свой пример сеанса работы с notebook.
В научной работе важно протоколировать процесс поиска решения. Нужно знать, что ты уже попробовал, что не сработало и почему. Но в запале, конечно, мало кто это делает систематически.
notebook позволяет делать что-то вроде продвинутого лога всех ваших изысканий. Это инструмент, при помощи которого можно довольно просто и удобно искать решение вашей проблеммы, иллюстрируя всё это тут же создаваемыми графиками, картами или математическими формулами. При желании всё ваши действия можно сохранить, и к любому этапу можно легко вернуться. Демонстрация возможностей, конечно, лучше сотен страниц диферамбов, поэтому заинтересовавшихся отсылаю к большому видео с рассказом об ipython и notebook. Собственно про Notebook там начиная с 1:15:40. Кому лень смотреть часовую презентацию, есть видео на три минуты.
Установка
Устанавливать будем на Ubuntu 12.04. Самый простой способ, который я рекомендую тем, кто не хочет возиться с компиляцией и ручной установкой небольшой кучки дополнительного софта:
Будет установлена версия ipython 0.12. Однако Notebook развивается очень быстрыми темпами, и зачастую хочется иметь по крайней мере последнюю стабильную версию. Для этого придётся немножко потрудиться (в деталях процесс описан тут). Сначала скачиваем последний стабильный релиз отсюда. Распаковываем и выполняем:
Чтобы Notebook работал нужно поставить pyzmq. Подготавливаем почву:
Скачиваем исходники отсюда.
Распаковываем, конфигурируем и устанавливаем:
python setup.py configure
sudo python setup.py install
Также нам нужен сервер Tornado. Скачиваем отсюда. Распаковываем собираем и устанавливаем
python setup.py build
sudo python setup.py install
Последний пакет, так уж и быть поставим из репозитория 🙂
Ознакомительный тур
Перед началом работы можно посмотреть, что notebook может. Чтобы примеры из документации и из моей сессии заработали, вам нужно будет проверить, что установлено ещё несколько пакетов (последние, честное слово :)):
Примеры находятся в папке с документацией ipython и реализованны в виде файлов notebook. Чтобы начать с ними работу достаточно перейти в
если вы устанавливали ipython самостоятельно, и в
если ставили из репозитория Ubuntu.
В папке выполните команду:
при этом должен запуститься браузер с вот таким списком:
Тут вы просто открываете одну из книжек и наслаждаетесь, не забывая попутно выполнять встречающийся код. Для этого нужно либо нажать кнопку play (в виде стандартной стрелочки в интерфейсе), либо нажать Shift+Enter если вы хотите выполнить код и перейти в следующий блок, либо Ctrl+Enter — при этом код выполнится, но перехода на следующий блок не произойдёт, а код будет выделен.
�?з может не всем полезного, но вкусного:
Код и картинки в одном пространстве
Markdown (маркдаун) для разметки текста:
LaTeX для любителей снабдить свой комментарий хитрой формулой:
�?нтеграция с другими языками (Octave и R):
Символьные вычисления при помощи SymPy:
В следующей части попробую показать notebook в действии.
Ващще палнейшая уважуха за эту инфу ! Я как раз движок сайта на котором моя лингвистическая астролябия крутиться будет на торнадо делаю. Прикрутить туда notebook, либо наоборот прикрутить к нему мой сайт думаю будет без особых проблем. Торнадо штука достаточно простая и прозрачная. В итоге я смогу удаленно мониторить работу движка в графическом виде в стиле близком к Mathemathica ! А я-то по наивности собирая софт думал что все исследования будут только на мышах, в смысле на локальном сервере. А о мгновенном графическом анализе в боевой обстановке даже не помышлял.
root@localhost:/home/lera/Downloads/pyzmq-2.2.0.1# python setup.py install
running install
running build
running build_py
running build_ext
************************************************
Using bundled libzmq
already have bundled/uuid
already have bundled/zeromq
already have platform.hpp
************************************************
building ‘zmq.libzmq’ extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Ibundled/zeromq/include -Ibundled/uuid -Ibundled -I/usr/include/python2.7 -c buildutils/initlibzmq.c -o build/temp.linux-i686-2.7/buildutils/initlibzmq.o
buildutils/initlibzmq.c:10:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command ‘gcc’ failed with exit status 1
root@localhost:/home/lera/Downloads/pyzmq-2.2.0.1#
???
sudo apt-get install python-dev
Like!! Great article post.Really thank you! Really Cool.
beste online casino echtgeld deutschland , schweizer online casino echtgeld — casino freispiele oktober 2020 : karten spielen um geld erlaubt .
book of ra freispiele symbol , amazon gutschein casino — online casino freispiele ohne einzahlung september 2020 : schnelles geld im casino .
jga spiele geld verdienen , leagues of fortune automatenspiele — bwin casino gewinn : tipico live casino bonus und promo code .
app spielautomaten manipulieren , mobile spielautomaten tricks — online casino ohne einzahlung startguthaben : total casino rezension und bewertung .
Here are some of the sites we advocate for our visitors.
Sites of interest we’ve a link to.
Wonderful story, reckoned we could combine a handful of unrelated data, nonetheless genuinely really worth taking a search, whoa did 1 master about Mid East has got far more problerms as well.
Please check out the web sites we stick to, which includes this one particular, as it represents our picks from the web.
naturally like your web-site however you need to take a look at the spelling on quite a few of your posts. Several of them are rife with spelling issues and I in finding it very bothersome to tell the reality however I will certainly come again again.
bastenie speelautomaten , fruitkasten online — casino storten : holland casino kerst .
altijd winst casino , klassieke gokkasten jaren 80 — geen storting bonus 2020 : nieuwe casino oostzaan .
fruitautomaat in het frans , zodiac casino belasting — hoe oud moet je zijn voor holland casino : jackpot party casino gratis gokkasten .
wat is een betrouwbaar online casino , locatie holland casino groningen — geld verdienen online casino roulette : geld verloren im casino .
casino gratis spelen zeus , online gokkasten simbat — gratis casino gokspelletjes : geld storten zonder rekening .
exploitatie speelautomaten , nieuwe locatie holland casino utrecht — oranje casino uitbetalen mobiel : gokkasten casino spelen .
deutsches online casino echtgeld , randomrunner casino gokkasten — holland casino video slot : gratis online fruitautomaten spelen .
strategie casino roulette , casino ideal nederland — rizk casino ervaringen : manier van spelen casino .
speelautomaat spel , hoeveel speelautomaten holland casino breda — online gokken op fruitautomaat : geld verdienen zonder inleg .
oude fruitautomaat , fruitautomaten site — gratis gokkast spelen jolly joker : betrouwbare casino sites .
tragamonedas gratis van helsing , tips voor roulette holland casino — one casino uitbetalen : manier van spelen in casino .
gokkasten free game , mystery jackpot holland casino venlo — casino spellen thuis : online nederlandse casino .
huuuge casino beste slots , alle gokkasten gratis — gratis spins starburst zonder storting 2020 : casino strategie erfahrungen .
I truly enjoy looking at on this website , it has got good articles . «Dream no small dreams. They have no power to stir the souls of men.» by Victor Hugo.
medicamentos coronavirus , coronavirus sailing caribbean dog — coronavirus cattle : antech coronavirus pcr .
can coronavirus be treated , zoetis bovine rota coronavirus — novel coronavirus : coronavirus e gravidanza .
coronavirus cats transmission , avian coronavirus symptoms — respiratory disease coronavirus : sars coronavirus epidemiology .
structural basis for human coronavirus attachment to sialic acid receptors. , us the carona coronavirus — will you die if you get coronavirus : covid-19 coronavirus facts .
coronavirus feline treatment , equine coronavirus blindness — coronavirus in cats structure : outbreak respiratory syndrome coronavirus .
local response to the middle east respiratory syndrome coronavirus , does dogs die from coronavirus — webmd coronavirus : about feline coronavirus .
the elderly and coronavirus , controversies of coronavirus — canine coronavirus vaccine manufacturer : coronavirus virus characteristics .
can a uti cause coronavirus? , coronavirus oc43 treatment — coronavirus fact sheet : coronavirus vector .
parvovirus moquillo o coronavirus , feline coronavirus genome — coronavirus dogs : does my dog need coronavirus vaccine .
cats coronavirus eyes , fever common in coronavirus — coronavirus 229e, nih : coronavirus saudi arabia .
do all cats carry feline coronavirus , sintomas de coronavirus — coronavirus phylogenetic : cdc isolation precautions coronavirus .
coronavirus 0c43 , coronavirus symptoms — sars coronavirus who : coronavirus .
coronavirus responsible for , vitamin to kill coronavirus — virus sharing network coronavirus : natural remedies for feline coronavirus .
hrsv and coronavirus , coronavirus human elderly wiki — equine coronavirus vaccine : coronavirus replication does not requrie the autophagy gene atg5 .
coronavirus nl63 conjunctivitis , label the structures of the coronavirus. — sketchy coronavirus : coronavirus home remedies .
mark denison coronavirus vaccine , coronavirus felino pdf — sars coronavirus urbani ncbi nucleotide : «replication cycle of \»coronavirus\»» .
human coronavirus nl63 , is h1ni a coronavirus — canine coronavirus vaccine zoetis : turkey coronavirus bluecomb .
simplest gene expression coronavirus rotavirus coronavirus , coronavirus animal respiratory symptoms — how do horses get coronavirus : coronavirus hemmaglutinion .
coronavirus felino pdf , middle east respiratory syndrome coronavirus mers cov — coronavirus diagnosis dogs : respiratory panel testing coronavirus .
coronavirus size , when was the middle eastern coronavirus discovered — is coronavirus a non-enveloped virus : popular strains of coronavirus 2019 .
what causes coronavirus in marine mammals , coronavirus signs and symptoms in felines — transcriptional regulatory sequence coronavirus : 7-way + coronavirus vaccines .
coronavirus quizlet , treatment for coronavirus — coronavirus test cost : coronavirus effect liver function .
should i be worried about the wuhan coronavirus outbreak , coronavirus and diarrhea — which coronavirus caused a pandemic between november 2002 and july 2003 : what months are coronavirus common .
coronavirus que provoca , coronavirus — why does my vet not offer coronavirus : coronavirus and copd .
nursing interventions for coronavirus , coronavirus in cats treatment — canine coronavirus versus parvovirus : delta coronavirus in pigs merc .
a new coronavirus , does coronavirus cause liver failure — turkey coronavirus : merc coronavirus .
coronavirus u psu , can you get coronavirus multiple times — coronavirus and common cold : how is equine enteric coronavirus transmitted .
understanding the coronavirus , how common is the coronavirus in cats — the genome sequence of the sars-associated coronavirus : what causes a coronavirus .
can human coronavirus spread to dogs , how long does coronavirus last puppy — «\»proteinuria\» coronavirus» : sars coronavirus in baby .
coronavirus wikipedia , dogs are coronavirus — inoculation with bovine coronavirus nemoto : coronavirus bronchitis icd 10 .
Sites of interest we’ve a link to.
coronavirus beer , can you get coronavirus from a cat — carrying coronavirus : poikilocytosis coronavirus .
coronavirus pink eye , coronavirus affect alt cats — what are the vaccines for the coronavirus on animals : where does coronavirus come from .
iddle east respiratory syndrome-related coronavirus , what are some coronavirus — coronavirus enzymes : coronavirus nl63 infectious .
virologia y coronavirus , coronavirus en bovinos — can humans get coronavirus? : coronavirus que enfermedad produce .
tmprss1 tmprss2 coronavirus , sars coronavirus in baby — detecting coronavirus in horses : coronavirus vaccination schedule cats .
coronavirus-like particles and campylobacter in marmosets with diarrhea and colitis , understanding the coronavirus — bordetella shot coronavirus : coronavirus 229e pathogen .
canine coronavirus fever , coronavirus in spanish — coronavirus dogs to humans : coronavirus in calves .
To commendation your paramount iscariot consortium information about viagra super active and how it communicates your milky
http://viagrasupera.com/
Sites of interest we’ve a link to.
The time to study or take a look at the material or web-sites we’ve linked to beneath.
Here are some hyperlinks to sites that we link to due to the fact we consider they are really worth visiting.
Commander Du Cialis Pas Cher [url=http://apcialisle.com/#]Cialis[/url] Amoxicillin Capsule 500mg 93 3109 canadian pharmacy cialis Legally Fluoxetine Ups
That is the end of this post. Here you will discover some sites that we feel you
One of our guests not long ago encouraged the following website.
Just beneath, are several entirely not associated web sites to ours, on the other hand, they may be certainly really worth going over.
The time to read or stop by the material or sites we have linked to beneath.
Cialis Online Fastest Delivery [url=http://apcialisle.com/#]tadalafil cialis from india[/url] Sildenafil 50mg Buy Cialis Levitra Eccipienti
Check below, are some absolutely unrelated websites to ours, even so, they may be most trustworthy sources that we use.
That will be the finish of this write-up. Right here you
Amoxicilline Clavulanate De Potassium [url=https://apcialisle.com/#]Cialis[/url] Propecia Con Como Preparar comprar cialis online Isotretinoin With Overnight Delivery In Internet
Very handful of websites that come about to be detailed beneath, from our point of view are undoubtedly effectively worth checking out.
Very couple of web-sites that come about to be detailed beneath, from our point of view are undoubtedly well worth checking out.
9cDUll Stop Protesting And Start your own special men Advertising and marketing campaign In exchange
Cost Zithromax [url=https://apcialisle.com/#]Cialis[/url] Zithromax Rash Toddler is there a generic cialis available Fluoxetine 20mg
Thanks so much for giving everyone an extraordinarily nice chance to read critical reviews from this web site. It’s always very great and stuffed with a great time for me and my office mates to search your website not less than 3 times in one week to learn the fresh items you will have. Of course, we are usually pleased with all the sensational suggestions served by you. Certain 3 points in this article are particularly the simplest I have ever had.
coronavirus 2020 death toll
[url=http://chloroquine-treatmentforcoronavirus.com/#]chloroquine aralen
[/url] coronavirus reddit
chloroquine for covid-19
— coronavirus 3 cases
is coronavirus a cold
coronavirus dangerous
[url=http://chloroquine-treatmentforcoronavirus.com/#]buy chloroquine phosphate online
[/url] coronavirus from
order chloroquine
— a coronavirus outbreak
coronavirus global
coronavirus places infected
[url=http://chloroquine-treatmentforcoronavirus.com/#]buy chloroquine phosphate 250mg
[/url] coronavirus washington dc
chloroquine phosphate 250 mg
— coronavirus 7 weeks
coronavirus 800
l coronavirus symptoms
[url=http://chloroquine-treatmentforcoronavirus.com/#]chloroquine phosphate 250mg online
[/url] coronavirus 5th case in us
chloroquine 250 mg
— coronavirus 9 month old
coronavirus 1720
coronavirus found in us
[url=http://chloroquine-treatmentforcoronavirus.com/#]chloroquine phosphate
[/url] coronavirus zpack
buy chloroquine 250mg
— coronavirus washington
coronavirus spread through
nj coronavirus case
[url=http://chloroquine-treatmentforcoronavirus.com/#]chloroquine aralen
[/url] coronavirus toronto
chloroquine drug
— coronavirus 1st case in us
coronavirus 2020 death toll
coronavirus toronto
[url=http://chloroquine-treatmentforcoronavirus.com/#]chloroquine coronavirus
[/url] coronavirus year of the rat
buy chloroquine 250mg
— coronavirus predictions
coronavirus 6 day hospital
coronavirus xiangguo qiu
[url=http://chloroquine-phosphate-250mg.com/#]buy chloroquine
[/url] coronavirus asu
chloroquine phosphate
— coronavirus gag order
coronavirus xiamen airlines
coronavirus vs rhinovirus
[url=http://chloroquine-phosphate-250mg.com/#]chloroquine 250mg
[/url] coronavirus 65
chloroquine 250 mg
— coronavirus examples
coronavirus quarantine
Someone necessarily lend a hand to make significantly articles I would state. That is the first time I frequented your web page and up to now? I amazed with the analysis you made to create this particular publish extraordinary. Wonderful activity!
coronavirus patent
[url=http://chloroquine-phosphate-250mg.com/#]chloroquine phosphate 250 mg
[/url] coronavirus i kina
chloroquine phosphate 250mg
— coronavirus in nj
a coronavirus tunetei
Yes, when you are roulette live roulette online, the canada is exactly the same as
playing roulette in the online except canada can roulette from any remote
location. mobile casino online
S residents with only a handful of online casinos
to choose from, but this list fortunately includes some of the best, most exciting and reputable casinos in the world.
coronavirus 043
[url=http://chloroquine-phosphate-250mg.com/#]buy chloroquine
[/url] coronavirus 2 week incubation
aralen
— coronavirus where is it now
n coronavirus death
coronavirus economy
[url=http://chloroquine-phosphate-250mg.com/#]chloroquine online
[/url] coronavirus quebec
buy chloroquine
— coronavirus 10 days
coronavirus zicam
coronavirus 3rd
[url=http://chloroquine-phosphate-250mg.com/#]chloroquine phosphate 250 mg
[/url] coronavirus zicam
buy chloroquine phosphate 250mg
— 5 coronavirus cases in usa
coronavirus recession
coronavirus yakima
[url=http://chloroquine-phosphate-250mg.com/#]chloroquine aralen
[/url] coronavirus jalisco
chloroquine aralen
— coronavirus la county
coronavirus 7 cities
coronavirus virus in us
[url=http://chloroquine-phosphate-250mg.com/#]chloroquine online
[/url] coronavirus logan airport
chloroquine phosphate 250 mg
— coronavirus in texas
coronavirus outbreaks
cialis 20mg online bestellen [url=https://canadianpillsbuy.com/]buy cialis online canada[/url] is cialis available on nhs
If some one wants to be updated with latest technologies then he must
be visit this site and be up to date every day.
My web-site: best CBD oil
Like!! I blog quite often and I genuinely thank you for your information. The article has truly peaked my interest.
I really like and appreciate your blog post.
I like the valuable information you provide in your articles.
Now I am ready to do my breakfast, later than having my breakfast coming again to read additional news.|
Greetings from Ohio! I’m bored to tears at work so I decided to
browse your site on my iphone during lunch break. I love the knowledge you present
here and can’t wait to take a look when I get home. I’m shocked at how fast your blog loaded on my mobile ..
I’m not even using WIFI, just 3G .. Anyways, wonderful blog!
Have a look at my web site :: best CBD gummies