Sys.monitoring: Python Execution event monitoring
https://docs.python.org/3/library/sys.monitoring.html
tinyzero
Easily train AlphaZero-like agents on any environment you want!
https://github.com/s-casci/tinyzero
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/
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/
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
resemble-enhance
AI powered speech denoising and enhancement.
https://github.com/resemble-ai/resemble-enhance
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/
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
Python, C, Assembly – Faster Cosine Similarity
https://ashvardanian.com/posts/python-c-assembly-comparison/
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
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/
What python libraries should every dev know?
https://www.reddit.com/r/learnpython/comments/18g64k2/what_python_libraries_should_every_dev_know/
Bash One-Liners for LLMs
Six solid examples of how llamafile can help you be productive on the command line.
https://justine.lol/oneliners/
Python Gotcha: List Copy Problems
Copying a Python list (or any mutable object) isn't as simple as setting one equal to another. Let's discuss a better way to do this.
https://andrewwegner.com/python-gotcha-list-copy.html
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/
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
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
django-ninja-crud
Declarative CRUD Endpoints & Tests with Django Ninja.
https://github.com/hbakri/django-ninja-crud
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-python
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
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
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
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
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
PromptBench
A Unified Library for Evaluating and Understanding Large Language Models.
https://github.com/microsoft/promptbench
Acly / krita-ai-diffusion
Streamlined interface for generating images with AI in Krita. Inpaint and outpaint with optional text prompt, no tweaking required.
https://github.com/Acly/krita-ai-diffusion
mergekit
Tools for merging pretrained large language models.
https://github.com/cg123/mergekit