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 .

Uso Básico

Como módulo (CLI)

python -m agi_steps

Como biblioteca

from agi_steps import hello
print(hello())  # "Hello from agi-steps!"

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: list[str], step_setting: str) -> str: Recupera configurações de uma etapa.
  • get_active_steps(steps: dict) -> list[str]: Lista etapas ativas.

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.7.tar.gz (5.8 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.7-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file agi_steps-0.1.7.tar.gz.

File metadata

  • Download URL: agi_steps-0.1.7.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.3

File hashes

Hashes for agi_steps-0.1.7.tar.gz
Algorithm Hash digest
SHA256 534635066386c0b0d5108e0816736bf5493d6d602665a7b9508f33dca45bc0f3
MD5 4a3e4b148eccad19e4374faf7a1a89c7
BLAKE2b-256 4515eeac5bc5b84cca8aa4d02e6fb0bd433bdf8359a06c6188b5e131b2434eb4

See more details on using hashes here.

File details

Details for the file agi_steps-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: agi_steps-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.3

File hashes

Hashes for agi_steps-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c68cdff040666d6bc128b9ff6487485f10e9079cc44d9ac736ba305159adef01
MD5 21ccc766002063ad2d3258234de058b0
BLAKE2b-256 fb78ce658337cd0b1fd0545b0d781588302f4f357cb7fee5665d9dd1ad2650c7

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