Sign in

Data Scientist and Director of LETU Mongolia. Keen observer of Mongolia.

More customizable than Streamlit, simpler than Dash

You’ve probably heard of Streamlit and Dash, two Python-centric ways of making web apps. While Dash is focused more on the enterprise and allows extensive customization, Streamlit is much simpler and is trying to make building web apps incredibly easy.

To me, Anvil sits in between these two options. Anvil is an online tool for building web applications with nothing but Python. It offers much more customizability than Streamlit but is much simpler to build than Dash.

In this article, I will show you how to build a web front end for a machine learning model. It is important to…


They join Colab and Deepnote with a custom Jupyter notebook UI

The new IDE in dark mode

Note: This release seems to be very much a work in progress. Check out the comparison to Colab and Deepnote at the bottom for details.

On February 11, 2020, Paperspace rolled out their reimagined cloud-based notebook product with a new IDE and file browser. Paperspace has offered one-click Jupyter notebooks since 2018 through its Gradient product. What has changed is that the default view for notebooks is now their own custom IDE user interface, similar to what Google Colab and Deepnote offer.

Before this update, you chose your base environment with a list of pre-installed packages and a machine type…


Power up the almost useless code suggestions in JupyterLab

JupyterLab’s native code completion is well….not great.

As a data scientist, you almost surely use a form of Jupyter Notebooks. Hopefully, you have moved over to the goodness of JupyterLab with its integrated sidebar, tabs, and more. When it first launched in 2018, JupyterLab was great but felt it was missing some things.

Now you can add a visual debugger and there is even a library called nbdev that allows you to author full Python packages and push them to PyPI. JupyterLab has become a complete IDE for data scientists. But one thing was still sub-optimal until recently, code completions.

Trying to use the built-in code completion…


A web app I made with Anvil to monitor air pollution in Ulaanbaatar, Mongolia.

Build a data science app in minutes, and deploy it to the web in one click.

Disclaimer: I’m not affiliated with Anvil, I just love their product.

As more data scientists enter organizations around the world, most will find a very different work environment than what they may have dreamed about at Netflix, Facebook, or Google. At these companies, data scientists are supported by data engineers, machine learning engineers, application developers, and dev-ops specialists. Instead, they will probably find themselves working in a small team, or even by themselves. This poses major issues when a data scientist wants to get their insights, models, and even products out of Jupyter and into production.

Anvil fills in these…


4 different sources, 2 different methods

Air pollution is a big issue during the winter months in Ulaanbaatar, Mongolia. The effects of air pollution are quite severe, with those living in the most polluted areas suffering from lowered lung function, increased rates of respiratory infection, and shortened lifespans. In an attempt to solve this issue, the government has been focusing on the source of air pollution, the peri-urban ger districts surrounding the city center. In these areas, houses burn coal for both cooking and heat.

Beginning in May 2019, burning raw coal in Ulaanbaatar was made illegal. To replace the fuel the government coordinated the manufacture…

Robert Ritz

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store