macOS
brew install djhtmllocal Homebrew formula metadata
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für djhtml in AI-Agent-Workflows.
Installation
brew install djhtmllocal Homebrew formula metadata
nix profile install nixpkgs#djhtmlnixpkgs package indexes · pkgs/by-name/dj/djhtml/package.nix · Quelle: api.github.com
Überblick
Django/Jinja template indenter
Verlauf
DjHTML is a pure-Python indenter for Django and Jinja templates, with companion commands for CSS, JavaScript, and text-like template files. It intentionally calls itself an indenter rather than a formatter: it changes leading whitespace but does not restructure markup.
The official repository was created in May 2021 and describes DjHTML as a dependency-free template indenter. Its README positions the tool near formatters such as Black while making a narrower promise: fix indentation for already well-structured mixed HTML, CSS, JavaScript, Django, and Jinja templates.
DjHTML's design is conservative for template-heavy projects because it avoids inserting newlines or other non-whitespace characters. The same repository ships multiple entry points: `djhtml` for template files, `djcss` for style sections or CSS mode, `djjs` for script sections or JavaScript mode, and `djtxt` for text-oriented indentation.
Adoption has been strongest in Python web projects that already use pre-commit. The README provides a `.pre-commit-config.yaml` example using the official repository as the hook source, which lets teams run DjHTML automatically without adding a broader HTML formatter to the application runtime.
Package-manager interest is modest but durable: the Homebrew package exposes the CLI tools for users who prefer system package managers, while the upstream project remains a small Python utility with regular 3.x releases.
Users run `djhtml template.html` or `djhtml .` to rewrite indentation, and use `--check` in automation when they want a nonzero status if files would change. The `fmt:off` and `fmt:on` markers, plus ignored pre/comment blocks, keep generated or intentionally odd sections out of the indenter.
DjHTML is package-nerd interesting because it occupies the narrow space between no formatter and a full syntax-changing HTML formatter. Its no-dependency Python implementation, pre-commit hook, and separate mode commands make it a small, easy-to-package tool for template repositories.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
djcss | cli | globales Executable | |
djhtml | cli | globales Executable | |
djjs | cli | globales Executable | |
djtxt | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/rtts/djhtml
Installationsmetadaten
| Paketschlüssel | brew:djhtml |
|---|---|
| Version | 3.0.11 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/djhtml |
| Homepage | https://github.com/rtts/djhtml |
| Repository | https://github.com/rtts/djhtml |
| Upstream-Dokumentation | https://github.com/rtts/djhtml#readme |
| Lizenz | GPL-3.0-or-later |
| Quellarchiv | https://files.pythonhosted.org/packages/22/57/5771714b5961b7ee275a5696cabc3bd8c4a602d7cca103a44016109509fd/djhtml-3.0.11.tar.gz |
| Abhängigkeiten | python@3.14 |
| Bottle | verfügbar (auf all) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | djhtml |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
djhtml
nix profile install nixpkgs#djhtmlQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.