Coder Social home page Coder Social logo

kubataba1uga / python_script_executor Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 263 KB

Tool for executing scripts on GNU/LINUX. Redirects input. Recognizes errors.

Shell 2.06% Python 97.94%
scripts orchestration-framework bash-scripting script-executor script-runner

python_script_executor's Introduction

PyTest codecov

Requirements

  1. Python >=3.9
  2. Poetry

Python 3.9.8 installation:

cd .prep
/bin/bash install_python3_9.sh

Poetry installation:

python3 -m pip install poetry

App description

Python Script Executor organize scripts in order and executes them.

In case of output or error, output controller perform desired actions.

If script return non 0 exit code, app stop another scripts execution and ask You about desired action.

Tested scripts interpreters:

- bash
- python

App installation

Execute below command inside repository directory:

python3 -m poetry install --no-dev

App usage

Copy scripts You would like to execute to <repository_location>/scripts directory.

To order scripts add numbers preceded by _ to their names ends. If numbers are missing scripts will be executed randomly.

Script Name Examples:

script_0.sh
update-apt-get_1.sh
update-upgrade_2.sh

To start app with default settings use:

python3 -m poetry run python start.py

To show help use:

python3 -m poetry run start.py -h

python_script_executor's People

Contributors

kubataba1uga avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.