A pure Python HTTP Library built on free-threaded Python
A pure Python HTTP Library built on free-threaded Python
Hey HN, I built a small HTTP framework to experiment with free-threaded and wanted to share some observations. Barq is ~500 lines of pure Python, no C extensions, no Rust, no Cython. It uses only the standard library plus Pydantic. Benchmarks (Barq 4 threads vs FastAPI 4 worker processes): - JSON: Barq 10,114 req/s vs FastAPI 5,665 req/s → Barq +79% - DB query: Barq 9,962 req/s vs FastAPI 1,015 req/s → Barq +881% - CPU bound: Barq 879 req/s vs FastAPI 1,231 req/s → FastAPI +29%
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
A better pure-Python HTTP headers classes, kiss-headers 2.2.2
Aioquic – A QUIC and HTTP/3 Implementation in Python
Hishel – HTTP Caching for Python
Snmpy – A Pure Python SNMP Library with Zero Dependencies
Pure Python SHA1 and MD4 Implementations
A pure Python implemention of Apache Thrift
Python library for fetching currently-supported Python versions
HTTP/2 Python-Asyncio Web Microframework
A Python library for Unicode string collation
Python library for parsing Dockerfile