PythonHub
2.38K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
DjangoCon US 2023 Videos

A YouTube for DjangoCon US 2023, featuring various videos from the event. It covers a range of topics related to Django development, including talks, workshops, and discussions presented at the conference.

https://www.youtube.com/playlist?list=PL2NFhrDSOxgX41jqYSi0HmO9Wsf6WDSmf
Colliding Secure Hashes

The article discusses the author's porting of an algorithm to run on a GPU using pyopencl, resulting in a collision of secure hashes. The author chose to truncate the middle portion of the hash rather than the end to potentially fool someone visually comparing the starts and ends of a full-length hash.

https://www.da.vidbuchanan.co.uk/blog/colliding-secure-hashes.html
Requests vs Httpx vs Aiohttp | Which One to Pick?

The video discusses the exploration of API communication in applications, comparing the use of requests, httpx, and aiohttp. It presents the author's preferred choice and the reasons for considering it.

https://www.youtube.com/watch?v=OPyoXx0yA0I
Real-world match/case

Python 3.10 brought us structural pattern matching, better known as
match/case. At first glance, ...

https://nedbatchelder.com/blog/202312/realworld_matchcase.html
Keep Your Data DRY with APIFlask

The post discusses using APIFlask, which conforms to the OpenAPI spec with its routes and schemas, allowing for automatic API documentation. It emphasizes the benefits of keeping data DRY (Don't Repeat Yourself) and the ease of documenting APIs while writing them. The post provides insights into how APIFlask can help in avoiding redundant code and maintaining a clear and concise codebase.

https://buildwithlayer.github.io/buildwithlayer/blog/dry_with_apiflask/
Configuration in Python Applications: No Magic, Just Necessary Practice

The article explores the practice of configuration in Python applications, emphasizing the importance of transparency and avoiding magic in the process. It delves into practical approaches for managing configuration settings, advocating for clarity and necessary practices in the development of Python applications.

https://robertrode.com/2023/10/02/configuration-in-python-applications-no-magic-just-necessary-practice.html
OpenVoice

A versatile instant voice cloning approach that requires only a short audio clip from the reference speaker to replicate their voice and generate speech in multiple languages.

https://github.com/myshell-ai/OpenVoice
Understanding GPU Memory 1: Visualizing All Allocations over Time

The part 1 shows how to use the memory snapshot tool.

https://pytorch.org/blog/understanding-gpu-memory-1/
A settings pattern for reusable Django apps

The article presents a new settings pattern for reusable Django apps, addressing the challenge of overriding app default settings with project settings. The author discusses the need for a clear and consistent pattern, and the article outlines the proposed solution, which involves inspecting the prefix of the settings to avoid returning random properties of the Django settings.

https://overtag.dk/v2/blog/a-settings-pattern-for-reusable-django-apps
A simple OpenID connect tutorial

Introduction
OpenID Connect is a simple identity layer on top of the OAuth 2.0 protocol. It allows ...

https://spapas.github.io/2023/11/29/openid-connect-tutorial/
Pythonistas, Happy New Year!