PythonHub
2.42K subscribers
2.35K photos
49.1K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
The complex simplicity of my static websites

A deep dive into using indentation-based languages like Python and Slim, to build beautiful websites and love the work of doing it till the end.

https://alinpanaitiu.com/blog/complex-simplicity-of-static-websites/
Introducing Immortal Objects for Python

Instagram has introduced Immortal Objects – PEP-683 – to Python. Now, objects can bypass reference count checks and live throughout the entire execution of the runtime, unlocking exciting avenues for true parallelism.

https://engineering.fb.com/2023/08/15/developer-tools/immortal-objects-for-python-instagram-meta/
Eliminating hallucinations (fast!) in Large Language Models with Finite State Machines

In this blog, we introduce our method for regex-guided generation implemented in Outlines.

https://blog.normalcomputing.ai/posts/2023-07-27-regex-guided-generation/regex-guided-generation.html
viberary

Viberary is a search engine that recommends books based not on genre or title, but vibe by performing semantic search across a set of learned embeddings on a dataset of books from Goodreads and their metadata.

https://github.com/veekaybee/viberary
Weird Python "Features" That Might Catch You By Surprise

From time to time, when coding, we all run into weird behaviours of the programming language. Sometimes it's a "feature" we weren't aware of, sometimes it's just quirky behaviour of the language, and sometimes it's borderline bug. Python - as any other programming language - has these eyebrows-raising quirks, so here's a list of weird Python "features" that might catch you off-guard.

https://martinheinz.dev/blog/103
How not to sort in Python

SummarySometimes you want to sort, and sometimes you just want things to stay sorted. For the ...

https://www.bitecode.dev/p/how-not-to-sort-in-python