Quantcast
Channel: Planet Python

Image may be NSFW.
Clik here to view.

Mike Driscoll: ANN – The textual-cogs Package – Creating Reusable Dialogs for...

Textual-cogs is a collection of Textual dialogs that you can use in your Textual application. You can see a quick demo of the dialogs below:Dialogs included so far:Generic MessageDialog – shows...

View Article


Real Python: Python Dictionary Comprehensions: How and When to Use Them

Dictionary comprehensions are a concise and quick way to create, transform, and filter dictionaries in Python. They can significantly enhance your code’s conciseness and readability compared to using...

View Article


Bojan Mihelac: Rename uploaded files to ASCII charset in Django

Telling Django to rename all uploaded files in ASCII encoding is easy and takes only two steps.

View Article

Bojan Mihelac: Django site permissions

View Article

Bojan Mihelac: Django-simpleadmindoc updated

create documentation for django website

View Article


Bojan Mihelac: Django-sites-ext

View Article

Bojan Mihelac: Django app name translation in admin

"Django app name translation in admin" is small drop-in django application that overrides few admin templates thus allowing app names in Django admin to be translated.

View Article

Bojan Mihelac: Building docker images with private python packages

Installing private python packages into Docker container can be tricky because container does not have access to private repositories and you do not want to leave trace of private ssh key in docker…

View Article


Image may be NSFW.
Clik here to view.

Stefan Scherfke: Publishing to PyPI with a Trusted Publisher from GitLab CI/CD

PyPA’s Trusted Publishers let you upload Python packages directly from your CI pipeline to PyPI. And you don’t need any long-lived secrets like API tokens. This makes uploading Python packages not only...

View Article


PyPy: Guest Post: Final Encoding in RPython Interpreters

IntroductionThis post started as a quick note summarizing a recent experiment I carried out upon a small RPython interpreter by rewriting it in an uncommon style. It is written for folks who have...

View Article

Python Bytes: #409 We've moved to Hetzner write-up

<strong>Topics covered in this episode:</strong><br> <ul> <li><a...

View Article

Image may be NSFW.
Clik here to view.

PyCharm: Inline AI Prompting, Coding Assistance for the dataclass_transform...

Code smarter, optimize performance, and stay focused on what matters most with the latest updates in PyCharm 2024.3. From enhanced support for AI Assistant and Jupyter notebooks to new features like...

View Article

Django Weblog: Django’s technical governance challenges, and opportunities

As of October 29th, two of four members of the Django Software Foundation Steering Council have resigned from their role, with their intentions being to trigger an election of the Steering Council...

View Article


Image may be NSFW.
Clik here to view.

Seth Michael Larson: Early promising results with SBOMs and Python packages

Early promising results with SBOMs and Python packages About• Blog• Cool URLsEarly promising results with SBOMs and Python packagesPublished 2024-11-14 by Seth Larson Reading time: minutes This...

View Article

Image may be NSFW.
Clik here to view.

Python Morsels: Inspecting objects in Python

I rely on 4 functions for inspecting Python objects: type, help, dir, and vars.Table of contentsInspecting an object's structure and dataHow to see an object's classLooking up documentation with...

View Article


Real Python: Quiz: Basic Input and Output in Python

In this quiz, you’ll test your understanding of how to use Python’s built-in functions input() and print() for basic input and output operations.You’ll also revisit how to use readline to improve the...

View Article

Real Python: The Real Python Podcast – Episode #228: Maintaining the...

How do you build a sustainable open-source project and community? What lessons can be learned from Python's history and the current mess that the WordPress community is going through? This week on the...

View Article


Talk Python to Me: #485: Secure coding for Python with SheHacksPurple

What do developers need to know about AppSec and building secure software? We have Tonya Janca (AKA SheHacksPurple) on the show to tell us all about it. We talk about what developers should expect from...

View Article

Real Python: Quiz: Namespaces and Scope in Python

In this quiz, you’ll test your understanding of Python Namespaces and Scope.You’ll revisit how Python organizes symbolic names and objects in namespaces, when Python creates a new namespace, how...

View Article

Matt Layman: Heroku To DigitalOcean - Building SaaS #206

In this episode, I began a migration of my JourneyInbox app from Heroku to DigitalOcean. The first step to this move, since I’m going to use Kamal, is to put the app into a Docker image. We got the...

View Article

Real Python: Using the len() Function in Python

The len() function in Python is a powerful and efficient tool used to determine the number of items in objects, such as sequences or collections. You can use len() with various data types, including...

View Article


Test and Code: 223: Writing Stuff Down is a Super Power

Taking notes well can help to listen better, remember things, show respect, be more accountable, free up mind space to solve problems.This episode discussesthe benefits of writing things downpreparing...

View Article


Real Python: Using the Python zip() Function for Parallel Iteration

Python’s zip() function combines elements from multiple iterables. Calling zip() generates an iterator that yields tuples, each containing elements from the input iterables. This function is essential...

View Article

Image may be NSFW.
Clik here to view.

Go Deh: There's the easy way...

 Best seen on a larger than landscape phone Someone blogged about a particular problem:From: https://theweeklychallenge.org/blog/perl-weekly-challenge-294/#TASK1Given an unsorted array of integers,...

View Article

Django Weblog: 2025 DSF Board Election Results

The 2025 DSF Board Election has closed, and the following candidates have been elected:Abigail GbadagoJeff TriplettPaolo MelchiorreTom CarrickThey will all serve two years for their term.Directors...

View Article



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>