-
Notifications
You must be signed in to change notification settings - Fork 0
en Running Locally
rootfabric edited this page Jun 5, 2026
·
4 revisions
You will need the library to work:
If you need changes that are already in the Git repository but have not yet been published to PyPI, install the library directly from GitHub:
pip install git+https://github.com/rootfabric/secontrol.gitFor local development, clone the repository and install it in editable mode so your local code changes are used immediately:
git clone https://github.com/rootfabric/secontrol.git
cd secontrol
pip install -e .Variables can be defined in the .env file in the root of the project or system.
Variable values must be obtained in the personal account on the page https://www.outenemy.ru/se/
| Variable | Purpose |
|---|---|
REDIS_USERNAME |
Username for authorization. |
REDIS_PASSWORD |
Password for connection. |
Quick code to check operation:
from secontrol.common import prepare_grid
#First player's grid
grid = prepare_grid()
#Devices on the grid
print(", ".join((d.name or f"{d.device_type}:{d.device_id}") for d in grid.devices.values()) or "(no devices)")Ready-made scripts are located in the examples directory.