How to Patch Requests to Have a Default Timeout
Python’s requests package is very popular.
Even if you don’t use it directly, it’s highly likely ...
https://adamj.eu/tech/2022/06/23/how-to-patch-requests-to-have-a-default-timeout/
Python’s requests package is very popular.
Even if you don’t use it directly, it’s highly likely ...
https://adamj.eu/tech/2022/06/23/how-to-patch-requests-to-have-a-default-timeout/
adamj.eu
How to Patch Requests to Have a Default Timeout - Adam Johnson
Python’s requests package is very popular. Even if you don’t use it directly, it’s highly likely one of your dependencies does.
How to Make Django Raise an Error for Missing Template Variables
It’s all too easy to forget to pass a variable to your template, or make a typo in a variable ...
https://adamj.eu/tech/2022/03/30/how-to-make-django-error-for-undefined-template-variables/
It’s all too easy to forget to pass a variable to your template, or make a typo in a variable ...
https://adamj.eu/tech/2022/03/30/how-to-make-django-error-for-undefined-template-variables/
adamj.eu
Django: Raise an error for missing template variables - Adam Johnson
It’s all too easy to forget to pass a variable to your template or make a typo in a variable name. Unfortunately, it can be quite hard to debug such mistakes, since Django’s default behaviour is to ignore the problem and render an empty string.
Faster routing for Flask & Quart
Flask and Quart both utilize Werkzeug's HTTP router to route request paths to the relevant function. With the upcoming 2.2 release of Werkzeug this router will be significantly faster, with up to a factor of 5 seen in testing. This speedup increases with the size of the routing table and so you are likely to see further increases in your production applications.
https://pgjones.dev/blog/faster-routing-2022/
Flask and Quart both utilize Werkzeug's HTTP router to route request paths to the relevant function. With the upcoming 2.2 release of Werkzeug this router will be significantly faster, with up to a factor of 5 seen in testing. This speedup increases with the size of the routing table and so you are likely to see further increases in your production applications.
https://pgjones.dev/blog/faster-routing-2022/
Barfi
A Python visual Flow Based Programming library that integrates into your existing workflow.
https://github.com/krish-adi/barfi
A Python visual Flow Based Programming library that integrates into your existing workflow.
https://github.com/krish-adi/barfi
GitHub
GitHub - krish-adi/barfi: Framework to build a custom no-code platform. Comes with a Flow Based programming env and a GUI.
Framework to build a custom no-code platform. Comes with a Flow Based programming env and a GUI. - krish-adi/barfi
min-dalle
min(DALL·E) is a fast, minimal implementation of DALL·E Mega in PyTorch.
https://github.com/kuprel/min-dalle
min(DALL·E) is a fast, minimal implementation of DALL·E Mega in PyTorch.
https://github.com/kuprel/min-dalle
GitHub
GitHub - kuprel/min-dalle: min(DALL·E) is a fast, minimal port of DALL·E Mini to PyTorch
min(DALL·E) is a fast, minimal port of DALL·E Mini to PyTorch - kuprel/min-dalle
Logging millions of requests reliably with our new data ingestion pipeline
An architectural overview of HackerEarth's request logging pipeline
http://engineering.hackerearth.com/2022/07/01/logging-millions-of-requests-reliably-with-our-new-data-ingestion-pipeline/
An architectural overview of HackerEarth's request logging pipeline
http://engineering.hackerearth.com/2022/07/01/logging-millions-of-requests-reliably-with-our-new-data-ingestion-pipeline/
HackerEarth
Logging millions of requests reliably with our new data ingestion pipeline
An architectural overview of our request logging pipeline
Python is the 2nd most demanded programming language in 2022
https://www.reddit.com/r/Python/comments/vtiz4o/python_is_the_2nd_most_demanded_programming/
https://www.reddit.com/r/Python/comments/vtiz4o/python_is_the_2nd_most_demanded_programming/
reddit
Python is the 2nd most demanded programming language in 2022
Posted in r/Python by u/__dacia__ • 827 points and 133 comments
SearXNG
SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
https://github.com/searxng/searxng
SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
https://github.com/searxng/searxng
GitHub
GitHub - searxng/searxng: SearXNG is a free internet metasearch engine which aggregates results from various search services and…
SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled. - searxng/searxng
How I made a dataclass remover
My journey creating a dataclass converter by using abstract syntax trees, match-case, the dedent utility and more. You may learn something new along the way.
https://www.pythonmorsels.com/making-a-dataclass-remover/
My journey creating a dataclass converter by using abstract syntax trees, match-case, the dedent utility and more. You may learn something new along the way.
https://www.pythonmorsels.com/making-a-dataclass-remover/
Pythonmorsels
How I made a dataclass remover
My journey creating a dataclass converter by using abstract syntax trees, match-case, the dedent utility and more. You may learn something new along the way.
Betty
An automatic differentiation library for generalized meta-learning and multilevel optimization.
https://github.com/leopard-ai/betty
An automatic differentiation library for generalized meta-learning and multilevel optimization.
https://github.com/leopard-ai/betty
GitHub
GitHub - leopard-ai/betty: Betty: an automatic differentiation library for generalized meta-learning and multilevel optimization
Betty: an automatic differentiation library for generalized meta-learning and multilevel optimization - leopard-ai/betty
A quick and dirty script to help me focus on my work
https://www.reddit.com/r/Python/comments/vwh6p3/a_quick_and_dirty_script_to_help_me_focus_on_my/
https://www.reddit.com/r/Python/comments/vwh6p3/a_quick_and_dirty_script_to_help_me_focus_on_my/
reddit
A quick and dirty script to help me focus on my work
import pygetwindow as pg import time import ctypes import winsound duration = 100 # milliseconds freq = 600 # Hz ...
5 Reasons Why You Should Use Type Hints In Python
Even though you don't see type hints all that often in Python code, and they'll probably never become obligatory, I still think you should use them. Here are 5 reasons why.
https://www.youtube.com/watch?v=dgBCEB2jVU0
Even though you don't see type hints all that often in Python code, and they'll probably never become obligatory, I still think you should use them. Here are 5 reasons why.
https://www.youtube.com/watch?v=dgBCEB2jVU0
YouTube
5 Reasons Why You Should Use Type Hints In Python
💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide.
Even though you don't see type hints all that often in Python code, and they'll probably never become obligatory, I still think you should use them. Here are 5 reasons why.…
Even though you don't see type hints all that often in Python code, and they'll probably never become obligatory, I still think you should use them. Here are 5 reasons why.…
Forms in Django 4.0+
Prior to Django 4.0 forms were rendered by string concatenation. A number of 3rd party packages allowed for forms to be rendered as templates e.g. floppy forms, crispy-forms. Django 4.0 introduced the capability to render forms using the template engine. This allowed the form template to be set per form class or per instance if a template name is provided when calling render().
https://smithdc1.github.io/my-blog/2022/forms/forms.html
Prior to Django 4.0 forms were rendered by string concatenation. A number of 3rd party packages allowed for forms to be rendered as templates e.g. floppy forms, crispy-forms. Django 4.0 introduced the capability to render forms using the template engine. This allowed the form template to be set per form class or per instance if a template name is provided when calling render().
https://smithdc1.github.io/my-blog/2022/forms/forms.html