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

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.51
File Size Uploaded Provenance Actions
simple_module_remote-0.0.51.tar.gz 136.3 kB With provenance Details for simple_module_remote-0.0.51.tar.gz

Built distribution (wheel)

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

Total release size: 245.3 kB

Release files / simple_module_remote-0.0.51.tar.gz

Download URL simple_module_remote-0.0.51.tar.gz
Size 136.3 kB
Tags Source
SHA-256 checksum
How to use checksums
401959767f56f72eac4dd5c1f036391f4e3e3c0dfa6d6a065b46092cf0854d29
BLAKE2b-256 checksum
How to use checksums
891d93166f5082af8b3680cf31fc1d8390ed5974faa1e61c119a3495a57aa711
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 29, 2026.

Transparency log

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

Download URL simple_module_remote-0.0.51-py3-none-any.whl
Size 109.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9084d74e5de1a7046526a5ef8d5bf0d4300833d7ca2e3ba7aec370b3d0151b93
BLAKE2b-256 checksum
How to use checksums
c4a2d979d2562761b3bbb8d957353a4ad96e2858b4aeb8d74b60e96063815454
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 29, 2026.

Transparency log

Security for simple-module-remote 0.0.51

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.51.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 29, 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