Metadata-Version: 2.1
Name: clabe
Version: 1.2.0
Summary: Validate and generate the control digit of a CLABE in Mexico
Home-page: https://github.com/cuenca-mx/clabe
Author: Cuenca
Author-email: dev@cuenca.com
License: UNKNOWN
Description: # CLABE
        
        [![test](https://github.com/cuenca-mx/clabe-python/workflows/test/badge.svg)](https://github.com/cuenca-mx/clabe-python/actions?query=workflow%3Atest)
        [![codecov](https://codecov.io/gh/cuenca-mx/clabe-python/branch/master/graph/badge.svg)](https://codecov.io/gh/cuenca-mx/clabe-python)
        [![PyPI](https://img.shields.io/pypi/v/clabe.svg)](https://pypi.org/project/clabe/)
        
        Librería para validar y calcular un número CLABE basado en
        https://es.wikipedia.org/wiki/CLABE
        
        ## Requerimientos
        
        Python 3.6 o superior.
        
        ## Instalación
        
        Se puede instalar desde Pypi usando
        
        ```
        pip install clabe
        ```
        
        ## Pruebas
        
        Para ejecutar las pruebas
        
        ```
        $ make test
        ```
        
        ## Uso básico
        
        Obtener el dígito de control de un número CLABE
        
        ```python
        import clabe
        clabe.compute_control_digit('00200000000000000')
        ```
        
        Para validar si un número CLABE es válido
        
        ```python
        import clabe
        clabe.validate_clabe('002000000000000008')
        ```
        
        Para obtener el banco a partir de 3 dígitos
        
        ```python
        import clabe
        clabe.get_bank_name('002')
        ```
        
        Para generar nuevo válido CLABES
        
        ```python
        import clabe
        clabe.generate_new_clabes(10, '002123456')
        ```
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Provides-Extra: test
