PythonHub
2.44K subscribers
2.35K photos
49.2K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Memory Management in Python

Understanding memory management is a superpower that will help you design memory-efficient applications and make it easier to debug memory issues. This post is a deep dive into the internals of CPython.

https://www.honeybadger.io/blog/memory-management-in-python/
Deploying Python web apps as AWS Lambda functions

AWS Lambda can host functions written in Python. These are "scale to zero" - my favorite definition of serverless! - which means you only pay for the traffic that they serve. A project with no traffic costs nothing to run. Here's how to deploy a Python web application as a Lambda function.

https://til.simonwillison.net/awslambda/asgi-mangum
Yes, Python Has a Built-In Database. Here’s How to Use It.

A simple guide to SQLite in Python.Continue reading on Towards Data Science ...

https://towardsdatascience.com/yes-python-has-a-built-in-database-heres-how-to-use-it-b3c033f172d3
Using Asyncio and Batch APIs for Remote Services

Call batch APIs using Python's asyncio. Process multiple requests with a single call for better performance. Async Python functions in Excel can benefit from using batch APIs.

https://www.blog.pythonlibrary.org/2022/09/20/using-asyncio-and-batch-apis/
Invasive procedures: Python affordances for performance measurement

When your Python code is too slow, you need to identify the bottleneck that’s causing it: ...

https://pythonspeed.com/articles/measuring-python-performance/
redframes

A data manipulation library for ML and visualization. It is fully interoperable with pandas, compatible with scikit-learn, and works great with matplotlib!

https://github.com/maxhumber/redframes
How to Build an Audio Intelligence Dashboard with Gradio

Gradio allows you to easily create shareable apps using only Python. Learn how to build a dashboard for Audio Intelligence Analysis in this easy-to-follow tutorial.

https://www.assemblyai.com/blog/how-to-build-an-audio-intelligence-dashboard-with-gradio/
Python 3.14 will be faster than C++

Benchmarking the new and impressive Python 3.11Continue reading on Towards Data Science ...

https://towardsdatascience.com/python-3-14-will-be-faster-than-c-a97edd01d65d
Infrastructure-as-Code: Easy Cloud Deployment In Python

Depending on the technology and type of cloud product you choose, cloud deployment can be intimidating, but it's often not that complex. This video walks you through a couple of fairly simple methods for deploying an application, that don't call for a deep understanding of DevOps and are quick and easy to implement.

https://www.youtube.com/watch?v=YGcd0lAQCl8
Image segmentation

In this article, we will define image segmentation, discover the right metrics to use in these tasks, build an end-to-end pipeline that can be used as a template for handling image segmentation problems, and talk about some useful applications of it.

https://blog.paperspace.com/image-segmentation-using-segmentation_models_pytorch/