Python
Best Python architecture examples
Python architecture examples on this page are the 55 published proofs whose adapter classified the repository as Python.
Repositories
| Rank | Repository | Score | Modules |
|---|---|---|---|
| 1 | Django REST framework | 95.8/100 | 73 |
| 2 | Gunicorn | 95.7/100 | 72 |
| 3 | HTTPie | 94.6/100 | 86 |
| 4 | aider | 93.3/100 | 104 |
| 5 | FastAPI | 92.8/100 | 52 |
| 6 | MkDocs | 92.7/100 | 79 |
| 7 | holehe | 92/100 | 152 |
| 8 | seaborn | 91.8/100 | 64 |
Ranks 9–54
| Rank | Repository | Score | Modules |
|---|---|---|---|
| 9 | IPython | 90.8/100 | 177 |
| 10 | bbot | 89.7/100 | 255 |
| 11 | pipx | 89/100 | 56 |
| 12 | yt-dlp | 87.1/100 | 1,066 |
| 13 | MinerU | 86.6/100 | 436 |
| 14 | Luigi | 86.5/100 | 102 |
| 15 | opensre | 85.2/100 | 2,279 |
| 16 | streamlink | 84.5/100 | 258 |
| 17 | DeerFlow | 84.3/100 | 1,703 |
| 18 | autogen | 83.6/100 | 456 |
| 19 | artemis | 83.3/100 | 377 |
| 20 | Celery | 83.3/100 | 142 |
| 21 | Material for MkDocs | 82.7/100 | 204 |
| 22 | typer | 82.6/100 | 339 |
| 23 | Sanic | 82/100 | 180 |
| 24 | spaCy | 81.8/100 | 601 |
| 25 | Poetry | 81.1/100 | 193 |
| 26 | apprise | 80.1/100 | 280 |
| 27 | NumPy | 79.4/100 | 192 |
| 28 | django CMS | 78.3/100 | 373 |
| 29 | Soup | 77.7/100 | 628 |
| 30 | pypdf | 76.5/100 | 59 |
| 31 | django-allauth | 76.4/100 | 859 |
| 32 | Agent-Reach | 76.4/100 | 52 |
| 33 | SymPy | 74.8/100 | 871 |
| 34 | Gensim | 74.8/100 | 89 |
| 35 | iFixAi | 73.9/100 | 382 |
| 36 | aiohttp | 73.6/100 | 51 |
| 37 | pip | 73.5/100 | 434 |
| 38 | NetworkX | 73/100 | 290 |
| 39 | redis-py | 71.8/100 | 162 |
| 40 | Optuna | 70.9/100 | 239 |
| 41 | mypy | 70.6/100 | 354 |
| 42 | Gradio | 70.5/100 | 183 |
| 43 | Rich | 70.4/100 | 105 |
| 44 | prompt_toolkit | 70.1/100 | 145 |
| 45 | robotframework | 70/100 | 284 |
| 46 | beets | 69.4/100 | 164 |
| 47 | Scrapy | 67.9/100 | 201 |
| 48 | scikit-learn | 67.6/100 | 353 |
| 49 | pytest | 67.6/100 | 81 |
| 50 | openai-agents-python | 67.4/100 | 317 |
| 51 | python-telegram-bot | 67/100 | 234 |
| 52 | Dask | 65.9/100 | 182 |
| 53 | discord.py | 61/100 | 146 |
| 54 | SQLAlchemy | 59.9/100 | 240 |
- Repositories
- 54
- Lead score
- 95.8
- Lead modules
- 73
How to read these examples
Django REST framework leads the Python score list at 95.8/100 across 73 modules.
The largest Python proof by module count is opensre at 2279 modules and 85.2/100, which is a different contest from the score leader.
Of these Python proofs, 46 are libraries and 5 are frameworks.
By size, 13 proofs are under 100 modules, 25 sit between 100 and 299, 14 sit between 300 and 999, and 3 reach 1000 modules or more.
The examples page keeps the first eight Python proofs open and leaves the remaining proofs in the same score table.
The Python leaderboard is a separate page, ordered by score, so this examples article does not repeat that ranking.
Django REST framework is a Python library in this set, scored 95.8/100 across 73 modules and 137 edges.
The lead file on that proof is __init__.py.
Opening Gunicorn shows a Python library of 72 modules, with the architecture score at 95.7/100.
The lead file on that proof is gunicorn/util.py.
Python proof HTTPie records 216 edges and 86 modules, and its score is 94.6/100.
The lead file on that proof is httpie/compat.py.
aider is a Python library in this set, scored 93.3/100 across 104 modules and 226 edges.
The lead file on that proof is aider/dump.py.
Opening FastAPI shows a Python framework of 52 modules, with the architecture score at 92.8/100.
The lead file on that proof is exceptions.py.
Python proof MkDocs records 107 edges and 79 modules, and its score is 92.7/100.
The lead file on that proof is mkdocs/__init__.py.
holehe is a Python library in this set, scored 92/100 across 152 modules and 247 edges.
The lead file on that proof is holehe/localuseragent.py.
Opening seaborn shows a Python library of 64 modules, with the architecture score at 91.8/100.
The lead file on that proof is seaborn/_core/typing.py.
Python proof IPython records 428 edges and 177 modules, and its score is 90.8/100.
The lead file on that proof is IPython/utils/encoding.py.
bbot is a Python library in this set, scored 89.7/100 across 255 modules and 521 edges.
The lead file on that proof is errors.py.
Opening pipx shows a Python library of 56 modules, with the architecture score at 89/100.
The lead file on that proof is src/pipx/constants.py.
Python proof Tornado records 180 edges and 42 modules, and its score is 87.7/100.
The lead file on that proof is tornado/util.py.
FAQ
- Which Python repository leads the examples?
- Django REST framework leads at 95.8/100 across 73 modules.
- How many Python proofs are published?
- 55 Python proofs are published. 54 are in the ranking. The first 8 stay open on this page.
- Where is the Python leaderboard?
- The Python leaderboard is a separate page at /leaderboards/python/, ordered by score.