Installation#

The package name is rsm-lang and is available via pypi,

$ pip install rsm-lang

Or, if you are using uv and already have a pyproject.toml file:

$ uv add rsm-lang

Checking your install#

To test whether the installation was successful you may execute

$ rsm --version

If you want to use RSM from a python script, you may import the library with

import rsm

Tip

The command

$ rsm render manuscript.rsm

is essentially equivalent to the following code

import rsm
with open("manuscript.rsm") as f:
    src = f.read()
print(rsm.render(src))