Skip to main content

Uma biblioteca para facilitar a criação de scripts de automações com Python

Project description

pymnz

Biblioteca para facilitar a criação de scripts de bot e automações em Python.

Instalação

pip install pymnz


# USO BÁSICO
import pymnz


def soma(a, b):
    result = a + b
    print(f"A soma de {a} + {b} é {result}.")
    return result


def subtracao(a, b):
    result = a - b
    print(f"A subtração de {a} - {b} é {result}.")
    return result


if __name__ == "__main__":
    function_executor = pymnz.models.FunctionExecutor()
    function_executor.add_function(soma)
    function_executor.execute_all(b=1, a=2)
    function_executor.clear_results()

    # Executar funções
    function_executor.add_function(subtracao)
    function_executor.execute_all(10, 11)
    function_executor.clear_results()

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

pymnz-0.2.6-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

Details for the file pymnz-0.2.6-py3-none-any.whl.

File metadata

  • Download URL: pymnz-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 19.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for pymnz-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 bac2e50b999de7763fbfb5be67799bd4cdd41c08e02ac9a6b8ba85d0177daece
MD5 fe0fb35ef43c6817dab8b01f4ae7964f
BLAKE2b-256 f551301ab9e194f43533c19e10698ecd18b0278ed1847bba6243e0d5f4a3a6f8

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