Name | clabe JSON |
Version |
1.2.12
JSON |
| download |
home_page | https://github.com/cuenca-mx/clabe |
Summary | Validate and generate the control digit of a CLABE in Mexico |
upload_time | 2023-12-27 00:17:40 |
maintainer | |
docs_url | None |
author | Cuenca |
requires_python | |
license | |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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/main/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/)
[![Downloads](https://pepy.tech/badge/clabe)](https://pepy.tech/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')
```
Raw data
{
"_id": null,
"home_page": "https://github.com/cuenca-mx/clabe",
"name": "clabe",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Cuenca",
"author_email": "dev@cuenca.com",
"download_url": "https://files.pythonhosted.org/packages/74/f0/d35577c76082f7846de495d668e1a71bd05d7b0f7e5f1615868c482181f4/clabe-1.2.12.tar.gz",
"platform": null,
"description": "# CLABE\n\n[![test](https://github.com/cuenca-mx/clabe-python/workflows/test/badge.svg)](https://github.com/cuenca-mx/clabe-python/actions?query=workflow%3Atest)\n[![codecov](https://codecov.io/gh/cuenca-mx/clabe-python/branch/main/graph/badge.svg)](https://codecov.io/gh/cuenca-mx/clabe-python)\n[![PyPI](https://img.shields.io/pypi/v/clabe.svg)](https://pypi.org/project/clabe/)\n[![Downloads](https://pepy.tech/badge/clabe)](https://pepy.tech/project/clabe)\n\nLibrer\u00eda para validar y calcular un n\u00famero CLABE basado en\nhttps://es.wikipedia.org/wiki/CLABE\n\n## Requerimientos\n\nPython 3.6 o superior.\n\n## Instalaci\u00f3n\n\nSe puede instalar desde Pypi usando\n\n```\npip install clabe\n```\n\n## Pruebas\n\nPara ejecutar las pruebas\n\n```\n$ make test\n```\n\n## Uso b\u00e1sico\n\nObtener el d\u00edgito de control de un n\u00famero CLABE\n\n```python\nimport clabe\nclabe.compute_control_digit('00200000000000000')\n```\n\nPara validar si un n\u00famero CLABE es v\u00e1lido\n\n```python\nimport clabe\nclabe.validate_clabe('002000000000000008')\n```\n\nPara obtener el banco a partir de 3 d\u00edgitos\n\n```python\nimport clabe\nclabe.get_bank_name('002')\n```\n\nPara generar nuevo v\u00e1lido CLABES\n\n```python\nimport clabe\nclabe.generate_new_clabes(10, '002123456')\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "Validate and generate the control digit of a CLABE in Mexico",
"version": "1.2.12",
"project_urls": {
"Homepage": "https://github.com/cuenca-mx/clabe"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "49a8179d71d07ac7a4b0e7c9d3a639b75a4e5c4ecbd21a3fefb3e5faca180553",
"md5": "ef8f32d605181ba6f85d87db97ecd7be",
"sha256": "1662a4019c1ddc122a6d6fb93756afc77678cb0c3d51bd9184020a3e65fc7059"
},
"downloads": -1,
"filename": "clabe-1.2.12-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ef8f32d605181ba6f85d87db97ecd7be",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 7903,
"upload_time": "2023-12-27T00:17:39",
"upload_time_iso_8601": "2023-12-27T00:17:39.168126Z",
"url": "https://files.pythonhosted.org/packages/49/a8/179d71d07ac7a4b0e7c9d3a639b75a4e5c4ecbd21a3fefb3e5faca180553/clabe-1.2.12-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "74f0d35577c76082f7846de495d668e1a71bd05d7b0f7e5f1615868c482181f4",
"md5": "18b0cb0d4e1a2001c5848af3639f6887",
"sha256": "34fd487fb1fda64e468a5ba63ffa5266994956f52375525d8fbaf198e97dca89"
},
"downloads": -1,
"filename": "clabe-1.2.12.tar.gz",
"has_sig": false,
"md5_digest": "18b0cb0d4e1a2001c5848af3639f6887",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6341,
"upload_time": "2023-12-27T00:17:40",
"upload_time_iso_8601": "2023-12-27T00:17:40.782503Z",
"url": "https://files.pythonhosted.org/packages/74/f0/d35577c76082f7846de495d668e1a71bd05d7b0f7e5f1615868c482181f4/clabe-1.2.12.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-27 00:17:40",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "cuenca-mx",
"github_project": "clabe",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "clabe"
}