Skip to main content

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.

PyPI - Status Tests&Coverage Downloads Codacy Badge Codacy Badge pre-commit.ci status PyPI PyPI - Python Version PyPI - Implementation PyPI - License Code style: black

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)

Source distribution for pyflowcl 2026.5.0
File Size Uploaded
pyflowcl-2026.5.0.tar.gz 9.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyflowcl 2026.5.0
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

2026.5.0 This release

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page