Python

ANN: ObjectListView3 for wxPython

ObjectListView is a third-party wxPython widget that wraps the wx.ListCtrl. I have used it for over 10 years in quite a few different GUI applications because it works much nicer than wx.ListCtrl does. Unfortunately, ObjectListView was never integrated into wxPython core like some other amazing third-party packages were, and so it has become broken over […]

ANN: ObjectListView3 for wxPython Read More »

Creating Images in Your Terminal with Python and Rich Pixels

A newer Python package called Rich Pixels allows you to create images in your terminal and display them. Darren Burns, one of the team members from the Textual project, created this package. Anyway, let’s find out how to use Rich Pixels! Installation You can install Rich Pixels using Python’s pip utility. Here’s how: python -m pip install rich-pixels Once

Creating Images in Your Terminal with Python and Rich Pixels Read More »

Episode 42 – Harlequin – The SQL IDE for Your Terminal

This episode focuses on the Harlequin application, a Python SQL IDE for your terminal written using the amazing Textual package. I was honored to have Ted Conbeer, the creator of Harlequin, on the show to discuss his creation and the other things he does with Python. Specifically, we focused on the following topics: Favorite Python packages Origins

Episode 42 – Harlequin – The SQL IDE for Your Terminal Read More »

Episode 41 – Python Packaging and FOSS with Armin Ronacher

In this episode, I chatted with Armin Ronacher about his many amazing Python packages, such as pygments, flask, Jinja, Rye, and Click! Specifically, we talked about the following: How Flask came about Favorite Python packages Python packaging and much more! Links Sentry Rye Flask pygments Jinja Click uv

Episode 41 – Python Packaging and FOSS with Armin Ronacher Read More »

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

An Intro to Logging with Python and Loguru Read More »

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

How to Annotate a Graph with Matplotlib and Python Read More »

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

Ruff – The Fastest Python Linter and Formatter Just Got Faster! Read More »

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

One Week Left for Python Logging Book / Course Kickstarter Read More »

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

Episode 40 – Open Source Development with Antonio Cuni Read More »

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

How to Read and Write Parquet Files with Python Read More »

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.

How to Watermark a Graph with Matplotlib Read More »

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

Announcing The Python Logging Book & Course Kickstarter Read More »

Anaconda Partners with Teradata for AI with Python packages in the Cloud

Anaconda has announced a new partnership with Teradata to bring Python and R packages to Teradata VantageCloud through the Anaconda Repository. But what does that mean? This new partnership allows engineers to: Rapidly deploy and operationalize AI/ML developed using open-source Python and R packages. Unlock innovation and the full potential of data at scale with a

Anaconda Partners with Teradata for AI with Python packages in the Cloud Read More »