Parallelization with MultiProcessing in Python
Run your data science tasks in parallel to speed up computation timeContinue reading on Towards ...
https://towardsdatascience.com/parallelization-w-multiprocessing-in-python-bd2fc234f516
Run your data science tasks in parallel to speed up computation timeContinue reading on Towards ...
https://towardsdatascience.com/parallelization-w-multiprocessing-in-python-bd2fc234f516
Appreciating Python's match-case by parsing Python code
Python's match-case blocks are complex structural pattern matching tools that are often more hassle than they're worth. But they're great for parsing abstract syntax trees.
https://www.pythonmorsels.com/match-case-parsing-python/
Python's match-case blocks are complex structural pattern matching tools that are often more hassle than they're worth. But they're great for parsing abstract syntax trees.
https://www.pythonmorsels.com/match-case-parsing-python/
Pythonmorsels
Appreciating Python's match-case by parsing Python code
Python's match-case blocks are complex structural pattern matching tools that are often more hassle than they're worth. But they're great for parsing abstract syntax trees.
keon / algorithms
Minimal examples of data structures and algorithms in Python
https://github.com/keon/algorithms
Minimal examples of data structures and algorithms in Python
https://github.com/keon/algorithms
GitHub
GitHub - keon/algorithms: Minimal examples of data structures and algorithms in Python
Minimal examples of data structures and algorithms in Python - keon/algorithms
How to optimize PostgreSQL queries from Django using pgMustard
Slow queries happen, and when they do, it can be tough to dissect why they’re slow. This difficulty is compounded by using Django’s ORM, since it generates the SQL for you, so you may have little idea of the actual queries “under the hood”. In this post we’ll look at what pgMustard does and how to use it with the Django ORM.
https://adamj.eu/tech/2022/06/21/optimize-postgresql-queries-from-django-using-pgmustard/
Slow queries happen, and when they do, it can be tough to dissect why they’re slow. This difficulty is compounded by using Django’s ORM, since it generates the SQL for you, so you may have little idea of the actual queries “under the hood”. In this post we’ll look at what pgMustard does and how to use it with the Django ORM.
https://adamj.eu/tech/2022/06/21/optimize-postgresql-queries-from-django-using-pgmustard/
adamj.eu
How to optimize PostgreSQL queries from Django using pgMustard - Adam Johnson
Slow queries happen, and when they do, it can be tough to dissect why they’re slow. This difficulty is compounded by using Django’s ORM, since it generates the SQL for you, so you may have little idea of the actual queries “under the hood”.
Sorting algorithms visualized using the Blender Python API
https://github.com/ForeignGods/Sorting-Algorithms-Blender
https://github.com/ForeignGods/Sorting-Algorithms-Blender
GitHub
GitHub - ForeignGods/Sorting-Algorithms-Blender: Sorting algorithms visualized using the Blender Python API.
Sorting algorithms visualized using the Blender Python API. - ForeignGods/Sorting-Algorithms-Blender
Django 4.1 beta 1 released
https://www.djangoproject.com/weblog/2022/jun/21/django-41-beta-1-released/
https://www.djangoproject.com/weblog/2022/jun/21/django-41-beta-1-released/
Six things I do every time I start a Django project
https://brntn.me/blog/six-things-i-do-every-time-i-start-a-django-project/
https://brntn.me/blog/six-things-i-do-every-time-i-start-a-django-project/
brntn.me
Brenton Cleeland - Six things I do every time I start a Django project
Personal site of Brenton Cleeland
tcom
The power of components in your server-side-rendered Python web app.
https://github.com/jpsca/tcom/
The power of components in your server-side-rendered Python web app.
https://github.com/jpsca/tcom/
GitHub
GitHub - jpsca/tcom: Server-Side Components with Jinja
Server-Side Components with Jinja. Contribute to jpsca/tcom development by creating an account on GitHub.
Should You Use AsyncIO for Your Next Python Web Application?
https://www.laac.dev/blog/should-you-use-asyncio-next-python-web-application/
https://www.laac.dev/blog/should-you-use-asyncio-next-python-web-application/
LAAC Technology
Should You Use AsyncIO for Your Next Python Web Application? | LAAC Technology
Python's AsyncIO web ecosystem continues to mature, but should you build your next production application
with one of these shiny new frameworks such as FastAPI, Starlette, or Quart?
with one of these shiny new frameworks such as FastAPI, Starlette, or Quart?
Nodezator
Multi-purpose visual editor to connect Python functions visually (a node editor).
https://github.com/kennedyrichard/nodezator
Multi-purpose visual editor to connect Python functions visually (a node editor).
https://github.com/kennedyrichard/nodezator
GitHub
GitHub - KennedyRichard/nodezator: multi-purpose visual editor to connect Python functions visually (a node editor)
multi-purpose visual editor to connect Python functions visually (a node editor) - GitHub - KennedyRichard/nodezator: multi-purpose visual editor to connect Python functions visually (a node editor)
UnionML
The easiest way to build and deploy machine learning microservices.
https://github.com/unionai-oss/unionml
The easiest way to build and deploy machine learning microservices.
https://github.com/unionai-oss/unionml
GitHub
GitHub - unionai-oss/unionml: UnionML: the easiest way to build and deploy machine learning microservices
UnionML: the easiest way to build and deploy machine learning microservices - GitHub - unionai-oss/unionml: UnionML: the easiest way to build and deploy machine learning microservices
Discovering and Debugging a PyTorch Performance Decrease
Subclassed Tensors Reduce GPU Throughput up to Forty Percent.
https://benjaminwarner.dev/2022/06/14/debugging-pytorch-performance-decrease
Subclassed Tensors Reduce GPU Throughput up to Forty Percent.
https://benjaminwarner.dev/2022/06/14/debugging-pytorch-performance-decrease
Just Stir It Some More
Discovering and Debugging a PyTorch Performance Decrease - Subclassed Tensors Reduce GPU Throughput up to Forty Percent
Over the past week, Thomas Capelle and I discovered, debugged, and created a workaround for a performance bug in PyTorch which reduced image training GPU throughput up to forty percent when using fastai. The culprit? Subclassed tensors.
“Don’t Mock What You Don’t Own” in 5 Minutes
A common issue programmers have when they try to test real-world software is how to deal with third-party dependencies. Let’s examine an old, but counter-intuitive principle.
https://hynek.me/articles/what-to-mock-in-5-mins/
A common issue programmers have when they try to test real-world software is how to deal with third-party dependencies. Let’s examine an old, but counter-intuitive principle.
https://hynek.me/articles/what-to-mock-in-5-mins/
Hynek Schlawack
“Don’t Mock What You Don’t Own” in 5 Minutes
A common issue when writing tests for real-world software is how to deal with third-party dependencies. Let’s examine an old, but counter-intuitive principle.
PyPI: Python packets steal AWS keys from users
https://blog.sonatype.com/python-packages-upload-your-aws-keys-env-vars-secrets-to-web
https://blog.sonatype.com/python-packages-upload-your-aws-keys-env-vars-secrets-to-web
Sonatype
Python packages upload your AWS keys, env vars, secrets to the web
Multiple Python packages caught by Sonatype were seen uploading secrets such as AWS keys and environment variables to a web endpoint.