惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

MongoDB | Blog
MongoDB | Blog
V
V2EX
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
有赞技术团队
有赞技术团队
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
罗磊的独立博客
月光博客
月光博客
爱范儿
爱范儿
D
Docker
U
Unit 42
P
Proofpoint News Feed
I
InfoQ
腾讯CDC
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
L
LangChain Blog
V
Visual Studio Blog
IT之家
IT之家
Vercel News
Vercel News
G
Google Developers Blog
M
MIT News - Artificial intelligence
美团技术团队
The GitHub Blog
The GitHub Blog
阮一峰的网络日志
阮一峰的网络日志
MyScale Blog
MyScale Blog

Anže's Blog

The 15-Year-Old iptables Rule That Broke My DNS Fedidevs 9h Outage Postmortem Letting Claude Upgrade My Raspberry Pi Agents Day Lisbon DjangoCon Europe 2026 How to Safely Update Your Dependencies Speeding Up Django Startup Times with Lazy Imports Typing Your Django Project in 2026 Claude Fixes User Bug Jekyll to Hugo Migration Advent of Code 2025 🎄 Django bulk_update Memory Issue Migrating Gunicorn to Granian Disable Network Requests When Running Pytest Disable Runserver Warning in Django 5.2 Autogenerating og:images with Jekyll Power Outages and Gunicorn PID Files UV with Django Go-like Error Handling Makes No Sense in JavaScript or Python Packages Do Not Match the Hashes Pip Error Gotchas with SQLite in Production Fedidevs Dev Update #2 Django SQLite Production Config Django Streaming HTTP Responses Deploying a Django Project to My Raspberry Pi (Video) Thoughts on Code Reviews Django SQLite Benchmark Django, SQLite, and the Database Is Locked Error No Downtime Deployments with Gunicorn SQLite Write-Ahead Logging
Django-TUI: A Text User Interface for Django Commands
Anže Pečar · 2023-08-25 · via Anže's Blog

django-tui screenshot

I’ve just launched django-tui, a command line tool for listing and running Django commands. It is my second Textual application this month (link to first - words-tui), so I think it’s safe to say that I’m embracing the application in the terminal idea.

How does it work?

django-tui uses Trogon to render all of the UI. Trogon is a project for turning Cklick CLIs into TUI apps.

Most of the code in django-tui deals with translating Django commands that usually use argparse to a representation that Trogon understands. I believe I covered most of the different options, but there are probably still some edge cases that I’ve missed. I’ll ship regular updates to address these and add new features in the coming weeks.

If you have any ideas on how to improve django-tui please let me know ❤️

DEMO

Fin

I’ve made the tool primarily because I can never remember the commands or their arguments’ names, especially on larger Django projects with many custom commands.

It’s great to see that other people find this useful as well. The django-tui repository already has 22 stars 🤩