Skip to main content

SvelteKit-like file routing and hypermedia runtime for Django

Project description

HyperDjango

PyPI version Downloads License

Built by Charing Cross Capital

Build interactive Django apps without splitting your product into "backend API + SPA frontend".

HyperDjango keeps rendering and business logic on the server, then layers in partial swaps, signals, and transitions for SPA-like UX.

Documentation & Examples

For full API reference, guides, and interactive examples, please visit hyperdjango.charingcrosscapital.com.

Why This Works

  • Keep business logic in Django, not duplicated across REST + frontend app layers.
  • Get SPA-like interactions (partial swaps, toasts, transitions) with HTML as the transport.
  • Organize by feature using file-based routes and co-located templates/assets in a hyper/ directory.

Quick Start

pip install hyperdjango
python manage.py hyper_scaffold

See the Installation guide for details.

Example App

A full runnable demo lives in example/. See example/README.md for instructions.

Contributing

We welcome contributions! To get started:

  1. Clone the repository: git clone https://github.com/charingcrosscapital/hyperdjango.git
  2. Install dependencies: pip install -e .[dev] (or equivalent)
  3. Run tests: pytest
  4. Submit Pull Request: Open a PR with your changes, ensuring new tests cover your modifications.

License

This project is licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hyperdjango-0.25.0.tar.gz (39.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hyperdjango-0.25.0-py3-none-any.whl (42.0 kB view details)

Uploaded Python 3

File details

Details for the file hyperdjango-0.25.0.tar.gz.

File metadata

  • Download URL: hyperdjango-0.25.0.tar.gz
  • Upload date:
  • Size: 39.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for hyperdjango-0.25.0.tar.gz
Algorithm Hash digest
SHA256 58f9d8be890ffd2e30bdf3b36caf85c98765058995ef2a1473dce0082c62172b
MD5 3557cff4581c83eaf8dc52d09add6a6f
BLAKE2b-256 02a6629eae7b6efd812144fe77868992012fb329a95229fefd4f586729051db2

See more details on using hashes here.

File details

Details for the file hyperdjango-0.25.0-py3-none-any.whl.

File metadata

  • Download URL: hyperdjango-0.25.0-py3-none-any.whl
  • Upload date:
  • Size: 42.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for hyperdjango-0.25.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5d18b035a5cb2a548cf23a98c5b5e1f03c80993bf36508ba75116090afc931a1
MD5 ca538264abae68b6a6e059c8a8a6b690
BLAKE2b-256 de0a5af772641bb8acc93503f96c270642623a157d09a5a217b779facb9bfff1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page