Python computing node for otl_interpreter
You need:
- python 3.9.7
- Install virtual environment from requirements.txt:
python3 -m venv ./venv source ./venv/bin/activate pip install -r ./requirements.txt - Configure computing_node.conf:
cp ./python_computing_node/rest.conf.example ./python_computing_node/rest.conf
- Deploy otl interpreter or just run kafka
- Launch python computing node server:
python ./python_computing_node/main.py
-
Create virtual environment for project:
make dev
-
Configure computing_node.conf.
-
To activate virtual environment:
conda activate ./venv
-
Deploy otl interpreter or just run kafka
-
Launch python computing node server:
python ./python_computing_node/main.py- Unpack tar archive to destination directory
- Create config
cp ./python_computing_node/computing_node.conf.example ./python_computing_node/computing_node.conf
- Unpack one or more execution environments in execution environment directory. For example see pp_exec_env
- Run
start.sh
- Conda
- python 3.9.7
And python packages:- aiokafka==0.7.2
- kafka-python==2.0.2
- aiohttp==3.8.1
- gunicorn==20.1.0
- bottle==0.12.19
We use SemVer for versioning. For the versions available, see the tags on this repository.
See the LICENSE.md file for details