Name | CURPSuite JSON |
Version |
2.6.1
JSON |
| download |
home_page | |
Summary | Análisis y validación de la CURP Mexicana |
upload_time | 2023-10-04 15:35:04 |
maintainer | |
docs_url | None |
author | |
requires_python | >=3.8 |
license | |
keywords |
curp
validation
analysis
mexico
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# CURP Suite
[![PyPI Version][version-badge]][pypi] [![Python versions][python-version-badge]][pypi] [![License: GPL v2][license-badge]][gnu] [![Build][build-badge]][actions] [![ReadTheDocs][docs-badge]][rtd] [![Total downloads][downloads-badge]][pepy]
**CURP Suite** es una librería de análisis y validación de la CURP Mexicana.
```python
>>> from curp import CURP
>>> c = CURP("SABC560626MDFLRN01")
>>> c.fecha_nacimiento
datetime.date(1956, 6, 26)
>>> c.sexo
<Sexo.MUJER: 2>
>>> c.entidad
'Ciudad de México'
>>> c.nombre_valido("Concepción")
True
```
CURP Suite te permite extraer toda la información que contiene una CURP de forma conveniente. Además, toda la validación es automática. CURP Suite está diseñado para dar soporte a toda la especificación oficial de la CURP.
También puede ser invocada desde la terminal
```bash
$ curp SABC560626MDFLRN01
{"curp": "SABC560626MDFLRN01", "sexo": 2, "fecha_nacimiento": "1956-06-26", "entidad_nacimiento": {"name": "Ciudad de México", "iso": "MX-CMX"}}
```
## Instalación
##### Desde PyPI
```bash
$ python3 -m pip install CURPSuite
```
CURP Suite soporta Python 3.8+.
## Características
- Extracción de datos
- Fecha de nacimiento como objeto `datetime.date`
- Sexo compatible con [ISO/IEC 5218][iso5218]
- Nombre y clave [ISO 3166-2][iso3166] de la entidad federativa de nacimiento
- Representación JSON de datos extraídos
- Validación con nombres y apellidos
- Validación con nombre completo
- Interfaz de Línea de Comandos
## Documentación
Disponible en https://curpsuite.readthedocs.io.
## Licencia
Este programa se distribuye bajo la licencia [GPLv2.0][license], más información en el sitio de la [Free Software Foundation][gnu].
<!-- MARKDOWN LINK REFERENCES -->
[iso5218]: https://en.wikipedia.org/wiki/ISO/IEC_5218 "ISO/IEC 5218"
[iso3166]: https://es.wikipedia.org/wiki/ISO_3166-2 "ISO 3166-2"
[git]: https://git-scm.com/ "Git"
[python]: https://www.python.org/ "Python.org"
[pipenv]: https://pipenv.pypa.io/en/latest/ "Pipenv"
[license]: LICENSE "General Public License"
[gnu]: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html "Free Software Foundation"
[pypi]: https://pypi.org/project/CURPSuite
[license-badge]: https://img.shields.io/github/license/jacobszpz/CURPSuite
[version-badge]: https://img.shields.io/pypi/v/CURPSuite
[python-version-badge]: https://img.shields.io/pypi/pyversions/CURPSuite
[build-badge]: https://img.shields.io/github/actions/workflow/status/jacobszpz/CURPSuite/integration.yml?branch=master
[actions]: https://github.com/jacobszpz/CURPSuite/actions
[docs-badge]: https://img.shields.io/readthedocs/curpsuite
[rtd]: https://curpsuite.readthedocs.io
[rtd-changelog]: https://curpsuite.readthedocs.io/es/latest/CHANGELOG.html
[downloads-badge]: https://static.pepy.tech/badge/curpsuite
[pepy]: https://pepy.tech/project/curpsuite
[pypi-stats]: https://pypistats.org/packages/curpsuite
Raw data
{
"_id": null,
"home_page": "",
"name": "CURPSuite",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "CURP,validation,analysis,Mexico",
"author": "",
"author_email": "Jacob S\u00e1nchez <jacobszpz@protonmail.com>",
"download_url": "https://files.pythonhosted.org/packages/af/2f/be7d50d110f9608a0cfab9f3021e4cd59b0b3adfef6a77f9ff53dce0468c/CURPSuite-2.6.1.tar.gz",
"platform": null,
"description": "# CURP Suite\n\n[![PyPI Version][version-badge]][pypi] [![Python versions][python-version-badge]][pypi] [![License: GPL v2][license-badge]][gnu] [![Build][build-badge]][actions] [![ReadTheDocs][docs-badge]][rtd] [![Total downloads][downloads-badge]][pepy]\n\n**CURP Suite** es una librer\u00eda de an\u00e1lisis y validaci\u00f3n de la CURP Mexicana.\n\n```python\n>>> from curp import CURP\n>>> c = CURP(\"SABC560626MDFLRN01\")\n>>> c.fecha_nacimiento\ndatetime.date(1956, 6, 26)\n>>> c.sexo\n<Sexo.MUJER: 2>\n>>> c.entidad\n'Ciudad de M\u00e9xico'\n>>> c.nombre_valido(\"Concepci\u00f3n\")\nTrue\n\n```\n\n\n\nCURP Suite te permite extraer toda la informaci\u00f3n que contiene una CURP de forma conveniente. Adem\u00e1s, toda la validaci\u00f3n es autom\u00e1tica. CURP Suite est\u00e1 dise\u00f1ado para dar soporte a toda la especificaci\u00f3n oficial de la CURP.\n\nTambi\u00e9n puede ser invocada desde la terminal\n\n```bash\n$ curp SABC560626MDFLRN01\n{\"curp\": \"SABC560626MDFLRN01\", \"sexo\": 2, \"fecha_nacimiento\": \"1956-06-26\", \"entidad_nacimiento\": {\"name\": \"Ciudad de M\u00e9xico\", \"iso\": \"MX-CMX\"}}\n```\n\n\n\n\n\n## Instalaci\u00f3n\n\n##### Desde PyPI\n\n```bash\n$ python3 -m pip install CURPSuite\n```\n\nCURP Suite soporta Python 3.8+.\n\n\n\n## Caracter\u00edsticas\n\n- Extracci\u00f3n de datos\n - Fecha de nacimiento como objeto `datetime.date`\n - Sexo compatible con [ISO/IEC 5218][iso5218]\n - Nombre y clave [ISO 3166-2][iso3166] de la entidad federativa de nacimiento\n- Representaci\u00f3n JSON de datos extra\u00eddos\n- Validaci\u00f3n con nombres y apellidos\n- Validaci\u00f3n con nombre completo\n- Interfaz de L\u00ednea de Comandos\n\n\n\n## Documentaci\u00f3n\n\nDisponible en https://curpsuite.readthedocs.io.\n\n\n\n## Licencia\n\nEste programa se distribuye bajo la licencia [GPLv2.0][license], m\u00e1s informaci\u00f3n en el sitio de la [Free Software Foundation][gnu].\n\n\n\n<!-- MARKDOWN LINK REFERENCES -->\n\n[iso5218]: https://en.wikipedia.org/wiki/ISO/IEC_5218 \"ISO/IEC 5218\"\n[iso3166]: https://es.wikipedia.org/wiki/ISO_3166-2 \"ISO 3166-2\"\n[git]: https://git-scm.com/\t\"Git\"\n[python]: https://www.python.org/ \"Python.org\"\n[pipenv]: https://pipenv.pypa.io/en/latest/ \"Pipenv\"\n[license]: LICENSE \"General Public License\"\n[gnu]: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html \"Free Software Foundation\"\n[pypi]: https://pypi.org/project/CURPSuite\n[license-badge]: https://img.shields.io/github/license/jacobszpz/CURPSuite\n[version-badge]: https://img.shields.io/pypi/v/CURPSuite\n[python-version-badge]: https://img.shields.io/pypi/pyversions/CURPSuite\n[build-badge]: https://img.shields.io/github/actions/workflow/status/jacobszpz/CURPSuite/integration.yml?branch=master\n[actions]: https://github.com/jacobszpz/CURPSuite/actions\n[docs-badge]: https://img.shields.io/readthedocs/curpsuite\n[rtd]: https://curpsuite.readthedocs.io\n[rtd-changelog]: https://curpsuite.readthedocs.io/es/latest/CHANGELOG.html\n[downloads-badge]: https://static.pepy.tech/badge/curpsuite\n[pepy]: https://pepy.tech/project/curpsuite\n[pypi-stats]: https://pypistats.org/packages/curpsuite\n",
"bugtrack_url": null,
"license": "",
"summary": "An\u00e1lisis y validaci\u00f3n de la CURP Mexicana",
"version": "2.6.1",
"project_urls": {
"Homepage": "https://curpsuite.readthedocs.io",
"Repository": "https://github.com/jacobszpz/CURPSuite"
},
"split_keywords": [
"curp",
"validation",
"analysis",
"mexico"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "970fac8f5fc587b788260a774ddd89b58092dfd0218e8c9ab66a9b79799deee8",
"md5": "65a21a1d0c4b78aab5cf2b3fee38de65",
"sha256": "015ead7a6aefafedecab0762dda888ee73e25ee94c919faa5e63c5d4cacbe389"
},
"downloads": -1,
"filename": "CURPSuite-2.6.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "65a21a1d0c4b78aab5cf2b3fee38de65",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 22292,
"upload_time": "2023-10-04T15:35:01",
"upload_time_iso_8601": "2023-10-04T15:35:01.571494Z",
"url": "https://files.pythonhosted.org/packages/97/0f/ac8f5fc587b788260a774ddd89b58092dfd0218e8c9ab66a9b79799deee8/CURPSuite-2.6.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "af2fbe7d50d110f9608a0cfab9f3021e4cd59b0b3adfef6a77f9ff53dce0468c",
"md5": "2f12673ec5bec77561c785dfd6e6f171",
"sha256": "f27b01e99be6925c159f470b300155aafa9f6848ead390a77b9dd8241dfb50a8"
},
"downloads": -1,
"filename": "CURPSuite-2.6.1.tar.gz",
"has_sig": false,
"md5_digest": "2f12673ec5bec77561c785dfd6e6f171",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 1389506,
"upload_time": "2023-10-04T15:35:04",
"upload_time_iso_8601": "2023-10-04T15:35:04.110457Z",
"url": "https://files.pythonhosted.org/packages/af/2f/be7d50d110f9608a0cfab9f3021e4cd59b0b3adfef6a77f9ff53dce0468c/CURPSuite-2.6.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-04 15:35:04",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jacobszpz",
"github_project": "CURPSuite",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "curpsuite"
}