Skip to main content

A simple framework to handle complex scripts.

Project description

Ambrogio

A simple framework to handle complex scripts.

Installation

To install Ambrogio, run the following command:

pip install ambrogio

Usage

Create a new project

To create a new project, run the following command:

ambrogio init

You will be prompted to enter the name of the project.

This will create a new folder with the following structure:

.
├── ambrogio.ini
└── procedures

The ambrogio.ini file is the configuration file for the project. It contains the following sections:

[settings]
procedure_module = procedures

The procedure_module is the name of the folder where the procedures are stored.

Create a new procedure

To create a new procedure, run the following command:

ambrogio create

You will be prompted to enter the name and the type of the procedure. The procedure will be created in the procedures folder.

Run a procedure

To run a procedure, run the following command:

ambrogio start

You will be prompted to select the procedure to execute.

Procedure types

Basic procedure

A basic procedure is a procedure that contains a single execution function.

Step procedure

A step procedure is a procedure that contains multiple execution functions. Each execution function is called a step.

Step can be executed in parallel and in sequence.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ambrogio-0.4.4.tar.gz (12.8 kB view hashes)

Uploaded Source

Built Distribution

ambrogio-0.4.4-py3-none-any.whl (15.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page