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
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)
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5aca984029c189fed5d9ee815859d5d4e21d181abfad76197079b540b9327040
|
|
| MD5 |
0b6431eb28b6fec637707e811396c75c
|
|
| BLAKE2b-256 |
b0ced17b940b4458f3d832780d18451066660d3693a7abb5416708b14aa1804d
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ee10dc531fdfcc1a008901093add3833c127a0c9c45937d258597bb28e382e8
|
|
| MD5 |
bf501a7aeedd54d042c4bffd7576b418
|
|
| BLAKE2b-256 |
2dc5b88990425bc789d5b4ce5b29f91c9a80aa7a9ed683a78c25bb3da50dc7e0
|