Python JNE Peru
Librería de python para facilitar el acceso a la información pública relativa a los procesos electorales de la plataforma del JNE https://plataformaelectoral.jne.gob.pe/.
Free software: GNU General Public License v3
Documentation: https://python-jne-peru.readthedocs.io.
Instalar
pip install python-jne-peru
Ejemplos de uso
from pyjne_peru.client import JNE
client = JNE()
# obtener listado de los procesos electorales
items = client.get_election_processes()
for item in items.exclude_empty_item:
print(item.idProcesoElectoral, item.strProcesoElectoral)
# obtener tipos de elecciones disponibles
# para el proceso electoral "Elecciones Generales 2021"
items = client.get_election_types_by_process(110)
for item in items:
print(item.idTipoEleccion, item.strTipoEleccion)
# obtener los expedientes para solicitud de inscripcion de listas para
# la presidencia del proceso electoral "Elecciones Generales 2021"
items = client.get_files_on_list(110, 1)
# obtener los candidatos incluidos en un expediente
# de solicitud de inscripcion de lista
items = client.get_candidates_by_list(110, 1, 22865, 90701)
# obtener la hoja de vida completa de un candidato
cv = client.get_resume(135686, 110, 2840)
History
0.1.0 (2021-03-05)
First release on PyPI.
Metadata
Release files for python-jne-peru 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| python-jne-peru-0.1.0.tar.gz | 11.8 kB | Without provenance | Details for python-jne-peru-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| python_jne_peru-0.1.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for python_jne_peru-0.1.0-py2.py3-none-any.whl |
Total release size: 19.2 kB
Release files / python-jne-peru-0.1.0.tar.gz
| Download URL | python-jne-peru-0.1.0.tar.gz |
|---|---|
| Size | 11.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
202d53bbb56718aa2c6c49ef6c5fad6b97c6021722fe9eefd1067f659f0af771
|
|
BLAKE2b-256 checksum How to use checksums |
8fb1c8823c9299530a5c35e2555c7e80f46839f007496d68d1f84a16e48f6ccc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.6.8
|
Release files / python_jne_peru-0.1.0-py2.py3-none-any.whl
| Download URL | python_jne_peru-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
996996f4a7fb44cb0ca5711ff6ff330d2f4983038097904aaaa241f7bdab87e7
|
|
BLAKE2b-256 checksum How to use checksums |
b10f4f0244f2e132c07450f00bce1a84f87c2a402590570abda7d25d3f1b9be0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.6.8
|
Security for python-jne-peru 0.1.0
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.