A

A pure Python HTTP Library built on free-threaded Python

Hacker News

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 card

Actual performance

2points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Hacker NewsMay not resonate with HN audience · Strong signals: io · Missing: https docs, excited, just released
49%49% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Strong signals: plus · Missing: platform, intuitive, reviews
47%47% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
35%35% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Indie HackersIH features products with proven revenue · Missing: supports, reddit linkedin, podcasting
30%30% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
18%18% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
Product HuntUnlikely to reach the leaderboard · Missing: mac, agents, macos
15%15% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
2%2% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

A
A better pure-Python HTTP headers classes, kiss-headers 2.2.238%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A better pure-Python HTTP headers classes, kiss-headers 2.2.2

Hacker News1
Ai
Aioquic – A QUIC and HTTP/3 Implementation in Python58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Aioquic – A QUIC and HTTP/3 Implementation in Python

Hacker News5
Hi
Hishel – HTTP Caching for Python53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Hishel – HTTP Caching for Python

Hacker News3
Sn
Snmpy – A Pure Python SNMP Library with Zero Dependencies63%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Snmpy – A Pure Python SNMP Library with Zero Dependencies

Hacker News1
Pu
Pure Python SHA1 and MD4 Implementations60%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Pure Python SHA1 and MD4 Implementations

Hacker News2
A
A pure Python implemention of Apache Thrift48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A pure Python implemention of Apache Thrift

Hacker News64
Py
Python library for fetching currently-supported Python versions58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Python library for fetching currently-supported Python versions

Hacker News4
HT
HTTP/2 Python-Asyncio Web Microframework70%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

HTTP/2 Python-Asyncio Web Microframework

Hacker News173
A
A Python library for Unicode string collation55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Python library for Unicode string collation

Hacker News4
Py
Python library for parsing Dockerfile65%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Python library for parsing Dockerfile

Hacker News2