No project description provided
Project description
Python Process Ececutor
Эта микросервис запускающий bash скрипты.
Скрипты беруться только из Git.
Скрипты выполняются в своем виртуальном окружении.
Пример конфига для процесса
{
"workplan_id": "821e40ee-d3c9-41da-85d2-d12d5183998a",
"name": "1",
"command": [
"{executable}", "./scripts/yandex_direct_export_to_file.py", "--body_filepath", "./scripts/body-clients.json", "--filepath", "clients.tsv", "--resource", "clients", "--token", ""
],
"git": {
"url": "https://github.com/pavelmaksimov/tapi-yandex-direct"
},
"venv": {
"version": "3.7",
"requirements": [
"tapi_yandex_direct"
]
},
"time_limit": 100,
"expires_utc": "2023-01-16T15:15:54.818Z",
"save_stdout": false,
"save_stderr": true
}
Run
Set environment variable PROCESS_EXECUTOR_HOME
process_executor --help
process_executor
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
process_executor-0.0.1.tar.gz
(15.2 kB
view details)
Built Distribution
File details
Details for the file process_executor-0.0.1.tar.gz
.
File metadata
- Download URL: process_executor-0.0.1.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.11.0 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b273a0d24dab57dedde9b840a63739758122cc6153d3b9674feeec2a9136861c |
|
MD5 | 428c1f589959af4a29c07ad6d7cf8af7 |
|
BLAKE2b-256 | c55441a2506a446288b606be314bc077afc80032f256f82ddb135f06d8145c56 |
File details
Details for the file process_executor-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: process_executor-0.0.1-py3-none-any.whl
- Upload date:
- Size: 23.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.11.0 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78a82ad6595f56106f69fabd9dbe061fb5c0bb97081538ffd27741a31e7a980c |
|
MD5 | 29647696cf55911785d01dce06ba1180 |
|
BLAKE2b-256 | aeb9bb1c129d2322d1a017edf1b9bba7d41d5d2936268ba4f6ab2fd99807999a |