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.50

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.50
File Size Uploaded Provenance Actions
simple_module_remote-0.0.50.tar.gz 98.7 kB With provenance Details for simple_module_remote-0.0.50.tar.gz

Built distribution (wheel)

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

Total release size: 178.1 kB

Release files / simple_module_remote-0.0.50.tar.gz

Download URL simple_module_remote-0.0.50.tar.gz
Size 98.7 kB
Tags Source
SHA-256 checksum
How to use checksums
dc8ff835f7eabedd623a9459fb00ccd72a575ce02b1717a8abea5029201775f1
BLAKE2b-256 checksum
How to use checksums
d71555faee1dab24555c10f5f1544be810d3b69c63ac12e4a30fe6dcd23de62c
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 Nov 28, 2026.

Transparency log

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

Download URL simple_module_remote-0.0.50-py3-none-any.whl
Size 79.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
05e224a4495c9027b1ba077f8a2811a2538655ca1221d7273e4010f57c4488df
BLAKE2b-256 checksum
How to use checksums
13b702248a229b2d2f6a4b2d99f4b70b670f1001ab920298adaa1bc422eb07a1
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 Nov 28, 2026.

Transparency log

Security for simple-module-remote 0.0.50

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.50.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 Nov 28, 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