Skip to main content

Reusable environment detection, activation, and wrapper tooling for developer CLIs.

Project description

dekk

Make project CLIs runnable with one config and zero manual activation.

Install

pipx install dekk

Fallback:

python -m pip install --upgrade dekk

Minimal Setup

dekk install ./tools/cli.py

If .dekk.toml is missing, dekk install, dekk wrap, and dekk agents init create a starter file from the repo context first.

Explicit template-driven setup is still available:

dekk init --example conda
eval "$(dekk activate --shell bash)"

Optional (no activation after this):

dekk wrap myapp ./tools/cli.py

Worktree-safe default:

dekk install ./tools/cli.py        # no shell rc PATH edits by default
dekk install ./tools/cli.py --update-shell

Project command routing (uses nearest .dekk.toml):

dekk myapp server --port 8080

This is worktree-friendly by default:

  • dekk walks up from your current directory to find the nearest .dekk.toml
  • the app name must match [project].name
  • the command runs with cwd set to that project root, not whatever nested directory you happened to be in
  • activation is scoped to that project config before the command runs

That means dekk myapp server works correctly from a repo root, a nested subpackage, or a separate Git worktree for the same project, without relying on global shell state.

Agents

Source of truth: .agents/

dekk agents init
dekk agents generate --target all
dekk agents clean --target codex
dekk agents install        # optional (installs Codex skills to ~/.codex/skills)

Generated files (examples): AGENTS.md, CLAUDE.md, .cursorrules, .github/copilot-instructions.md, .agents.json

Docs

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

dekk-1.4.0.tar.gz (237.9 kB view details)

Uploaded Source

Built Distribution

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

dekk-1.4.0-py3-none-any.whl (182.4 kB view details)

Uploaded Python 3

File details

Details for the file dekk-1.4.0.tar.gz.

File metadata

  • Download URL: dekk-1.4.0.tar.gz
  • Upload date:
  • Size: 237.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dekk-1.4.0.tar.gz
Algorithm Hash digest
SHA256 749d3cab6a4de2a8d3a803fab85189ad3be4d546b88f92d08420976e2ed9c2dd
MD5 d5fd19c297ddb07aba3ae8c675def9af
BLAKE2b-256 1a685736f931e9a3030cd1e1e837b8dcbefa3d28c4c9eb29e608cd33e846c7e3

See more details on using hashes here.

Provenance

The following attestation bundles were made for dekk-1.4.0.tar.gz:

Publisher: python-publish.yml on randreshg/dekk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dekk-1.4.0-py3-none-any.whl.

File metadata

  • Download URL: dekk-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 182.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dekk-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c0bc7b0101e6898070dfa569ae93576beea9cf9b172d8524796d7b84a60b8c31
MD5 af6b9c0db9df82cef18efeec3d800895
BLAKE2b-256 d527e1f75fb80e254bfdf8e1cdcb64ec41ad3e50de75f982c247252ae0445eb6

See more details on using hashes here.

Provenance

The following attestation bundles were made for dekk-1.4.0-py3-none-any.whl:

Publisher: python-publish.yml on randreshg/dekk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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