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.2.tar.gz (18.0 kB view details)

Uploaded Source

Built Distribution

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

py_serpost-0.4.2-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file py-serpost-0.4.2.tar.gz.

File metadata

  • Download URL: py-serpost-0.4.2.tar.gz
  • Upload date:
  • Size: 18.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

File hashes

Hashes for py-serpost-0.4.2.tar.gz
Algorithm Hash digest
SHA256 5aca984029c189fed5d9ee815859d5d4e21d181abfad76197079b540b9327040
MD5 0b6431eb28b6fec637707e811396c75c
BLAKE2b-256 b0ced17b940b4458f3d832780d18451066660d3693a7abb5416708b14aa1804d

See more details on using hashes here.

File details

Details for the file py_serpost-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: py_serpost-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

File hashes

Hashes for py_serpost-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0ee10dc531fdfcc1a008901093add3833c127a0c9c45937d258597bb28e382e8
MD5 bf501a7aeedd54d042c4bffd7576b418
BLAKE2b-256 2dc5b88990425bc789d5b4ce5b29f91c9a80aa7a9ed683a78c25bb3da50dc7e0

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