The biggest Python topics of 2023 ›
Command-Line Interfaces
This topic delves into the realm of Python3 and various tools and libraries related to enhancing productivity in command-line environments. It covers topics such as using tools like bpython for an enhanced REPL experience, building CLI apps with libraries like Click, and improving Git developer experience in Python. The focus is on leveraging Python tools and generators to streamline command-line workflows and improve coding efficiency.
Boost Your Coding Productivity With Ptpython Article
Learn how to enhance your Python development workflow with auto-completion, syntax highlighting, history navigation, and more. In this tutorial, you’ll walk through the fundamentals of ptpython, covering installation, basic usage, and advanced features.
https://realpython.com/ptpython-shell/
Improving Your Git Developer Experience in Python Article
Are you getting by with a few fundamental commands for Git when building your Python projects? Would you like to improve your version control techniques and become more efficient with the Git command line? This week on the show, Adam Johnson is back to talk about his new book, “Boost Your Git DX.”
https://realpython.com/podcasts/rpp/179/
Discover bpython: A Python REPL With IDE-Like Features Article
In this tutorial, you’ll learn about bpython, an alternative Python REPL that brings code suggestions and many other IDE-like features to the terminal. Once you discover how much bpython can improve your productivity, you’ll never want to return to using the vanilla Python REPL again.
https://realpython.com/bpython-alternative-python-repl/
Using the bpython Enhanced REPL Article
In this video course, you’ll learn about bpython, an alternative Python REPL that brings code suggestions and many other IDE-like features to the terminal. Once you discover how much bpython can improve your productivity, you’ll never want to return to using the vanilla Python REPL again.
https://realpython.com/courses/using-bpython-enhanced-repl/
CLI Tools Hidden in the Python Standard Library Article
There are several modules in Python that are directly callable from the command line, including the ability to gzip and pretty print JSON. This article introduces you to what is available and how Simon discovered them.
https://til.simonwillison.net/python/stdlib-cli-tools
Things I’ve Learned About Building CLI Tools in Python Article
In this blog post, Simon covers many of the things he has learned over the years when writing command-line tools in Python. He talks about the different kinds of command line arguments and tools that will help you process them.
https://simonwillison.net/2023/Sep/30/cli-tools-python/
Click and Python: Build Extensible and Composable CLI Apps Article
In this tutorial, you’ll learn how to use the Click library to build robust, extensible, and user-friendly command-line interfaces (CLI) for your Python automation and tooling scripts.
https://realpython.com/python-click/
Executing Python Scripts With a Shebang Article
In this tutorial, you’ll learn when and how to use the shebang line in your Python scripts to execute them from a Unix-like shell. Along the way, you’ll run custom scripts written in your domain-specific language interpreted by Python.
https://realpython.com/python-shebang/
arguably: Turn Functions Into CLIs Project Started in 2023
The best Python CLI library, arguably.
https://github.com/treykeown/arguably
replbuilder: Tool for Building Custom REPLs Project Started in 2023
Python helper tool for building and running a repl with custom commands
https://github.com/Aperocky/replbuilder
duckargs: Code Generator for argparse Boilerplate Project Started in 2023
Code generation tool, creates python / C programs that parse command line arguments. Say bye to starting each project by reading "argparse" / "geptopt.h" docs.
https://github.com/eriknyquist/duckargs
reverse_argparse: Tell the User What They Ran Project Started in 2023
A Python library to determine what exactly the user ran at the command line, along with default values, and any transformations that happened after parsing arguments.
https://github.com/sandialabs/reverse_argparse