PythonHub
2.44K subscribers
2.35K photos
49.3K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Implement API Caching with Redis, Flask, and Docker [Step-By-Step]

You want your API to be faster, more consistent, and to reduce the requests to the server? — That’s where caching comes into play. This article shows you how to implement API Caching with Redis on Flask.

https://levelup.gitconnected.com/implement-api-caching-with-redis-flask-and-docker-step-by-step-9139636cef24
Continuous integration for data science with pytest, Github Actions, and Hypervector

This guide outlines how you can build an automated check for a data science feature that runs every time a pull request is opened against the project, using the Python library pytest,  Github's continuous integration platform Actions, and Hypervector — an API for building data science test fixtures easily.

https://blog.hypervector.io/posts/2021-5-12-int-github.html
Modern Python Developer's Toolkit

https://pycon.switowski.com/
Python is 1.3x faster by just adjusting some compiling options for libpython

https://bugs.python.org/issue38980?fbclid=IwAR0cyfahpBywNzbqLCpcfwatOaU6W8UQp7LgVu8KZ8hDc-wKLjLE7wjOs7g
Hugging face Course

This course will teach you about natural language processing (NLP) using libraries from the Hugging Face ecosystem — Transformers, Datasets, Tokenizers, and Accelerate — as well as the Hugging Face Hub. It’s completely free and without ads.

https://huggingface.co/course/chapter1
Protocol Types in Python 3.8

A quick introduction to the new Protocol class in Python 3.8 and how it enables structural typing.

https://auth0.com/blog/protocol-types-in-python/