Skip to main content

Wrap any Django project in an Electron shell

Project description

desktop-django-starter

Wrap any Django project in an Electron shell using an AI coding agent.

Quick start

cd ~/projects/my-django-app
uvx desktop-django-starter wrap          # preflight only
uvx desktop-django-starter wrap --run    # preflight + invoke agent

Or install for repeated use:

uv tool install desktop-django-starter
dds wrap
dds wrap --run
dds wrap --run --agent codex

Commands

dds wrap

Run from inside a Django project directory. By default, runs preflight checks and prints the agent command. Add --run to invoke the agent.

When using the default claude agent, --run streams concise progress lines while Claude works. Older dds builds delegated to Claude's default text output, which could look idle until the agent finished.

Options:

  • --run — invoke the agent after preflight passes
  • --agent NAME — agent to use: claude (default), pi, codex
  • --force — bypass dirty-worktree and existing-electron/ checks
  • --emit-prompt — print the resolved wrapping prompt to stdout

dds doctor

Check that prerequisites (node, npm, just, agent CLIs) are installed and that bundled assets are intact.

What happens after wrapping

The agent creates an electron/ directory and justfile targets in your project:

just desktop-dev          # Electron + Django dev mode
just desktop-dev-smoke    # headless boot + health check
npm --prefix electron test  # node-side tests

Version

Every wrap is stamped with the dds version so you can reproduce results. The package version tracks the starter repo release.

Maintainer release

Build and publish the PyPI wrapper package from the repo root:

just cli-publish

The cli-publish recipe runs cli-test and cli-build first. The PyPI wrapper package is the cli/ subproject. Use just cli-build or just cli-publish instead of the root just build recipe for uvx desktop-django-starter ... releases.

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

desktop_django_starter-0.1.1.tar.gz (300.3 kB view details)

Uploaded Source

Built Distribution

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

desktop_django_starter-0.1.1-py3-none-any.whl (312.9 kB view details)

Uploaded Python 3

File details

Details for the file desktop_django_starter-0.1.1.tar.gz.

File metadata

  • Download URL: desktop_django_starter-0.1.1.tar.gz
  • Upload date:
  • Size: 300.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","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 desktop_django_starter-0.1.1.tar.gz
Algorithm Hash digest
SHA256 09600f901d41cfd2a2b238165be1b217c469a90c6710a7b000fc8fd64a567dd7
MD5 b56f8d290ee4f939af87068163dcbe4e
BLAKE2b-256 1b8001f7f9df7fc10f4ac9ac437668f3c0573b78899fede4ce2de2735f17fbbb

See more details on using hashes here.

File details

Details for the file desktop_django_starter-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: desktop_django_starter-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 312.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","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 desktop_django_starter-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c648fce29232108443e01abdf6ca97e82e0669b637303f137dd789b32e8570b6
MD5 c7192e8c353205bb90d8dee8e5e686b1
BLAKE2b-256 cc144b632ba22b512efcca9272d2bb97bf988e3b9dadaca9d1b44f61c26054c1

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