$npx skillfedfor your agent

django-js-reverse

Javascript url handling for Django that doesn't hurt.

Worth itPyPI Dynamic ContentReleased May 2026109.9K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — django_js_reverse-1.0.0-py3-none-any.whl
v1.0.0 · released 2026-05-22 · Python >=3.10 · 1 runtime deps: Django

Yes. The package solves a genuine Django development friction point—keeping frontend and backend URL definitions in sync—with low install overhead, active maintenance, no known vulnerabilities, and permissive licensing. It is most valuable in projects with dynamic or complex URL structures where hardcoding paths in JavaScript creates maintenance burden.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Django to be installed and configured; requires Python 3.10 or later.
  • Low friction installation with a single runtime dependency on Django.
  • Actively maintained as of May 2026 with recent support for Django 5.2 LTS and 6.0, and current Python versions 3.10–3.14.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; suitable for most projects without licensing concerns.

last release 2026-05-22 (84 days) · last repo commit 2026-05-22 · 26 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 109,891 downloads/mo, #12,495 on PyPI

Verify before relying

pip install django-js-reverse

# In settings.py
INSTALLED_APPS = [
    ...,
    'django_js_reverse',
]

# In urls.py
from django_js_reverse.views import urls_js
urlpatterns = [path('jsreverse/', urls_js, name='js_reverse')]

# In JavaScript
// After including the generated script
Urls.betterlivingGetHouse('house', 12)  // => '/betterliving/house/12/'
  • Whether the package handles all Django URL parameter types (path converters, regex patterns) correctly in JavaScript generation.
  • Performance impact when dealing with large URL configurations or frequent URL reversals in JavaScript.
Same gist for agents: .md · .json

What it is and what it does

Django JS Reverse is a Django app that bridges the gap between backend URL routing and frontend JavaScript by making named URLs available as callable functions in the browser. Instead of hardcoding URL paths in JavaScript or maintaining a separate URL mapping, you define routes once in Django's urlpatterns and access them from JavaScript using the same names—the package generates a JavaScript object that mirrors your URL configuration and handles parameter substitution.

The package supports multiple integration patterns: as a static file generated via management command, as a JSON endpoint for webpack/bundlers, as a view that serves JavaScript directly, or as an inline template tag. It handles URL namespaces, parameter conversion, and can be configured to include or exclude specific namespaces, minify output, and work with application subpaths.

Use it for

  • Single-page applications that need to construct API or page URLs dynamically without duplicating route definitions.
  • Django templates with embedded JavaScript that reference named URLs, avoiding hardcoded path strings.
  • Webpack-bundled frontends that fetch URL mappings at runtime and use them for client-side routing or API calls.
  • Projects with complex URL hierarchies using namespaces, where maintaining parallel URL lists in frontend code becomes error-prone.
  • Content Security Policy–compliant applications that cannot use inline JavaScript and need to load URL mappings from a separate endpoint.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package solves a genuine Django development friction point—keeping frontend and backend URL definitions in sync—with low install overhead, active maintenance, no known vulnerabilities, and permissive licensing. It is most valuable in projects with dynamic or complex URL structures where hardcoding paths in JavaScript creates maintenance burden.

Install

django-js-reverse on PyPI

Before you install

Low friction installation with a single runtime dependency on Django. Actively maintained as of May 2026 with recent support for Django 5.2 LTS and 6.0, and current Python versions 3.10–3.14.

Requires Django to be installed and configured; requires Python 3.10 or later.

License in practice

MIT license permits commercial and private use with minimal restrictions; suitable for most projects without licensing concerns.

Quickstart

pip install django-js-reverse

# In settings.py
INSTALLED_APPS = [
    ...,
    'django_js_reverse',
]

# In urls.py
from django_js_reverse.views import urls_js
urlpatterns = [path('jsreverse/', urls_js, name='js_reverse')]

# In JavaScript
// After including the generated script
Urls.betterlivingGetHouse('house', 12)  // => '/betterliving/house/12/'

Verify before relying

  • Whether the package handles all Django URL parameter types (path converters, regex patterns) correctly in JavaScript generation.
  • Performance impact when dealing with large URL configurations or frequent URL reversals in JavaScript.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
Django
MaintenanceActively maintained 84 days since the last release
Last repo commit
First released
Downloads109,891 / month, #12,495 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableFramework :: DjangoFramework :: Django :: 5.2Framework :: Django :: 6.0Programming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Evidence: django_js_reverse-1.0.0-py3-none-any.whl

Tags

Capabilities
django url reverse javascriptdjango named urls in jsfrontend url generation djangodjango js url routingreverse urls from javascript
Topics
django-integrationurl-routing

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “django url reverse javascript”

  • django-js-reverseExposes Django named URLs to JavaScript, allowing frontend code to…
  • django-revproxyA Django application that forwards HTTP requests to another server…
  • querystring-parserParses URL query strings and POST data into properly nested Python…

Give your agent the search over MCP, or paste the wish link into any chat.

More Dynamic Content packages

MarkupSafe Worth it
PyPI · Dynamic Content · released Sep 2025

MarkupSafe provides a text object that escapes special characters so untrusted strings can be safely embedded in HTML and XML without injection attacks.

BSD-3-Clausecompiled wheel · 3.9+aging
797.1Mdownloads / mo
Jinja2 Worth it
PyPI · Dynamic Content · released Mar 2025

Jinja2 is a templating engine that renders dynamic content by combining templates with Python-like syntax and data, supporting template inheritance, macros, autoescaping, and sandboxed execution.

BSD-3-Clausepure Python · 3.7+aging
718.6Mdownloads / mo
soupsieve Worth it
PyPI · Python Modules · released Aug 2026

Soupsieve is a CSS selector library designed to work with Beautiful Soup 4 to select, match, and filter HTML and XML elements using modern CSS selectors from CSS level 1 through CSS level 4 specifications.

Install it if you use Beautiful Soup for HTML or XML parsing and want modern CSS selector support.

MITpure Python · 3.10+
428.6Mdownloads / mo
Werkzeug Worth it
PyPI · Application Frameworks · released Apr 2026

Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.

BSD-3-Clausepure Python · 3.9+
268.1Mdownloads / mo
Flask Worth it
PyPI · Application Frameworks · released Feb 2026

Flask is a lightweight WSGI web application framework for building web applications in Python, from simple single-page sites to complex multi-route applications.

BSD-3-Clausepure Python · 3.9+
211.4Mdownloads / mo
Mako Worth it
PyPI · Dynamic Content · released Aug 2026

Mako compiles Python-embedded templates into Python modules for fast rendering, supporting layout inheritance, custom functions, and direct Python expressions within template syntax.

MITpure Python · 3.10+
201.7Mdownloads / mo

See also django-statici18n · django-reverse-admin · django-compressor · django-browser-reload · django-ical · django-utils-six · djangorestframework · django-upgrade · django-pipeline · django-sesame