Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

patentes_vehiculares_chile-0.1.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

patentes_vehiculares_chile-0.1.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file patentes_vehiculares_chile-0.1.0.tar.gz.

File metadata

File hashes

Hashes for patentes_vehiculares_chile-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e9201fcc5b6a31a3fe78b54692d3316148de83ef733e71f32897e1e7bddfa131
MD5 63b82afff1a11535c88101ce66ddf1e2
BLAKE2b-256 1fa337eb1923a74e5c4a512149ef7e9732711a8f9e18d5992e31f218def6421f

See more details on using hashes here.

File details

Details for the file patentes_vehiculares_chile-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for patentes_vehiculares_chile-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 89126147ea9fff4bccae98f6b906dbc5c3c675cf262f876c6ad3c9a12e06ef13
MD5 34d9398ca3d1977bfc2723cb3b8eb102
BLAKE2b-256 1c9bf693f3f360b58bcbc4433e2b77f3cf1a1026ce8d69b6e5f83326c406ce18

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page