PythonHub
Открыть в Telegram
Human-curated Python news, projects, articles & tools. https://pythonhub.dev/
Больше2 657
Подписчики
+224 часа
+107 дней
+1330 дней
Архив постов
2 657
Asyncio Task Cancellation Best Practices
In this tutorial, you will discover best practices for canceling asyncio tasks in Python.
https://superfastpython.com/asyncio-task-cancellation-best-practices/
2 657
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/
2 657
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
2 657
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/
2 657
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
2 657
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
2 657
django-ninja-crud
Declarative CRUD Endpoints & Tests with Django Ninja.
https://github.com/hbakri/django-ninja-crud
2 657
resemble-enhance
AI powered speech denoising and enhancement.
https://github.com/resemble-ai/resemble-enhance
2 657
The Key To The `key` Parameter in Python
A parameter named
key is present in several Python functions, such as sorted(). Let's explore what it is and how to use it.
https://www.thepythoncodingstack.com/p/the-key-to-the-key-parameter-in-python2 657
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/
2 657
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
2 657
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
2 657
generative-ai-python
The Google AI Python SDK enables developers to use Google's state-of-the-art generative AI models (like Gemini and PaLM) to build AI-powered features and applications.
https://github.com/google/generative-ai-python
2 657
Python, C, Assembly – Faster Cosine Similarity
https://ashvardanian.com/posts/python-c-assembly-comparison/
2 657
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
2 657
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
2 657
Build an instant messenger with Django (in 6 mins)
This video provides a quick tutorial on creating an instant messenger using Django. The tutorial aims to demonstrate the process in a concise manner, making it a helpful resource for individuals interested in developing a messaging application with Django.
https://www.youtube.com/watch?v=-9h3Sjr2WKk
2 657
Mastering GitHub Copilot for AI Paired Programming
A 6 Lesson course teaching everything you need to know about harnessing GitHub Copilot and an AI Paired Programing resource.
https://github.com/microsoft/Mastering-GitHub-Copilot-for-Paired-Programming
2 657
Hatch v1.8.0 - binaries for every platform, Python management and static analysis backed by Ruff
https://www.reddit.com/r/Python/comments/18fx3f7/hatch_v180_binaries_for_every_platform_python/
