Skip to main content

simple_module_remote

Client-only engine for a per-project command line over a simple_module app's REST API. It reads the app's OpenAPI schema, generates one command per operation, and handles environments, credentials, HTTP and output formatting. It never imports the server framework: it talks to a running app over HTTP only.

What it provides

  • Named environments (url, optional tenant, protected) stored in a per-CLI user config file, merged over an optional defaults file shipped with the project.

  • Environment selection by flag, <CLI>_ENV or the saved current environment.

  • Request safety rules: only /api/ paths, no credentials in URLs, plain http:// refused except for loopback hosts.

  • build_cli(name, schema_path, defaults_path): a click group with env, login, logout, whoami, doctor, schema, api, raw and one group per OpenAPI tag, generated from operations marked x-sm-token.

See docs/framework/remote-cli.md and docs/guide/project-cli.md.

Install

uv add simple_module_remote

Usage

The package is an engine, not a command. A project wraps it in its own CLI entry point, naming the CLI so that config lives in ~/.config/<cli>/ and environment variables use the <CLI>_ prefix.

from pathlib import Path

from simple_module_remote import build_cli

main = build_cli("my-app", Path("openapi.json"), None, version="1.0")

if __name__ == "__main__":
    main()

Metadata

Release files for simple-module-remote 0.0.52

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

Source distribution (sdist)

Source distribution for simple-module-remote 0.0.52
File Size Uploaded Provenance Actions
simple_module_remote-0.0.52.tar.gz 136.3 kB With provenance Details for simple_module_remote-0.0.52.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for simple-module-remote 0.0.52
File Interpreter ABI Platform Actions
simple_module_remote-0.0.52-py3-none-any.whl Python 3 none any Details for simple_module_remote-0.0.52-py3-none-any.whl

Total release size: 245.3 kB

Release files / simple_module_remote-0.0.52.tar.gz

Download URL simple_module_remote-0.0.52.tar.gz
Size 136.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7432834bf6fabd5b18a3d57f7ed33b699d2469af12b9a24919fcc11441d159b8
BLAKE2b-256 checksum
How to use checksums
76aad8da305e5d7a4b3c619b87c28e690ddeeadaffcf6b1eaada0d6cd4893047
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / simple_module_remote-0.0.52-py3-none-any.whl

Download URL simple_module_remote-0.0.52-py3-none-any.whl
Size 109.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea7f3ed54f87fe4ebf723e67b0ee74d3501c0adaa243d0041337624cb59e949b
BLAKE2b-256 checksum
How to use checksums
cff3561264b4e210ad9147e2a156148c2095e00357f6939cdbc8496ca682f3e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Security for simple-module-remote 0.0.52

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for simple_module_remote-0.0.52.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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