SDK oficial de CURPify — validación de identidad mexicana (CURP, RFC, IMSS, SEP)
Project description
curpify
SDK oficial de CURPify para Python.
pip install curpify
Uso
from curpify import Curpify
client = Curpify(api_key="ck_live_...")
CURP
result = client.curp.validate("AAAA000000HDFBBB00")
print(result.data.first_name, result.data.paternal_surname)
found = client.curp.search(first_name="...", paternal_surname="...", ...)
doc = client.curp.download("AAAA000000HDFBBB00")
RFC
result = client.rfc.validate("AAAA000000AAA")
bulk = client.rfc.validate_bulk(["AAAA000000AAA", "BBBB000000BBB"])
calc = client.rfc.calculate(first_name="...", paternal_surname="...", birth_date="YYYY-MM-DD")
from_curp = client.rfc.from_curp("AAAA000000HDFBBB00")
SEP
result = client.sep.validate("AAAA000000HDFBBB00")
found = client.sep.search(first_name="...", ...)
cert = client.sep.certificate("AAAA000000HDFBBB00")
IMSS
nss = client.imss.nss_from_curp("AAAA000000HDFBBB00")
rights = client.imss.rights(nss="00000000000")
Cliente asíncrono
import asyncio
from curpify import AsyncCurpify
async def main():
async with AsyncCurpify(api_key="ck_live_...") as client:
result = await client.curp.validate("AAAA000000HDFBBB00")
asyncio.run(main())
Documentación completa en docs.curpify.mx.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file curpify-0.1.3.tar.gz.
File metadata
- Download URL: curpify-0.1.3.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f0755c836c86d22c186d7ca90489085cdb8696047783843fad4a6ab691a0a76
|
|
| MD5 |
b0ffbecee16677764e71d3648ac8c83b
|
|
| BLAKE2b-256 |
774ad53fc3b6f6d2cc7d5709341fa83e4db00df92f8b37401c8765747e44ba65
|
Provenance
The following attestation bundles were made for curpify-0.1.3.tar.gz:
Publisher:
publish.yml on CURPify/CURPify-Python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
curpify-0.1.3.tar.gz -
Subject digest:
0f0755c836c86d22c186d7ca90489085cdb8696047783843fad4a6ab691a0a76 - Sigstore transparency entry: 2025929476
- Sigstore integration time:
-
Permalink:
CURPify/CURPify-Python@6e09ff80aa642d3bb7818ff3d261ef546c7cd313 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/CURPify
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6e09ff80aa642d3bb7818ff3d261ef546c7cd313 -
Trigger Event:
release
-
Statement type:
File details
Details for the file curpify-0.1.3-py3-none-any.whl.
File metadata
- Download URL: curpify-0.1.3-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44ac2ddb925e41719fa9850f001ee7b05268d5bf537b21c0eca70e57859b8edc
|
|
| MD5 |
9962860dd37ea040bcdaa8529773e83f
|
|
| BLAKE2b-256 |
0d2290ff2a5b38768023ea124b832b789a4b67fca8f94c4978d07862d67548a2
|
Provenance
The following attestation bundles were made for curpify-0.1.3-py3-none-any.whl:
Publisher:
publish.yml on CURPify/CURPify-Python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
curpify-0.1.3-py3-none-any.whl -
Subject digest:
44ac2ddb925e41719fa9850f001ee7b05268d5bf537b21c0eca70e57859b8edc - Sigstore transparency entry: 2025929581
- Sigstore integration time:
-
Permalink:
CURPify/CURPify-Python@6e09ff80aa642d3bb7818ff3d261ef546c7cd313 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/CURPify
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6e09ff80aa642d3bb7818ff3d261ef546c7cd313 -
Trigger Event:
release
-
Statement type: