Skip to main content

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


Download files

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

Source Distribution

agi_steps-0.1.9.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agi_steps-0.1.9-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

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

Hashes for agi_steps-0.1.9.tar.gz
Algorithm Hash digest
SHA256 04545b3eab6685c316d5249f92e8df2978491af04671619e62c47b2e12e7a152
MD5 2597eedf560d926c5ba5743e354b099d
BLAKE2b-256 5597cdec6cb511f28654626c554d546f03f474da7ae26ad0997086bee15e15e1

See more details on using hashes here.

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

Hashes for agi_steps-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 5ce59afaf62ab3167e85052408b6e6dc9427fbb79f8c854cd4d0f81e405bcfeb
MD5 64b2d280c2639f95e18d71aef3af2ea2
BLAKE2b-256 b59285a1fb7aff211ef1baf2c5d720f630565437093a27ba80dc51032aabf306

See more details on using hashes here.

Supported by

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