Skip to main content

Tracking de paquetes de Serpost Perú sin autenticación

Project description

Py-Serpost

Herramienta para consultar el estado de los paquetes de Serpost Perú sin necesidad de autenticarse.

Instalación

Usando pip:

$ pip install --user py-serpost

Cómo utilizar

Indicando los numeros de rastreo como parametros:

$ serpost -y 2018 -t EA325602591CN RF495973328SG
EA325602591CN:
  descripcion: FUE ENTREGADO
  destino: ADMINISTRACION POSTAL LIMA
  estado: ENTREGADO
  fecha: 2018-01-23 00:00:00
RF495973328SG:
  descripcion: SALIO A DISTRIBUCION
  destino: OFICINA POSTAL CHEPEN
  estado: PENDIENTE DE ENTREGA
  fecha: 2018-02-02 00:00:00

Para devolver la informacion detallada:

$ serpost --detailed -y 2018 -t EA325602591CN RF495973328SG
EA325602591CN:
  año: 2018
  codigo: EA325602591CN
  destino: ADMINISTRACION POSTAL LIMA
  estado: ENTREGADO
  historia:
  - descripcion: ENVÍO EN PROCESAMIENTO EN LA SEDE PRINCIPAL DE SERPOST - NO DISPONIBLE
    PARA ENTREGA
    destino: ADMINISTRACION POSTAL LIMA
    fecha: 2018-01-19 00:00:00
  - descripcion: ENVÍO EN TRÁNSITO HACIA LA ADMINISTRACION - NO DISPONIBLE PARA ENTREGA
    destino: ADMINISTRACION POSTAL LIMA
    fecha: 2018-01-19 00:00:00
  - descripcion: SALIO A DISTRIBUCION
    destino: ADMINISTRACION POSTAL LIMA
    fecha: 2018-01-20 00:00:00
  - descripcion: SE INTENTO ENTREGAR PERO FUE IMPOSIBLE
    destino: ADMINISTRACION POSTAL LIMA
    fecha: 2018-01-22 00:00:00
  - descripcion: FUE ENTREGADO
    destino: ADMINISTRACION POSTAL LIMA
    fecha: 2018-01-23 00:00:00
    num_aviso: NA002832
    observacion: '-'
    origen: GUANGZHOU EMS
    tipo: EXPRESS MAIL SERVICE EMS
RF495973328SG:
  año: 2018
  codigo: RF495973328SG
  destino: OFICINA POSTAL CHEPEN
  estado: PENDIENTE DE ENTREGA
  historia:
  - descripcion: ENVÍO EN TRÁNSITO HACIA LA ADMINISTRACION - NO DISPONIBLE PARA ENTREGA
    destino: OFICINA POSTAL CHEPEN
    fecha: 2018-01-10 00:00:00
  - descripcion: ENVÍO EN PROCESAMIENTO EN LA SEDE PRINCIPAL DE SERPOST - NO DISPONIBLE
    PARA ENTREGA
    destino: OFICINA POSTAL CHEPEN
    fecha: 2018-01-10 00:00:00
  - descripcion: ENVÍO EN PROCESAMIENTO EN LA SEDE PRINCIPAL DE SERPOST - NO DISPONIBLE
    PARA ENTREGA
    destino: OFICINA POSTAL CHEPEN
    fecha: 2018-01-11 00:00:00
  - descripcion: ENVÍO EN TRÁNSITO HACIA LA ADMINISTRACION - NO DISPONIBLE PARA ENTREGA
    destino: OFICINA POSTAL CHEPEN
    fecha: 2018-01-18 00:00:00
  - descripcion: SALIO A DISTRIBUCION
    destino: OFICINA POSTAL CHEPEN
    fecha: 2018-02-02 00:00:00
  num_aviso: PP001152
  observacion: ENVÍO SELECCIONADO POR SUNAT - ADUANAS
  origen: SINGAPORE 06
  tipo: PEQUEÑOS PAQUETES AFORABLES

Tambien se pueden leer desde un archivo (un código por linea):

$ serpost tracking.txt

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

py-serpost-0.4.0.tar.gz (17.4 kB view hashes)

Uploaded Source

Built Distributions

py_serpost-0.4.0-py3.7.egg (13.1 kB view hashes)

Uploaded Source

py_serpost-0.4.0-py3-none-any.whl (18.9 kB view hashes)

Uploaded Python 3

Supported by

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