- Install Python 3.7
- [Optional] Install virtualenv
python3 -m pip install --user virtualenv - Clone this repository
- [Optional] Setup python virtual environment
python3 -m venv venv - [Optional] Activate virtual environment
source venv/bin/activate
pip install -r requirements.txt
Execute the script of choice and pass the environment variables
HOST=<host_name> VPN=<vpn_name> SOL_USERNAME=<username> SOL_PASSWORD=<password> python <name_of_file>.py
- Python Virtual environments are recommended to keep your project dependencies within the project scope and avoid polluting global python packages
- Solace hostname, username, message vpn, and password are obtained from your Solace cloud account
- If you are reading this and the Solace Python API is still not published, you can install the wheel package from the Solace Community
- Add loop for publisher message rate