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.2.tar.gz (29.0 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.2-py3-none-any.whl (61.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: simple_module_cli-0.0.2.tar.gz
  • Upload date:
  • Size: 29.0 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.2.tar.gz
Algorithm Hash digest
SHA256 a099cee599f8ea36187f0ff1e2ae8b8bc7503a130fd29ca266d105a054bc27d7
MD5 5af10faa1abe6e777ff2d6a1b1304f3a
BLAKE2b-256 4aa193b7d2ba556d6574cf2de9b7e266d7f747e5c5da5b76ddb4e5fbf95b9dba

See more details on using hashes here.

Provenance

The following attestation bundles were made for simple_module_cli-0.0.2.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.2-py3-none-any.whl.

File metadata

File hashes

Hashes for simple_module_cli-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 acc15f6003a9cf47dad3a064721f740e64dba434f4120ea948ecb551c2c2de63
MD5 9c7b834ce2b17a04627184e91804d2f9
BLAKE2b-256 0f2f1eb795d3641dbbe64cdae9508ecc8c09fe48e735b0238d2b41e0a0d19fed

See more details on using hashes here.

Provenance

The following attestation bundles were made for simple_module_cli-0.0.2-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