Articles by Mike
An Intro to Logging with Python and Loguru
Python’s logging module isn’t the only way to create logs. There are several third-party packages you can use, too. One of the most popular is Loguru. Loguru intends to remove all the boilerplate you get with the Python logging API. You will find that Loguru greatly simplifies creating logs in Python. This chapter has the following sections: Installation […]
The post An Intro to Logging with Python and Loguru appeared first on Mouse Vs Python.
How to Annotate a Graph with Matplotlib and Python
The Matplotlib package is great for visualizing data. One of its many features is the ability to annotate points on your graph. You can use annotations to explain why a particular data point is significant or interesting. If you haven’t used Matplotlib before, you should check out my introductory article, Matplotlib – An Intro to […]
The post How to Annotate a Graph with Matplotlib and Python appeared first on Mouse Vs Python.
Ruff – The Fastest Python Linter and Formatter Just Got Faster!
I’m a little late in reporting on this topic, but Ruff put out an update in April 2024 that includes a hand-written recursive descent parser. This update is in version 0.4.0 and newer. Ruff’s new parser is >2x faster, translating to a 20-40% speedup for all linting and formatting invocations. Ruff’s announcement includes some statistics […]
The post Ruff – The Fastest Python Linter and Formatter Just Got Faster! appeared first on Mouse Vs Python.
One Week Left for Python Logging Book / Course Kickstarter
My latest Python book campaign is ending in less than a week. This book is about Python’s logging module. I also include two chapters that discuss structlog and loguru. Support on Kickstarter Why Back A Kickstarter? The reason to back the Kickstarter is that I have exclusive perks there that you cannot get outside of […]
The post One Week Left for Python Logging Book / Course Kickstarter appeared first on Mouse Vs Python.
Episode 40 – Open Source Development with Antonio Cuni
In this episode, we discuss working on several different open-source Python packages. Antonio Cuni is our guest, and he chats about his work on PyScript, pdb++, pypy, HPy, and SPy. Listen in as we chat about Python, packages, open source, and so much more! Show Links Here are some of the projects we talked about […]
The post Episode 40 – Open Source Development with Antonio Cuni appeared first on Mouse Vs Python.
How to Read and Write Parquet Files with Python
Apache Parquet files are a popular columnar storage format used by data scientists and anyone using the Hadoop ecosystem. It was developed to be very efficient in terms of compression and encoding. Check out their documentation if you want to know all the details about how Parquet files work. You can read and write Parquet […]
The post How to Read and Write Parquet Files with Python appeared first on Mouse Vs Python.
The Python Show Podcast Ep 39 – Buttondown – A Python SaaS with Justin Duke
In this episode, we invite the founder of Buttondown, a Python-based Software as a Service (SaaS) application for creating and managing newsletters. Mike Driscoll, the host of the show, chats with Justin about the following topics: Why he created a SaaS with Python Favorite Python packages or modules Python web frameworks Entrepreneurship AI and programming and […]
The post The Python Show Podcast Ep 39 – Buttondown – A Python SaaS with Justin Duke appeared first on Mouse Vs Python.
How to Watermark a Graph with Matplotlib
Matplotlib is one of the most popular data visualization packages for the Python programming language. It allows you to create many different charts and graphs. This tutorial focuses on adding a “watermark” to your graph. If you need to learn the basics, you might want to check out Matplotlib—An Intro to Creating Graphs with Python. […]
The post How to Watermark a Graph with Matplotlib appeared first on Mouse Vs Python.
Announcing The Python Logging Book & Course Kickstarter
What does every new developer do when they are first learning to program? They print out strings to their terminal. It’s how we learn! But printing out to the terminal isn’t what you do with most professional applications. Support on Kickstarter In those cases, you log into files. Sometimes, you log into multiple locations at […]
The post Announcing The Python Logging Book & Course Kickstarter appeared first on Mouse Vs Python.