FastAPI and cooperative multi-threading
Cal Paterson wrote a great article comparing and describing synchronous and asynchronous Python frameworks and explaining why asynchronous frameworks go a bit wobbly under load. This is a story of how we experienced wobbliness in a recent project.
https://aivarsk.com/2022/01/21/fastapi-concurrency/
Cal Paterson wrote a great article comparing and describing synchronous and asynchronous Python frameworks and explaining why asynchronous frameworks go a bit wobbly under load. This is a story of how we experienced wobbliness in a recent project.
https://aivarsk.com/2022/01/21/fastapi-concurrency/
Aivars Kalvāns
FastAPI and cooperative multi-threading
Cal Paterson wrote a great article comparing and describing synchronous and asynchronous Python frameworks and explaining why asynchronous frameworks go a bit wobbly under load. This is a story of how we experienced wobbliness in a recent project.
The fastest way to read a CSV in Pandas
You have a large CSV, you’re going to be reading it in to Pandas—but every time you load it, you have to wait for the CSV to load. And that slows down your development feedback loop, and might meaningfully slows down your production processing. In this post, learn the fastest way to read a CSV in to Pandas.
https://pythonspeed.com/articles/pandas-read-csv-fast/
You have a large CSV, you’re going to be reading it in to Pandas—but every time you load it, you have to wait for the CSV to load. And that slows down your development feedback loop, and might meaningfully slows down your production processing. In this post, learn the fastest way to read a CSV in to Pandas.
https://pythonspeed.com/articles/pandas-read-csv-fast/
Python⇒Speed
The fastest way to read a CSV in Pandas
Learn the fastest way to read a CSV in to Pandas.
Kaldi Speech Recognition for Beginners - A Simple Tutorial
Want to learn how to use Kaldi for Speech Recognition? Check out this simple tutorial to start transcribing audio in minutes.
https://www.assemblyai.com/blog/kaldi-speech-recognition-for-beginners-a-simple-tutorial/
Want to learn how to use Kaldi for Speech Recognition? Check out this simple tutorial to start transcribing audio in minutes.
https://www.assemblyai.com/blog/kaldi-speech-recognition-for-beginners-a-simple-tutorial/
Assemblyai
Kaldi Speech Recognition for Beginners - A Simple Tutorial
Want to learn how to use Kaldi for Speech Recognition? Check out this simple tutorial to start transcribing audio in minutes.
Building for Balance
How Instacart Marketplace team developed a unified marketplace balancing engine with machine learning and optimization
https://tech.instacart.com/building-for-balance-e61fb9511893
How Instacart Marketplace team developed a unified marketplace balancing engine with machine learning and optimization
https://tech.instacart.com/building-for-balance-e61fb9511893
Medium
Building for Balance
How we developed a unified marketplace balancing engine with machine learning and optimization
How we optimized Python API server code 100x
Some of the tricks we used to speed up calls to our analytical API written in Python: played with asyncio, messed with SQLAlchemy, hacked deep in asyncpg, rewrote parts in Cython, found better data structures, replaced some pandas with pure numpy.
https://t.co/jiRKVYHkl0
Some of the tricks we used to speed up calls to our analytical API written in Python: played with asyncio, messed with SQLAlchemy, hacked deep in asyncpg, rewrote parts in Cython, found better data structures, replaced some pandas with pure numpy.
https://t.co/jiRKVYHkl0
Medium
How we optimized Python API server code 100x
Some of the tricks we used to speed up calls to our analytical API written in Python: played with asyncio, messed with SQLAlchemy, hacked…
jonaswinkler / paperless-ng
A supercharged version of paperless: scan, index and archive all your physical documents
https://github.com/jonaswinkler/paperless-ng
A supercharged version of paperless: scan, index and archive all your physical documents
https://github.com/jonaswinkler/paperless-ng
GitHub
GitHub - jonaswinkler/paperless-ng: A supercharged version of paperless: scan, index and archive all your physical documents
A supercharged version of paperless: scan, index and archive all your physical documents - jonaswinkler/paperless-ng
Friendly-traceback: trying to stay ahead of IPython
https://aroberge.blogspot.com/2022/02/friendly-traceback-trying-to-stay-ahead.html
https://aroberge.blogspot.com/2022/02/friendly-traceback-trying-to-stay-ahead.html
Blogspot
Friendly-traceback: trying to stay ahead of IPython
UPDATE: Alex Hall pointed out that IPython can display the values of variables in the highlighted sections using %xmode verbose . He also su...
Deploy Django into Production with Kubernetes, Docker, & Github Actions
https://www.youtube.com/watch?v=NAOsLaB6Lfc
https://www.youtube.com/watch?v=NAOsLaB6Lfc
YouTube
Deploy Django into Production with Kubernetes, Docker, & Github Actions. Complete Tutorial Series
Learn how to deploy a production-ready Django application into a Kubernetes cluster.
We partnered with DigitalOcean to bring you this series. Sign up now for a $100 credit: https://do.co/cfe-youtube
Kubernetes is a tool to manage containers. This type of…
We partnered with DigitalOcean to bring you this series. Sign up now for a $100 credit: https://do.co/cfe-youtube
Kubernetes is a tool to manage containers. This type of…
Creating a Zelda style game in Python
A Zelda-style RPG in Python that includes a lot of elements you need for a sophisticated game like graphics and animations, fake depth; upgrade mechanics, a level map and quite a bit more.
https://www.youtube.com/watch?v=QU1pPzEGrqw
A Zelda-style RPG in Python that includes a lot of elements you need for a sophisticated game like graphics and animations, fake depth; upgrade mechanics, a level map and quite a bit more.
https://www.youtube.com/watch?v=QU1pPzEGrqw
YouTube
Creating a Zelda style game in Python [with some Dark Souls elements]
A Zelda-style RPG in Python that includes a lot of elements you need for a sophisticated game like graphics and animations, fake depth; upgrade mechanics, a level map and quite a bit more.
Thanks for AI camp for sponsoring this video. You can find the link…
Thanks for AI camp for sponsoring this video. You can find the link…
How to stop running out of ephemeral ports and start to love long-lived connections
In this blog post, I'll explain why we had these issues, how we worked around them, and present an userspace code implementing an improved variant of connect() syscall.
https://blog.cloudflare.com/how-to-stop-running-out-of-ephemeral-ports-and-start-to-love-long-lived-connections/
In this blog post, I'll explain why we had these issues, how we worked around them, and present an userspace code implementing an improved variant of connect() syscall.
https://blog.cloudflare.com/how-to-stop-running-out-of-ephemeral-ports-and-start-to-love-long-lived-connections/
The Cloudflare Blog
How to stop running out of ephemeral ports and start to love long-lived connections
Often programmers have assumptions that turn out, to their surprise, to be invalid. From my experience this happens a lot. Every API, technology or system can be abused beyond its limits and break in a miserable way.
TIL: typing.Protocol Across Python Versions
How to seamlessly support typing.Protocol on Python versions older and newer than 3.8. At the same time.
https://hynek.me/til/typing-protocol/
How to seamlessly support typing.Protocol on Python versions older and newer than 3.8. At the same time.
https://hynek.me/til/typing-protocol/
Hynek Schlawack
typing.Protocol Across Python Versions
How to seamlessly support typing.Protocol on Python versions older and newer than 3.8. At the same time.