Framework para gerenciamento e execução de etapas (steps) configuráveis em Python. Permite organizar scripts em grupos, ativar/desativar etapas e customizar configurações via dicionários.
Project description
agi-steps
Framework para gerenciamento e execução de etapas (steps) configuráveis em Python.
Descrição
O agi-steps permite organizar scripts em grupos, ativar/desativar etapas e customizar configurações via dicionários. Ideal para pipelines, automações e fluxos de trabalho flexíveis.
Instalação
pip install agi-steps
Uso Básico
Como módulo (CLI)
python -m agi_steps
Como biblioteca
from agi_steps.steps import create_steps
steps_dict = {
# Defina suas etapas aqui
}
grupos = create_steps(steps_dict)
Principais Funções
create_steps(steps: dict) -> dict[list]: Cria grupos de etapas a partir de um dicionário de configuração.sorts_steps(steps: list[str]) -> list[str]: Ordena etapas.get_step_settings(steps: dict, step_setting: str) -> str: Recupera configurações de uma etapa.get_active_steps(steps: dict) -> list[str]: Lista etapas ativas.get_group_config(steps: dict, group_name: str) -> dict: Retorna configurações de um grupo.get_available_steps_groups(steps: dict) -> dict[list]: Lista grupos disponíveis de etapas.create_json_file(group: str, steps: list[dict], parallelism: bool = False) -> None: Gera arquivos JSON das etapas.
Requisitos
- Python >= 3.11
- tomli >= 2.2.1
Licença
MIT
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agi_steps-0.1.9.tar.gz.
File metadata
- Download URL: agi_steps-0.1.9.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04545b3eab6685c316d5249f92e8df2978491af04671619e62c47b2e12e7a152
|
|
| MD5 |
2597eedf560d926c5ba5743e354b099d
|
|
| BLAKE2b-256 |
5597cdec6cb511f28654626c554d546f03f474da7ae26ad0997086bee15e15e1
|
File details
Details for the file agi_steps-0.1.9-py3-none-any.whl.
File metadata
- Download URL: agi_steps-0.1.9-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ce59afaf62ab3167e85052408b6e6dc9427fbb79f8c854cd4d0f81e405bcfeb
|
|
| MD5 |
64b2d280c2639f95e18d71aef3af2ea2
|
|
| BLAKE2b-256 |
b59285a1fb7aff211ef1baf2c5d720f630565437093a27ba80dc51032aabf306
|