Skip to main content

Python service scaffolding with zero learning curve

Project description

kraft

Python service scaffolding with zero learning curve.

Installation

Using uvx (one-time execution)

uvx kraft create my-api

Using uv tool (persistent installation)

uv tool install kraft
kraft create my-api

Using pip (traditional installation)

pip install kraft
kraft create my-api

Shell Completion (Optional)

kraft supports shell completion for bash, zsh, and fish. To enable it:

# For bash
kraft --install-completion bash

# For zsh
kraft --install-completion zsh

# For fish
kraft --install-completion fish

After installation, restart your shell or reload your config. You'll then be able to use Tab to autocomplete commands and options.

Development

Setup

Using uv (recommended):

uv sync --extra dev

Using pip:

pip install -e ".[dev]"

Running Tests

# With uv
uv run pytest

# With pip (after activating venv)
pytest

Linting

# With uv
uv run ruff check src/

# With pip (after activating venv)
ruff check src/

Type Checking

# With uv
uv run mypy src/

# With pip (after activating venv)
mypy src/

License

MIT

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

kraft_cli-0.1.0.tar.gz (53.5 kB view details)

Uploaded Source

Built Distribution

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

kraft_cli-0.1.0-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file kraft_cli-0.1.0.tar.gz.

File metadata

  • Download URL: kraft_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 53.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","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 kraft_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 843bc44afa2eae833c460fbe3f0f3c80a97939b6e6ec022da89aae24bb1b0e67
MD5 397c8a37187ea669b429cb6e5b067ed6
BLAKE2b-256 8217f8f684e00c4e42c76fc2153790a639977e5668f8c02dae8f2b84b9f19d81

See more details on using hashes here.

File details

Details for the file kraft_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: kraft_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","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 kraft_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0cdc01040a436532378f49085c6c81eb91be2c05a6edc9024b50f296406dd5e5
MD5 ccc5856c0f96f53e2aee2107d34786ff
BLAKE2b-256 b6191bda443422382460255611184f29e8e7ee630da9e6455c40342755a01ff4

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