Author

Articles by Laupix

Streamlit homepage

Streamlit: The Rerun Model Before the Widgets

Streamlit turns a Python script into a data app by rerunning the whole file. Covers session state, cache, Community Cloud caps, and when FastAPI wins.

Tomas Laurinavicius
Tomas Laurinavicius
Read

More Articles

Python code on a laptop screen

Python vs JavaScript: Where Each Wins

Python wins data, ML, and automation; JavaScript wins the browser, and Node.js wins I/O-heavy APIs. If you can pick only one, pick the job.

Tomas Laurinavicius
Tomas Laurinavicius
Read
Python code on a computer monitor

Python Decorators, Explained as a Name Swap

A Python decorator is a function that returns another function, usually applied with @wrapper syntax so the returned callable replaces the original name.

Tomas Laurinavicius
Tomas Laurinavicius
Read
Python code on a laptop screen

3 Python Linters Compared by Speed and Depth

Compare three Python linters: Ruff, Flake8, and Pylint. Speed, rule coverage, Flake8 drop-in vs Pylint residual, VS Code setup, and when to keep each one.

Tomas Laurinavicius
Tomas Laurinavicius
Read
Scrapy homepage

The 9-Step Scrapy Loop Most Scripts Rebuild

Scrapy is a crawl framework, not a parser. Learn the Engine loop, spiders, item pipelines, and when a requests + BeautifulSoup script still wins.

Tomas Laurinavicius
Tomas Laurinavicius
Read
Ruff vs Black Python formatter comparison

Should You Replace Black with Ruff?

Ruff has overtaken Black in monthly downloads and runs 30x faster. Here is when to switch and when to stay.

Tomas Laurinavicius
Tomas Laurinavicius
Read
Showing 1 - 12 of 28 articles