The other day I wanted to demo the Google Books API (we use for Pybites Books) to somebody so I started to write some code on the fly to call its endpoints using httpx. Then I thought it would be nice to turn it into a small script to search for books and view details… Continue reading Create Project-Less Python Utilities with uv and Inline Script Metadata
Articles on typer
Reflections on the Zen of Python
By Bob Belderbos on 21 December 2022
An initial version of this article appeared as a Pybites email first. If you like it join our friends list to get our valuable Python, developer and mindset content first … How following the Zen of Python will make your code better, a lot better. This epic set of axioms (triggered by typing import this in the… Continue reading Reflections on the Zen of Python
New on our platform: Typer learning path
By PyBites Team on 7 November 2022
It’s finally here … our new Typer learning path! Where? On our CodeChalleng.es platform, check it out here: Typer is an amazing library for building Command Line Interfaces (CLIs). Leveraging Python type hints you can build great command line apps with relatively little code. In this learning path we’ll have you practice the main features… Continue reading New on our platform: Typer learning path
Automating the Boring Stuff and Plotting Student Data
By Russell Helmstedter on 28 June 2022
My name is Russell Helmstedter. I am a middle school math and computer science teacher at De Anza Academy of Technology & the Arts (DATA). My first exposure to Python was in March of 2020. For some reason, I was stuck at home and couldn’t go out and do things. I decided to learn how… Continue reading Automating the Boring Stuff and Plotting Student Data
Exploring the Modern Python Command-Line Interface
By Erik O'Shaughnessy on 27 April 2020
Delve into the why and the how of writing command-line tools using Python.