Una librería Python para validar y trabajar con patentes vehiculares chilenas
Project description
Patentes Vehiculares Chile
Una librería Python para validar y trabajar con patentes vehiculares chilenas.
Instalación
pip install patentes-vehiculares-chile
Uso
from patentes_vehiculares_chile import validar_patente, detectar_tipo_patente, limpiar_patente
# Validar una patente
es_valida = validar_patente("ABCD12")
print(es_valida) # True o False
# Detectar tipo de patente
tipo = detectar_tipo_patente("AB1234")
print(tipo) # TipoPatente.ANTIGUA
# Limpiar una patente
patente_limpia = limpiar_patente(" ab-12.34 ")
print(patente_limpia) # "AB1234"
Características
- Validación de patentes vehiculares chilenas
- Soporte para formatos antiguos y nuevos
- Detección automática del tipo de patente
- Limpieza y normalización de patentes
- Soporte para vehículos, motocicletas y remolques
Contribuir
Las contribuciones son bienvenidas. Por favor, abre un issue primero para discutir los cambios que te gustaría hacer.
Licencia
Este proyecto está bajo la Licencia MIT - ver el archivo LICENSE para más detalles.
Project details
Release history Release notifications | RSS feed
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 patentes_vehiculares_chile-0.1.0.tar.gz.
File metadata
- Download URL: patentes_vehiculares_chile-0.1.0.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9201fcc5b6a31a3fe78b54692d3316148de83ef733e71f32897e1e7bddfa131
|
|
| MD5 |
63b82afff1a11535c88101ce66ddf1e2
|
|
| BLAKE2b-256 |
1fa337eb1923a74e5c4a512149ef7e9732711a8f9e18d5992e31f218def6421f
|
File details
Details for the file patentes_vehiculares_chile-0.1.0-py3-none-any.whl.
File metadata
- Download URL: patentes_vehiculares_chile-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89126147ea9fff4bccae98f6b906dbc5c3c675cf262f876c6ad3c9a12e06ef13
|
|
| MD5 |
34d9398ca3d1977bfc2723cb3b8eb102
|
|
| BLAKE2b-256 |
1c9bf693f3f360b58bcbc4433e2b77f3cf1a1026ce8d69b6e5f83326c406ce18
|