https://github.com/erfan-rfmhr/command-processor
Run your commands on remote server
https://github.com/erfan-rfmhr/command-processor
python socket zmq
Last synced: over 1 year ago
JSON representation
Run your commands on remote server
- Host: GitHub
- URL: https://github.com/erfan-rfmhr/command-processor
- Owner: erfan-rfmhr
- License: mit
- Created: 2023-04-25T18:54:55.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-01T19:12:58.000Z (about 3 years ago)
- Last Synced: 2025-02-13T15:40:54.564Z (over 1 year ago)
- Topics: python, socket, zmq
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# command-processor
Run your commands and do math on remote server.
## Installation
```git clone && cd command-processor && pip install -r requirements.txt```
Make a .env file and add the following variable:
```SERVER_ENDPOINT=```
Server endpoint format should be like this: ```tcp://host:port```
## Usage
Run ```python server.py``` to establish the connection.
Run ```python client.py ``` to send commands to the server.
The file should contain the commands to be executed on the server (in json format according to command.json).