Skip to main content

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

Metadata

Release files for py-serpost 0.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py-serpost 0.4.2
File Size Uploaded Provenance Actions
py-serpost-0.4.2.tar.gz 18.0 kB Without provenance Details for py-serpost-0.4.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for py-serpost 0.4.2
File Interpreter ABI Platform Actions
py_serpost-0.4.2-py3-none-any.whl Python 3 none any Details for py_serpost-0.4.2-py3-none-any.whl

Total release size: 36.9 kB

Release files / py-serpost-0.4.2.tar.gz

Download URL py-serpost-0.4.2.tar.gz
Size 18.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5aca984029c189fed5d9ee815859d5d4e21d181abfad76197079b540b9327040
BLAKE2b-256 checksum
How to use checksums
b0ced17b940b4458f3d832780d18451066660d3693a7abb5416708b14aa1804d
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / py_serpost-0.4.2-py3-none-any.whl

Download URL py_serpost-0.4.2-py3-none-any.whl
Size 18.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0ee10dc531fdfcc1a008901093add3833c127a0c9c45937d258597bb28e382e8
BLAKE2b-256 checksum
How to use checksums
2dc5b88990425bc789d5b4ce5b29f91c9a80aa7a9ed683a78c25bb3da50dc7e0
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for py-serpost 0.4.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page