nanodjango
httpdbg
nanodjango | httpdbg | |
---|---|---|
5 | 7 | |
738 | 832 | |
7.7% | 14.5% | |
8.2 | 7.9 | |
about 1 month ago | 1 day ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nanodjango
-
This Week In Python
nanodjango ā Full Django in a single file - views, models, API, with async support.
- Nanodjango: Full Django in a Single File
- Nanodjango
-
Building a full Django project, starting with a single file
The app-based model is really baked into Django. As we've seen from a bunch of examples, especially recently, it's not too hard to build out a single-file project that serves a simple home page with a brief message. As soon as you want to support a full actual page, and a set of pages, you really have to figure out a well-thought-out plan for how people will expand the project.
If you're still interested in this work, I suggest checking out nanodjango, which was mentioned earlier in this thread. That project is new, but there's a plan from the outset for how people can transition from the single-file based version to a standard Django project. You might also want to check out Andrew Godwin's django-singlefile project. It's meant to support small flask-like projects, where you don't have any intention of expanding out into a standard Django project.
Both of these projects have their own code that takes what's included in the small file and tells Django how to make sense of it. That's much different than the projects that are only trying to make use of what's included in Django itself.
(I'm the author of the Django from first principles series that was submitted here, but I didn't see it on HN until this morning.)
nanodjango: https://github.com/radiac/nanodjango
django-singlefile: https://github.com/andrewgodwin/django-singlefile
httpdbg
-
AIM Weekly from 30 September 2024
š¦¾ Leader š Evaluating RAG š Solid Data Curation š¤ Sparse and Dense Embeddings š Embeddings Explained š¢ Distill a small fast model OSS š¢ Easy Podcast š SQL, NoSQL, Vectors š± Vector DB Bencmarks š¼ Extreme Quantization š¢ Bay.Area.AI: Interview with Jiang Chen, Zilliz šāā¬ Building LLMS Stanford Class š New Python Web UI Free Map Hosting š Pipefunc š„ļø The Pipe to extract š½ New Audio Model š§ Easy Milvus Schema Generation š½ Multimodal Models 72B š Fivetran + Milvus š£ļø JSON Viewer š½ ONNX Runtime GenAI š LLM Explorer š¦¾ Interesting Computer Vision Techniques š Build a model from embedding š§© Superchunk š½ Python testing https streams š Small AMD Model
- Ač”大ę¶Ø - FAV0åØå#016
-
A-Share Market Surge - FAV0 Weekly #016
Easily Debug HTTP(S) Client Requests in Python Programs
-
This Week In Python
httpdbg ā A tool for Python developers to easily debug the HTTP(S) client requests in a Python program
-
Show HN: Httpdbg ā A tool to trace the HTTP requests sent by your Python code
Went spelunking through the source. I think you absolutely could!
There's actually not a whole lot I found that's really http-library specific. It uses the traceback module in a decorator that ends up being manually wrapped around all of the functions of the specific libraries the author cared about.
https://github.com/cle-b/httpdbg/blob/main/httpdbg/hooks
Should be easy enough to extend this to other libraries.
Super cool tool thanks for sharing @dmurray!
What are some alternatives?
Local-File-Organizer - An AI-powered file management tool that ensures privacy by organizing local texts, images. Using Llama3.2 3B and Llava v1.6 models with the Nexa SDK, it intuitively scans, restructures, and organizes files for quick, seamless access and easy retrieval.
tinylangs - Real programming languages in 50 lines of code
pytest_httpx - pytest fixture to mock HTTPX
django-first-principles - A Django project, developed from a single file.
gptme - Your agent in your terminal, equipped with local tools: writes code, uses the terminal, browses the web, vision.