{"library":"prerun","title":"Prerun","description":"Prerun is a Python utility to run commands before another process starts, commonly used for environment setup, health checks, or dependency injection. Current version 1.1.3, released 2024, with occasional updates.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install prerun"],"cli":{"name":"prerun","version":"No server detected; use argument `-s <PRELOADER>` to start a server."}},"imports":["import prerun"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import prerun\n\n# Define a command to run before the main process\nprerun.run(['echo', 'Pre-run setup complete'])\n\n# Main process continues after prerun completes\nprint('Main process starting')","lang":"python","description":"Basic usage: prerun.run() executes a command sequentially before continuing.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}