Skip to main content

app-startcli

app-startcli is a secure Python app launcher toolkit focused on three startup problems that appear in many real projects:

  • how to load encrypted configuration safely
  • how to standardize startup commands for development and production
  • how to bootstrap a reusable CLI instead of rewriting startup boilerplate in every repository

It is especially useful for projects that want a secure startup flow, encrypted env loading, and a reusable app bootstrap CLI.

Install

pip install app-startcli

Package name vs import name vs command

  • PyPI package name: app-startcli
  • Python import name: start_cli
  • Installed command: start-cli
from start_cli import EncryptedConfig, ConfigLoader, AppSettings, create_cli

What it provides

  • encrypted config storage via EncryptedConfig
  • smart config loading with ConfigLoader and load_config
  • reusable Click CLI bootstrap via create_cli
  • environment-aware settings via AppSettings
  • helper utilities for masking secrets and maintaining .gitignore
  • optional interactive terminal menu support

Why this package exists

Many Python projects have startup logic scattered across shell scripts, ad-hoc .env loaders, and custom CLI glue.

app-startcli pulls those responsibilities into one reusable package so you can:

  • keep sensitive defaults out of source control
  • enforce CLI args > process env > config defaults
  • share one startup pattern across multiple apps
  • provide a cleaner onboarding experience for developers and operators

Quick example

from start_cli import EncryptedConfig, create_cli

cfg = EncryptedConfig.create("config.env", password="example-password")
cfg["API_TOKEN"] = "example-token"
cfg.save()


def start_app() -> None:
    print("app started")


cli = create_cli(
    app_name="My Project",
    app_callable=start_app,
    required_envs={"API_TOKEN": "API token"},
)

Metadata

Release files for app-startcli 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for app-startcli 1.0.3
File Size Uploaded Provenance
app_startcli-1.0.3.tar.gz 36.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for app-startcli 1.0.3
File Interpreter ABI Platform
app_startcli-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 77.3 kB

Release files / app_startcli-1.0.3.tar.gz

Download URL app_startcli-1.0.3.tar.gz
Size 36.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e7ac5103e41df20c78eefdc5adddf8d6af66794851f4eeb828de6f4c0c6da065
BLAKE2b-256 checksum
How to use checksums
c06f94043bca0250ff9b49e31217900eb5ea4136d7aea32c5067a5d481fd8b57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.7

Release files / app_startcli-1.0.3-py3-none-any.whl

Download URL app_startcli-1.0.3-py3-none-any.whl
Size 41.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e8c466dab4a8b340599ce3aa8413c180c662a0cb64e52ee3cdb3f2ece2409d68
BLAKE2b-256 checksum
How to use checksums
7f01fa38aa357aa925a6a9aedea97e9d9c9d40350d71dca87758bbee53fb811c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.7

Security for app-startcli 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page