Skip to content

Posts ​

Romain CasatiSeptember 2, 2021

· 1 min read

ipythonblocks ​

Here we go again for a nice year of new features: ipythonblocks is available in Basthon!

Have a look at the gallery: https://basthon.fr/galerie.html!


Romain CasatiMay 17, 2021

· 1 min read

pyroutelib3 ​

Teachers of SNT (digital sciences and technology) asked me to support pyroutelib3 to compute routes. Done! With Folium, the result is quite neat! https://notebook.basthon.fr/?from=examples/pyroutelib3.ipynb


Romain CasatiMay 15, 2021

· 1 min read

qrcode ​

The qrcode module is now available in Basthon! In PNG and SVG formats, codes are easy to download! See the documentation and the gallery.

This was made possible by https://github.com/lincolnloop/python-qrcode


Romain CasatiMay 12, 2021

· 1 min read

Integrating ODEs ​

Many of you regretted that differential equations could not be integrated with scipy.integrate.odeint in Basthon. They can now! https://basthon.fr/galerie.html

I used the integrators written in pure Python of the latest version of Scipy https://docs.scipy.org/doc/scipy/reference/generated/scipy.integrate.solve_ivp.html, then rewrote scipy.integrate.odeint to use them. See https://framagit.org/casatir/basthon-kernel/-/tree/master/src/modules/_ivp/_ivp and https://framagit.org/casatir/basthon-kernel/-/blob/master/src/basthon-py/basthon/_hack_modules.py#L143

Many physics and chemistry teachers were waiting for it.


Romain CasatiMay 8, 2021

· 1 min read

An experimental integration in JupyterLite ​

You prefer JupyterLab to the classic notebook interface? Here is an experimental integration of Basthon's kernel in JupyterLab https://jupyterlab.basthon.fr Many thanks @jtpio @QuantStack for the excellent JupyterLite https://github.com/jtpio/jupyterlite

The source code is available here: https://framagit.org/casatir/basthon-jupyterlab