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
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
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
pymnz-0.2.3-py3-none-any.whl
(19.4 kB
view details)
File details
Details for the file pymnz-0.2.3-py3-none-any.whl.
File metadata
- Download URL: pymnz-0.2.3-py3-none-any.whl
- Upload date:
- Size: 19.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75c114d4aa2b5927ce51d01c03c0428fe44278b7028c1cc4aa419dbd5f4ace59
|
|
| MD5 |
11401e46d6bfaa108cf14d9a801f3bb1
|
|
| BLAKE2b-256 |
b5b1b34f256eab4fb283801f0e9005a557df2f722bed8ba8ba1f8522eb84a692
|