Python package and CLI 1.2.1
PyRel 1.2.1 adds several new CLI commands and features for managing configuration profiles.
How to install this version
Review the changes below before installing. To install this version, activate a compatible Python virtual environment and run:
python -m pip install "relationalai==1.2.1"For the latest installation instructions, see Start building with PyRel.
New Features and Enhancements
Section titled “New Features and Enhancements”-
PyRel now makes configuration profiles easier to use from the CLI:
- You can override the active profile for a single CLI command using the
--profileoption or theRAI_PROFILEenvironment variable. - Use new CLI commands to manage profiles:
rai config profilesto list available profilesrai config currentto check which profile is activerai config useto change theactive_profilein your config file
- You can override the active profile for a single CLI command using the
-
The CLI also gives clearer feedback when:
- No profile is selected
- A requested profile does not exist
- An environment override takes precedence over the
active_profilein your config