Asynchronous Tasks with Django and Celery
If a long-running process is part of your application's workflow, rather blocking the response, you should handle it in the background, outside the normal request/response flow
https://testdriven.io/blog/django-and-celery/
If a long-running process is part of your application's workflow, rather blocking the response, you should handle it in the background, outside the normal request/response flow
https://testdriven.io/blog/django-and-celery/
testdriven.io
Asynchronous Tasks with Django and Celery
This article looks at how to configure Celery to handle long-running tasks in a Django app.
Dictionary Merging and Updating in Python 3.9
Python 3.9 is under active development and scheduled to be released in October this year. On Feb 26, the development team released its alpha 4 version. One of the new features, relevant to almost all Python programmers, is the introducing of new merge (|) and update (|=) operators.
https://medium.com/better-programming/dictionary-merging-and-updating-in-python-3-9-4ac67c667ce
Python 3.9 is under active development and scheduled to be released in October this year. On Feb 26, the development team released its alpha 4 version. One of the new features, relevant to almost all Python programmers, is the introducing of new merge (|) and update (|=) operators.
https://medium.com/better-programming/dictionary-merging-and-updating-in-python-3-9-4ac67c667ce
Medium
Dictionary Merging and Updating in Python 3.9
A quick peek into Python 3.9’s new merge | and update |= operators
Building pyarrow with CUDA support
The other day I was looking to read an Arrow buffer on GPU using Python, but as far as I could tell, none of the provided pyarrow packages on conda or pip are built with CUDA support. Like many of the packages in the compiled-C-wrapped-by-Python ecosystem, Apache Arrow is thoroughly documented, but the number of permutations of how you could choose to build pyarrow with CUDA support quickly becomes overwhelming.
https://randyzwitch.com/pyarrow-cuda-support/
The other day I was looking to read an Arrow buffer on GPU using Python, but as far as I could tell, none of the provided pyarrow packages on conda or pip are built with CUDA support. Like many of the packages in the compiled-C-wrapped-by-Python ecosystem, Apache Arrow is thoroughly documented, but the number of permutations of how you could choose to build pyarrow with CUDA support quickly becomes overwhelming.
https://randyzwitch.com/pyarrow-cuda-support/
Randyzwitch
randyzwitch.com | Building pyarrow with CUDA support
Building pyarrow with CUDA support from source doesn't have to be confusing. Here's how to build pyarrow with CUDA support using virtualenv and Docker.
https://github.com/rougier/matplotlib-3d
This experimental project is an attempt at providing a better and more versatile 3d axis for Matplotlib. The heart of the code is explained in this blog post: Custom 3D engine in Matplotlib.
This experimental project is an attempt at providing a better and more versatile 3d axis for Matplotlib. The heart of the code is explained in this blog post: Custom 3D engine in Matplotlib.
GitHub
GitHub - rougier/matplotlib-3d: Experimental 3D axis for matplotlib
Experimental 3D axis for matplotlib. Contribute to rougier/matplotlib-3d development by creating an account on GitHub.
https://github.com/Tesorio/django-anon
Anonymize production data so it can be safely used in not-so-safe environments
Anonymize production data so it can be safely used in not-so-safe environments
GitHub
GitHub - Tesorio/django-anon: :shipit: Anonymize production data so it can be safely used in not-so-safe environments
:shipit: Anonymize production data so it can be safely used in not-so-safe environments - GitHub - Tesorio/django-anon: :shipit: Anonymize production data so it can be safely used in not-so-safe en...