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 —
importandfrom … 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
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rbtr_lang_python-2026.9.0.tar.gz | 14.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rbtr_lang_python-2026.9.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 35.7 kB
Release files / rbtr_lang_python-2026.9.0.tar.gz
| Download URL | rbtr_lang_python-2026.9.0.tar.gz |
|---|---|
| Size | 14.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1425a178cdec262144153a942261769a326776a57efba79a41f1ddf1f6aa6871
|
|
BLAKE2b-256 checksum How to use checksums |
5568330ef724411f64699619e28dc753f164516a08f5e238f081c88da3c45cce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / rbtr_lang_python-2026.9.0-py3-none-any.whl
| Download URL | rbtr_lang_python-2026.9.0-py3-none-any.whl |
|---|---|
| Size | 20.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f7c055081562f705a997beecf64f33fec56d97dbf89dfc8f182741967f7e0a91
|
|
BLAKE2b-256 checksum How to use checksums |
b296a8e89199c76f82ece85bb3df2a4c542e48918c6ec265c03d6811a4cb3216
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|