{"repo":"AliSayyah/django-urlconfchecks","free":true,"listed":false,"github":"https://github.com/AliSayyah/django-urlconfchecks","clone":"git clone https://github.com/AliSayyah/django-urlconfchecks.git","description":"A package for type-checking the URLs and associated views for Django","language":"Python","stars":71,"topics":["django","python","developer-tools","django-application","typechecker","cli","typer","pre-commit","pre-commit-hook"],"license":"GPL-3.0","category":"cli-tools","readme_excerpt":"Django UrlConf Checks Static checker that keeps your URL patterns and view annotations in sync, using Django’s built-in check framework. Documentation GitHub PyPI Key features Detects mismatches between URL converters/default kwargs and view annotations (ints, UUIDs, container generics, etc.). Works as a Django system check ( manage.py check ) or standalone CLI. Honors custom converters and fine-grained silencing per view. Pre-commit friendly; CI-ready with machine-readable output. Installation pip install django-urlconfchecks Compatibility: Python Django --- --- 3.10–3.11 5.2.8 – <5.3 3.12–3.14 5.2.8 – <6.1 Quick start 1) Install: pip install django-urlconfchecks 2) From your project root (where manage.py lives): urlconfchecks Or target a specific module: urlconfchecks --urlconf myproj.urls 3) Optional: add defaults in pyproject.toml : CLI flags always override these defaults. Usage As a Django app Add django urlconfchecks to your INSTALLED APPS list in your settings.py file. As a command line tool Run this command from the root of your project, were manage.py is located: As a pre-commit hook Add the following to your .pre-commit-config.yaml file: For more information, see the usage documentation. What it catches (example) Output: JSON ( --format json ): Credits Luke Plant for providing the idea and the initial code. This package was created with Cookiecutter and the waynerv/cookiecutter-pypackage project template.","default_branch":null,"files":null,"tree":[],"storefront":"/r/AliSayyah","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/AliSayyah/django-urlconfchecks/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}