Skip to main content

Standalone scaffolder for the SimpleModule framework — `sm new`, `sm create-module`, plugin host.

Project description

simple_module_cli

Standalone scaffolder for the SimpleModule framework.

Install

pip install simple_module_cli
# or, to keep the CLI in its own venv:
pipx install simple_module_cli
# or, to run it without installing:
uvx --from simple_module_cli sm new my-app

The package depends only on typer and tomlkit — installing it does not pull in FastAPI, SQLModel, or any other framework runtime.

Usage

sm new my-app                       # interactive wizard
sm new my-app --yes --preset full   # all built-in modules + background jobs
sm create-module my_feature         # scaffold a publishable module package
sm create-host bare-host            # scaffold a bare host (no opinionated wiring)

Built-in commands: sm new, sm create-host, sm create-module.

When other framework packages are installed, they contribute additional subcommands via the simple_module_cli.cli_plugins entry-point group:

Package Commands
simple_module_hosting sm host gen-pages, sm host sync-js-deps
simple_module_users sm users create-admin
simple_module_settings sm settings import-from-env

License

MIT — see 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

simple_module_cli-0.0.5.tar.gz (61.1 kB view details)

Uploaded Source

Built Distribution

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

simple_module_cli-0.0.5-py3-none-any.whl (99.3 kB view details)

Uploaded Python 3

File details

Details for the file simple_module_cli-0.0.5.tar.gz.

File metadata

  • Download URL: simple_module_cli-0.0.5.tar.gz
  • Upload date:
  • Size: 61.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for simple_module_cli-0.0.5.tar.gz
Algorithm Hash digest
SHA256 a508daeaf3715658a66f9f01b4da3e9579f52367659565e4eece0f32704bedd1
MD5 e5e097cb2180082929b52a36e0f55974
BLAKE2b-256 66533d66003b76f62a5a726bbf7cfb9451f17660d6bd4e1a80c479dcfa21bf02

See more details on using hashes here.

Provenance

The following attestation bundles were made for simple_module_cli-0.0.5.tar.gz:

Publisher: release.yml on antosubash/simple_module_python

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

File details

Details for the file simple_module_cli-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for simple_module_cli-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 66b39117e2fc774f4ebcb2df53326030fe2a03ac91c3894492c5908546145386
MD5 6ea8a3b23cc5b7687d7781ff0db523b0
BLAKE2b-256 aa7893e589f833aee58b57bb77c1753f190f06165e96ad4cf3a7ddcdb2451b3e

See more details on using hashes here.

Provenance

The following attestation bundles were made for simple_module_cli-0.0.5-py3-none-any.whl:

Publisher: release.yml on antosubash/simple_module_python

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