Skip to main content

rn-forge-tooling

Documentation · Changelog · Source · All pykit packages

The lifecycle and install layer of the developer-tooling stack: for command-line tools that install themselves and manage their own versions. File generation, local state and templates live in rn-forge-commons.

Where rn-forge-commons is runtime-neutral — safe in a web server, a worker or a container — and rn-forge-cli is the command-line shape every application wants, this package is deliberately workstation-shaped: it assumes a developer's filesystem and a tool that owns files in it. It owns:

  • install — the tool lifecycle: $RNF_HOME layout (ToolHome), release sources and verification, archive extraction, the ToolProduct seam, and the transactional install/upgrade/uninstall/cleanup/status/doctor verbs.
  • cli — build_tool_app, which builds an rn-forge-cli application from a [cli] table and adds the lifecycle verbs declared in a [lifecycle] table.

A repository that only needs a command line takes rn-forge-cli and stops there. A package that ships into a deployed runtime (rn-forge-django, rn-forge-fastapi) must never depend on this package outside a codegen extra. Tooling may import cli and commons; neither may import tooling, and task lint proves it.

Install

Require the package by version range:

[project]
dependencies = ["rn-forge-tooling>=0.3,<0.4"]

rn-forge-cli and rn-forge-commons come with it, as version ranges. The testing extra installs assertpy and pytest.

Minimum example

# cli.toml
[cli]
name = "golden-tool"
help = "A tool that manages its own install."

[lifecycle]
product = "golden_tool.product:PRODUCT"
from pathlib import Path

from rn_forge.tooling.cli.lifecycle import build_tool_app

app = build_tool_app(Path(__file__).parent / "cli.toml")

Errors

install and upgrade roll back on failure and re-raise as an AppException whose message says "rolled back" only when every undo step succeeded; otherwise it names each failed step. An interruption is re-raised as is after recovery.

Maintainer commands are in the development guide.

Metadata

Release files for rn-forge-tooling 0.4.0

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

Source distribution (sdist)

Source distribution for rn-forge-tooling 0.4.0
File Size Uploaded Provenance Actions
rn_forge_tooling-0.4.0.tar.gz 22.1 kB With provenance Details for rn_forge_tooling-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rn-forge-tooling 0.4.0
File Interpreter ABI Platform Actions
rn_forge_tooling-0.4.0-py3-none-any.whl Python 3 none any Details for rn_forge_tooling-0.4.0-py3-none-any.whl

Total release size: 48.6 kB

Release files / rn_forge_tooling-0.4.0.tar.gz

Download URL rn_forge_tooling-0.4.0.tar.gz
Size 22.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1d8ef6dc8fb19fc915c6a64d3dd5b4c02f53d01e889a59934eb8aa6f9da18238
BLAKE2b-256 checksum
How to use checksums
53dad869cc4e721632716012ab47633cb3213a8f3ad7ee0da58104c6c6f1f4b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

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 21, 2026.

Transparency log

Release files / rn_forge_tooling-0.4.0-py3-none-any.whl

Download URL rn_forge_tooling-0.4.0-py3-none-any.whl
Size 26.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b22b1332656f79204e0fac99ac9006d5036ccbf611dffd3236e2ae4fc74d1b1d
BLAKE2b-256 checksum
How to use checksums
e0c17719fa17cb99c5c236cb72a0f426f23919bbf14c0a50dc1a8e32baeac47e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

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 21, 2026.

Transparency log

Security for rn-forge-tooling 0.4.0

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 rn_forge_tooling-0.4.0.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 21, 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