Python Boilerplate contains all the boilerplate you need to create a Python package.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 python-jne-peru-0.1.0.tar.gz.
File metadata
- Download URL: python-jne-peru-0.1.0.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
202d53bbb56718aa2c6c49ef6c5fad6b97c6021722fe9eefd1067f659f0af771
|
|
| MD5 |
eab764fa45ea33b7d5f88ee8c0367756
|
|
| BLAKE2b-256 |
8fb1c8823c9299530a5c35e2555c7e80f46839f007496d68d1f84a16e48f6ccc
|
File details
Details for the file python_jne_peru-0.1.0-py2.py3-none-any.whl.
File metadata
- Download URL: python_jne_peru-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 2, Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
996996f4a7fb44cb0ca5711ff6ff330d2f4983038097904aaaa241f7bdab87e7
|
|
| MD5 |
dbdf862ae8d84b19d0a8c892a73af084
|
|
| BLAKE2b-256 |
b10f4f0244f2e132c07450f00bce1a84f87c2a402590570abda7d25d3f1b9be0
|