PythonHub
2.32K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
sourcerer

Sourcerer is a CLI-based cloud storage explorer that provides a unified interface for developers and DevOps engineers to view and manage files across multiple cloud providers like GCP Storage, Azure Storage, AWS S3, and S3-compatible services.

https://github.com/the-impact-craft/sourcerer
Avoiding PostgreSQL Pitfalls: The Hidden Cost of Failing Inserts

This article discusses how failing inserts in PostgreSQL, particularly due to unique constraint violations in a Django application, can cause significant performance issues and database overhead. It recommends using ON CONFLICT DO NOTHING in PostgreSQL or Django's bulkcreate with ignoreconflicts=True to prevent these problems.

https://johnnymetz.com/posts/postgresql-failing-insert/
Beyond htmx: building modern Django apps with Alpine AJAX

The article demonstrates how to use Alpine.js and AJAX with Django to create interactive, client-side web applications that efficiently handle dynamic data updates without full page reloads. It provides practical examples and code snippets for integrating Alpine.js with Django views, serializers, and templates to enhance user experience through seamless frontend-backend communication.

https://www.loopwerk.io/articles/2025/alpine-ajax-django
Are Python Dictionaries Ordered Data Structures?

Python dictionaries preserve insertion order starting from version 3.6 (as an implementation detail) and this became a guaranteed language feature in Python 3.7 and later, meaning items will appear in the order they were added. However, while dictionaries now maintain insertion order, order is not considered a defining characteristic—dictionaries with the same key-value pairs but differe...

https://www.thepythoncodingstack.com/p/are-python-dictionaries-ordered-data
A Python Language Server, Mypy-compatible

https://zubanls.com/