*sigh* I've been using #IPython with #django-extensions shell_plus as my terminal in multiple #Django projects for over a year.
I _just_ realized that all of the various projects I've been building have been logging those sessions to the same _system_ IPython history.sqlite3 file.
A wee bit o' a #security oversight on my part... D'oh!
Can somebody familiar with #JupyterLab or #JupyterNotebook please tell me why the top cell in this notebook doesn't render the HTML, when the other two cells do? Everything I'm reading online suggests it should render it. https://gist.github.com/mattcen/c5db6e729dfe9e949596ffb87207cb1b
In the "Rich representation" section of this notebook (https://jupyterlite.github.io/demo/lab?path=.%2Fpython.ipynb) it does something similar and Just Works (obviously that's #Pyodide rather than CPython, but I don't think that should matter).
I am guessing maybe there's a library I haven't installed; for this example I just created a new virtual environment and installed `jupyterlab` and nothing else.
#Jupyter #IPython
#jupyterlab #jupyternotebook #pyodide #jupyter #ipython
Hello community @fosstodon
We write open source packages to ease the development and deployment of data applications.
We are currently maintaining:
1. Ploomber: a package to easily integrate your DS projects into pipelines
2. JupySQL: a continuation of #iPython-SQL, execute your #SQL queries with ease on Jupyter notebooks
3. Ploomber engine: A toolbox for Jupyter notebooks : testing, experiment tracking, debugging, profiling, and more!
Please say hi, follow us and let us follow you.
Huray! I don't know when it happened, but #ipython has fixed an annoying bug which still exists in #python 10:
you can exit the interpreter with just "exit" now, instead of "exit()"
>>> exit
Use exit() or Ctrl-D (i.e. EOF) to exit
>>>
vs:
IPython 8.5.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: exit
mjl@modi ~>
How to configure #VIM to compile #VLANG (#v_programming) programs or run #python scripts with #Ipython REPL.
https://tessarinseve.pythonanywhere.com/nws/2023-03-17.wiki.html
#vim #vlang #v_programming #python #ipython
aaaaand we're live!! 🚀
https://github.blog/changelog/2023-03-01-feature-preview-rich-jupyter-notebook-diffs/
#Jupyter #JupyterNotebook #DataScience #DataViz #Data #python #ipython
#jupyter #jupyternotebook #datascience #dataviz #data #python #ipython
Noticias sobre Python científico de la semana, episodio 60 🐍⚙️🍇 ¡Hola 2023!
En resumen: Nuevas versiones de SciPy, NumPy, IPython y Polars, cálculo de energía renovable con atlite, un cron para notebooks de Jupyter, arrays infinitos, y un anuncio personal https://astrojuanlu.substack.com/p/episodio-60 Apoya el noticiero suscribiéndote por correo 📫
#noticieropythoncientifico #scipy #numpy #ipython #polars #conda #jupyter #pydata #python
#python #PyData #jupyter #conda #polars #ipython #numpy #SciPy #noticieropythoncientifico
@talkpython @michaelaye Just tested on a simple #sklearn iris dataset test from https://panel.holoviz.org/gallery/simple/iris_kmeans.html , amazing.
#panel converts #ipython #notebook directly to #pyscript apps.
#Sklearn #panel #ipython #notebook #Pyscript
This makes #VSCode use #IPython:
https://stackoverflow.com/questions/52310689/use-ipython-repl-in-vs-code
Still not sure how to send things to it though
I've just saw that nbsafety was renamed to "IPyflow".
That is a really cool project bringing reactive execution (and more) to IPython kernel.
Check it out at: https://github.com/ipyflow/ipyflow
#jupyter #ipython
I've just saw that nbsafety was renamed to "IPyflow".
That is a really cool project bringing reactive execution (and more) to IPython kernel.
Check it out at: https://github.com/ipyflow/ipyflow
#jupyter #ipython
Some trials run on #ipython that show how sensitive this iterative system \(x_{n+1}=f(x_n)\) is. For initial values one from the set {0.99, 1.01, 1.99, 3.01} one gets the following sequences (see omg).
Now I'm wondering what I might have understood wrongly about the range of convergence to 2. Earlier I've found that it's approx. (1.4,2.6), but my experiments suggests that the iteration blows up for values \(x<1\) and \(x>3\). Also it suggests that for \(x<3\) and \(x>1\) convergence to 2.
What can you do with a #CATMAID server? Say, let's look at the #Drosophila (vinegar fly, often referred to as fruit fly) larval central nervous system, generously hosted by the #VirtualFlyBrain https://l1em.catmaid.virtualflybrain.org/?pid=1&zp=108250&yp=82961.59999999999&xp=54210.799999999996&tool=tracingtool&sid0=1&s0=2.4999999999999996&help=true&layout=h(XY,%20%7B%20type:%20%22neuron-search%22,%20id:%20%22neuron-search-1%22,%20options:%20%7B%22annotation-name%22:%20%22papers%22%7D%7D,%200.6) or the #Platynereis (a marine annelid) server from the Jekely lab https://catmaid.jekelylab.ex.ac.uk/
First, directly interact by point-and-click: open widgets, find neurons by name or annotations, fire up a graph widget and rearrange neurons to make a neat synaptic connectivity diagram, or an adjacency matrix, or look at neuron anatomy in 3D. Most text–names, numbers–are clickable and filterable in some way, such as regular expressions.
Second, interact from other software. Head to r-catmaid https://natverse.org/rcatmaid/ (part of the #natverse suite by Philipp Schlegel @uni_matrix, Alex Bates and others) for an R-based solution from the Jefferis lab at the #MRCLMB. Includes tools such as #NBLAST for anatomical comparisons of neurons (see paper by Marta Costa et al. 2016 https://www.sciencedirect.com/science/article/pii/S0896627316302653 ).
If R is not your favourite, then how about #python: the #navis package, again by the prolific @uni_matrix, makes it trivial, and works also within #Blender too for fancy 3D renderings and animations. An earlier, simpler version was #catpy by @csdashm https://github.com/ceesem/catpy , who also has examples on access from #matlab.
Third, directly from a #psql prompt. As in, why not? #SQL is quite a straightforward language. Of course, you'll need privileged access to the server, so this one is only for insiders. Similarly privileged is from an #ipython prompt initialized via #django from the command line, with the entire server-side API at your disposal for queries.
Fourth, and one of my favourites: from the #javascript console in the browser itself. There are a handful of examples here https://github.com/catmaid/CATMAID/wiki/Scripting but the possibilities are huge. Key utilities are the "fetchSkeletons" macro-like javascript function https://github.com/catmaid/CATMAID/wiki/Scripting#count-the-number-of-presynaptic-sites-and-the-number-of-presynaptic-connectors-on-an-axon and the NeuronNameService.getInstance().getName(<skeleton_id>) function.
Notice every #CATMAID server has its /apis/, e.g., at https://l1em.catmaid.virtualflybrain.org/apis/ will list all GET or REST server access points. Reach to them as you please. See the documentation: https://catmaid.readthedocs.io/en/stable/api.html
In short: the data is there for you to reach out to, interactively or programmatically, and any fine mixture of the two as you see fit.
#Drosophila #natverse #MRCLMB #django #javascript #VirtualFlyBrain #Platynereis #NBLAST #python #navis #blender #catpy #matlab #psql #sql #ipython #catmaid
#pyzo #IPython un petit bug de chargement de IPython dans Pyzo 4.12.3 résolu en commentant les lignes indiquées dans ce billet https://github.com/pyzo/pyzo/issues/796 Visiblement, un exemple de changement d'API (IPython) qui n'a pas été pris en compte coté client (Pyzo)
RT @Mbussonn@twitter.com
PSA: If you are using #IPython do not upgrade to Python 3.9.8 (yet?) it seem to be broken (likely because of https://bugs.python.org/issue45738), looking into fixing in IPython itself.
RT @davidvujic
When learning a new language, you bring good things to other areas. REPL Driven Development is something I’ve learned through #Clojure.
I love it. 😍
Can we also do that in #Python?
Here’s some ideas:
https://davidvujic.blogspot.com/2021/09/can-we-have-that-in-python-too.html
#python #ipython #emacs #clojure
RT @Mbussonn@twitter.com
#IPython 7.24 is out. Thanks to @DEShawGroup@twitter.com the debugger can now hide and skip frames from readonly files. Less to read and less typing = Faster debugging. Read more: https://discourse.jupyter.org/t/release-of-ipython-7-24/9365
#Checkliste für #Vim als #IDE für #Python
#Checkliste für die #Vervollständigung der #Datei #Vimrc
Bezüglich #Debugging sagt der Vortragende er benutze dafür nicht Vim, sondern #iPython und #ipdb (#IPython #pdb).
I will insert breakpoints with a shortkey, open another terminal window and start my program, waiting until the breakpoint is hit and then inspect the scope.
#checkliste #vim #ide #python #Vervollständigung #datei #vimrc #debugging #ipython #ipdb #pdb