Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

rbtr-lang-python

Python support for rbtr. A default plugin — installed with rbtr itself (pip install rbtr).

What it ingests

  • Functions & methods — def / async def; methods are scoped to their enclosing class.
  • Classes — class definitions (which also form a scope for their members).
  • Variables — module-level assignments, including flat tuple unpacking. Function locals and class attributes stay within their enclosing chunk.
  • Imports — import and from … import (relative, aliased, multi-name) → import chunks with resolved module + names, for cross-file edges.

A symbol's docstring (the leading """…""") is folded into its chunk content.

Chunks produced

def greet(name): ...  # function "greet"


class User:  # class "User"
    def save(self): ...  #   method "save", scope "User"


MAX = 100  # variable "MAX"
from .utils import helper  # import, metadata {module: ".utils", names: "helper"}

Embedded / injected chunks

None of its own — Python is embedded by Markdown fenced code blocks, which delegate ```python blocks here.

Grammar & dependencies

Uses the tree-sitter-python grammar. No dependency on other language plugins.

Metadata

Release files for rbtr-lang-python 2026.9.0.dev0

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

Built distribution (wheel)

Table of built distributions (wheels) for rbtr-lang-python 2026.9.0.dev0
File Interpreter ABI Platform
rbtr_lang_python-2026.9.0.dev0-py3-none-any.whl Python 3 none any Details

Release files / rbtr_lang_python-2026.9.0.dev0-py3-none-any.whl

Download URL rbtr_lang_python-2026.9.0.dev0-py3-none-any.whl
Size 20.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b09e0e6bef555b3bd6efdf6122eac15934057059919f78e2b4cb559b3eb47a6d
BLAKE2b-256 checksum
How to use checksums
72079ccd2ab1fc04649e968ecae99ff242db1726c163df9062afecff121f903f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
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