Skip to main content

Validate and generate the control digit of a CLABE in Mexico

Project description

CLABE

Build Status

Librería para validar y calcular un número CLABE basado en https://es.wikipedia.org/wiki/CLABE

Requerimientos

Python v3 o superior.

Instalación

Se puede instalar desde Pypi usando

pip install clabe

Test

Para ejecutar los test utlizando el archivo Makefile

$ make test

Uso básico

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

import clabe

clabe.compute_control_digit(clabe_number)

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

import clabe

clabe.validate_clabe(clabe_number)

Para obtener el banco a partir de 3 dígitos

import clabe

clabe.get_bank_name('002')

Project details


Download files

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

Source Distribution

clabe-0.0.2.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

clabe-0.0.2-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page