Python drawer – Telegram
Python drawer
36 subscribers
1 photo
2 files
3.7K links
A collection of curated Python resources from trustworthy sources.
Download Telegram
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/
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
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/
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.
Live stream started
Live stream finished (14 seconds)