Best of Planet Python β 2024
- 1
- 2
Planet PythonΒ·2y
Create Amazing Progress Bars in Python with alive-progress
Alive-progress is a Python package created by RogΓ©rio Sampaio de Almeida that offers various types of progress bars for terminal or IPython REPL sessions. It is easily installable via pip and works with any iterable. The package includes demo scripts for showcasing its capabilities and provides several examples on GitHub to help integrate it into your own code. Useful for enhancing command-line utilities by displaying data processing progress.
- 3
- 4
- 5
Planet PythonΒ·2y
[July 2024] Python Monthly Newsletter π»π
This edition of Python Monthly highlights a variety of updates and resources for Python enthusiasts. Key topics include the introduction of free-threaded CPython, modern development practices, and new tools like FastHTML. Additional highlights cover a botched update by Crowdstrike, insights into AI models, and various project ideas for portfolios.
- 6
Planet PythonΒ·2y
[August 2024] Python Monthly Newsletter π»π
The 57th Python Monthly Newsletter covers crucial Python articles, resources, and updates. Highlights include an in-depth guide on the 'itertools' module, tips on running an asyncio event loop in a separate thread, insights into Python's packaging tools, and the importance of using high-quality data to mitigate AI's 'model collapse.' Additionally, news covers topics like Epic Games Store on EU iPhones, Apple's app store policies, Nvidia's revenue surge, and inspiring stories and resources.
- 7
Planet PythonΒ·2y
Adding Terminal Effects with Python
TerminalTextEffects is a Python package that adds visual effects to terminal text interfaces. It supports Xterm 256/RGB hex colors, complex animations with Paths and Beams effects, and integrates with other TUI libraries. Installation is simple using pip, and the package offers various built-in effects to enhance text-based UIs.
- 8
- 9
Planet PythonΒ·1y
Python in Visual Studio Code
The November 2024 release of the Python, Pylance, and Jupyter extensions for Visual Studio Code introduces several new features like generating docstrings with Pylance, new commands for folding and unfolding docstrings, import suggestions with aliases from user files, and an experimental AI Code Action for implementing abstract classes. It also updates the REPL variables view and announces the upcoming deprecation of Python 3.8 support. Users can explore these features by updating their extensions and reviewing the changelogs.
- 10
Planet PythonΒ·2y
Switching from pyenv to uv
The post discusses the process of transitioning from pyenv to uv for Python version and environment management on Ubuntu Linux 24.04. The author details the steps taken, including uninstalling pyenv, setting up uv, and reinstalling Python versions and tools. uv simplifies Python interpreter and tool management, offering features like easy updates and virtual environment creation.
- 11
Planet PythonΒ·2y
Build a AI-powered desktop Translator with Python & Tkinter
Learn how to build a desktop translator application using Python, Tkinter, and OpenAI's ChatGPT APIs. The tutorial walks through setting up a Python virtual environment, creating the UI with Tkinter, and implementing language translation using the OpenAI API. Key elements include using Tkinter to design the GUI, creating scrollable text areas and combo boxes for input, and handling translation functionality with the OpenAI client.
- 12
- 13
- 14
- 15
- 16
Planet PythonΒ·1y
From React to a Django+HTMX based stack
Learn about Sheena O'Connell's journey of moving from a React-Django application to a pure Django with HTMX stack. Discover a real-world success story, lessons learned, and relevant resources including workshops, courses, and tools related to HTMX and Django development.
- 17
Planet PythonΒ·2y
[June 2024] Python Monthly Newsletter π»π
Stay updated with the latest in Python and tech through this monthly newsletter. It includes curated important Python articles, resources, and tools. Highlights include NVIDIA's new Warp library for high-performance simulation, a recap of the annual Python conference, and insights into AI strategies from tech giants like Apple, Meta, and Google. Additionally, the newsletter touches on interesting tech stories and discussions about industry trends and software practices.
- 18
Planet PythonΒ·2y
The State of Django 2024
Discover the latest trends in Django development, including the use of Flask and FastAPI alongside Django, the popularity of Django for both full-stack and API development, the shift towards htmx, Alpine.js, and Tailwind CSS for frontend development, and the favored databases, container orchestration, CI systems, and infrastructure as code solutions among Django developers.
- 19
Planet PythonΒ·2y
Creating Progress Bars in Your Terminal with Python and Textual
Learn how to create a simple progress bar in your terminal using the Textual package with Python. The guide covers the installation of Textual, setting up a timer to simulate progress, and positioning widgets in the terminal using Center and Middle containers. The tutorial also includes a sample code to demonstrate the creating and updating of a progress bar upon a button press.
- 20
Planet PythonΒ·2y
Getting started with network automation in Python
Learn how to get started with network automation using a Python-based integration platform. This approach not only automates network devices but also connects with cloud applications like Jira and Microsoft 365, greatly enhancing efficiency and workflow management.
- 21
Planet PythonΒ·2y
Python Logging Book Released!
Learn about logging in Python with the book 'Python Logging'. Explore logger objects, log levels, log handlers, log formatting, log configuration, logging decorators, rotating logs, logging and concurrency, and more! Purchase the book online and find the code on GitHub.
- 22
Planet PythonΒ·2y
7 Things That Helped Me Grow as a Software Engineer
Growth as a software engineer involves several key principles: having inner drive, consistently delivering results, choosing impactful and interesting projects, developing deep expertise, teaching others, handling criticism well, and understanding the business aspect. Ambition and a love for challenges can drive ongoing learning and career progression.
- 23
Planet PythonΒ·2y
On FastAPI
FastAPI is a Python web framework that builds on the strengths of Django and Flask while feeling more modern and adhering to certain opinionated principles. It has excellent documentation, includes Swagger UI and Redoc out-of-the-box, and heavily depends on Pydantic for data schemas and validation.
- 24
Planet PythonΒ·2y
Displaying Pandas DataFrames in the Terminal
Learn how to use the textual-pandas package to display pandas DataFrames directly in your terminal with ease. The guide covers installation using pip and provides sample code to help you quickly get started with creating a Textual application that loads and displays a DataFrame in a table widget.
- 25
Planet PythonΒ·2y
How to convert a Python script into a web app, a product others can use
The post explains how to convert a Python utility script into a web app using Django and Django Rest Framework for the backend and React.js for the frontend. It describes the motivation behind building the app, the backend API design, authentication using JWT, and the deployment process using Docker. Additionally, it provides insights into the overall development lifecycle, emphasizing simplicity, speed, and gradual feature addition.