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/
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/
buildwithlayer.github.io
Keep Your Data DRY with APIFlask | Layer Docs
Lead Author: Gavyn
The Key To The `key` Parameter in Python
A parameter named
https://www.thepythoncodingstack.com/p/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
Thepythoncodingstack
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.
resemble-enhance
AI powered speech denoising and enhancement.
https://github.com/resemble-ai/resemble-enhance
AI powered speech denoising and enhancement.
https://github.com/resemble-ai/resemble-enhance
GitHub
GitHub - resemble-ai/resemble-enhance: AI powered speech denoising and enhancement
AI powered speech denoising and enhancement. Contribute to resemble-ai/resemble-enhance development by creating an account on GitHub.
django-ninja-crud
Declarative CRUD Endpoints & Tests with Django Ninja.
https://github.com/hbakri/django-ninja-crud
Declarative CRUD Endpoints & Tests with Django Ninja.
https://github.com/hbakri/django-ninja-crud
GitHub
GitHub - hbakri/django-ninja-crud: 🧩 Modular, composable API views for scalable Django Ninja projects, with built-in CRUD.
🧩 Modular, composable API views for scalable Django Ninja projects, with built-in CRUD. - hbakri/django-ninja-crud
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
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
Robertrode
Configuration of Python Applications
During the development of Python applications, I've continually asked myself how and when variables should be passed and initialized for the application's configuration. I want to be able to easily override the configuration for tests, for example, to use…
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
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
GitHub
GitHub - myshell-ai/OpenVoice: Instant voice cloning by MIT and MyShell. Audio foundation model.
Instant voice cloning by MIT and MyShell. Audio foundation model. - 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/
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
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
overtag.dk
A settings pattern for reusable Django apps
I'm an Open Source consultant and activist. My work aims at making Open Source an attractive choice, making web technology greener, and making information and knowledge accessible to those who need it the most.
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/
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/
spapas.github.io
A simple OpenID connect tutorial — /var/
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/
In this tutorial, you will discover best practices for canceling asyncio tasks in Python.
https://superfastpython.com/asyncio-task-cancellation-best-practices/
Super Fast Python
Asyncio Task Cancellation Best Practices - Super Fast Python
Tasks in asyncio can be canceled manually and automatically. Therefore, we must develop asyncio programs with the expectation that our custom tasks may be canceled at any time. This requires a certain level of robustness. Thankfully there are common task…
tinyzero
Easily train AlphaZero-like agents on any environment you want!
https://github.com/s-casci/tinyzero
Easily train AlphaZero-like agents on any environment you want!
https://github.com/s-casci/tinyzero
GitHub
GitHub - s-casci/tinyzero: Easily train AlphaZero-like agents on any environment you want!
Easily train AlphaZero-like agents on any environment you want! - s-casci/tinyzero
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
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
Ponderings of an Andy
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.
Sys.monitoring: Python Execution event monitoring
https://docs.python.org/3/library/sys.monitoring.html
https://docs.python.org/3/library/sys.monitoring.html
Python documentation
sys.monitoring — Execution event monitoring
This namespace provides access to the functions and constants necessary to activate and control event monitoring. As programs execute, events occur that might be of interest to tools that monitor e...
gpt-engineer-org / gpt-engineer
Specify what you want it to build, the AI asks for clarification, and then builds it.
https://github.com/gpt-engineer-org/gpt-engineer
Specify what you want it to build, the AI asks for clarification, and then builds it.
https://github.com/gpt-engineer-org/gpt-engineer
GitHub
GitHub - AntonOsika/gpt-engineer: CLI platform to experiment with codegen. Precursor to: https://lovable.dev
CLI platform to experiment with codegen. Precursor to: https://lovable.dev - AntonOsika/gpt-engineer
How to prevent python software from being reverse engineered or pirated?
https://www.reddit.com/r/Python/comments/18tdmiv/how_to_prevent_python_software_from_being_reverse/
https://www.reddit.com/r/Python/comments/18tdmiv/how_to_prevent_python_software_from_being_reverse/
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Microdot: Yet Another Python Web Framework
https://blog.miguelgrinberg.com/post/microdot-yet-another-python-web-framework
https://blog.miguelgrinberg.com/post/microdot-yet-another-python-web-framework
Miguelgrinberg
Microdot: Yet Another Python Web Framework
I just realized that I have never written on this blog about Microdot, my very own web framework for Python. I have released Microdot 2.0 a few days ago, so I guess this is a good time to make a…