Bienvenido a pyflowcl
pyflowcl es una biblioteca de Python que proporciona una interfaz para interactuar con la API de Flow en Chile. Con pyflowcl, puedes realizar diversas operaciones, como crear pagos, obtener información de pagos, realizar reembolsos y más.
Instalación
Para instalar pyflowcl, asegúrate de tener Python instalados. Luego, puedes instalar la biblioteca utilizando tu administrador favorito.
Uso Básico
Aquí hay un ejemplo básico de cómo usar pyflowcl para crear un pago:
from pyflowcl import Payment
from pyflowcl.Clients import ApiClient
api = ApiClient(
api_url="https://www.flow.cl/api",
api_key="tu_api_key",
api_secret="tu_api_secret",
)
pago = {
"subject": "Asunto Email",
"commerceOrder": "1234",
"amount": 5000,
"email": "mariofix@pm.me",
"urlConfirmation": "https://mariofix.com",
"urlReturn": "https://mariofix.com",
}
llamada = Payment.create(api, pago)
print(f"{llamada = }")
> llamada = { "flowOrder": 123456, "url": "https://www.flow.cl/app/pay.php", "token": "tok_123456" }
# Obtiene la URL de pago
print(f"URL de pago: {pago.url}?token={pago.token}")
> URL de pago: https://www.flow.cl/app/pay.php?token=tok_123456
Documentación
Para obtener más información sobre cómo usar pyflowcl y todas las funcionalidades disponibles, consulta la documentación completa en https://mariofix.github.io/pyflowcl.
Contribuir
¡Tú contribución es bienvenida! Si encuentras errores, tienes sugerencias o deseas agregar nuevas características, por favor, crea un problema o envía una solicitud de extracción en el repositorio de GitHub: Repositorio de pyflowcl.
Licencia
Pyflowcl se distribuye bajo la Licencia MIT. Consulta el archivo LICENSE para obtener más información.
Metadata
Release files for pyflowcl 2026.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyflowcl-2026.5.0.tar.gz | 9.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyflowcl-2026.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.4 kB
Release files / pyflowcl-2026.5.0.tar.gz
| Download URL | pyflowcl-2026.5.0.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b4d48c6aaf90aab6b308e752248a072b85af79fda40497e5c929b9c8e0705bc3
|
|
BLAKE2b-256 checksum How to use checksums |
3ffb2400e8849cebd0cbdcf38081277b837f673f6b9181ce6823204de809dff9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 24, 2026.
Transparency logRelease files / pyflowcl-2026.5.0-py3-none-any.whl
| Download URL | pyflowcl-2026.5.0-py3-none-any.whl |
|---|---|
| Size | 10.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
29528c72d0d9d1e655e05415bdc9c85e0d2e5f5f685ffa63704a1d52ed4c9ea7
|
|
BLAKE2b-256 checksum How to use checksums |
aa1095b905e5cd8c4c5a6b2211921930d4e0f8a74db3726ef7381cf67daf00a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 24, 2026.
Transparency log