Skip to main content

Validate and generate the control digit of a CLABE in Mexico

Project description


test codecov PyPI

Librería para validar y calcular un número CLABE basado en


Python 3.6 o superior.


Se puede instalar desde Pypi usando

pip install clabe


Para ejecutar las pruebas

$ make test

Uso básico

Obtener el dígito de control de un número CLABE

import clabe

Para validar si un número CLABE es válido

import clabe

Para obtener el banco a partir de 3 dígitos

import clabe

Para generar nuevo válido CLABES

import clabe
clabe.generate_new_clabes(10, '002123456')

Project details

Download files

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

Files for clabe, version 1.2.2
Filename, size File type Python version Upload date Hashes
Filename, size clabe-1.2.2-py3-none-any.whl (8.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size clabe-1.2.2.tar.gz (5.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page