UNIngPy, un API sobre articulos de uni.edu.ni
Descripcion
UNIngPy es un package de python que extrae los articulos oficiales de http://archivodenoticias.uni.edu.ni/Articulo/ Fue desarrollado con la intencion de ayudar a la facil extraccion de informacion de la pagina de la UNI-Nicaragua.
Requisitos
- Python =< 2.7 o 3.7:
- Beautifulsoup4 =< 4.9.0
- Requests =< 2.23.0
Instalacion con Pip
pip install UNIngPy
Uso
>>>from UNIngPy import uniarticles
>>>arts = int(input('Cuantos articulos desea ver? '))
>>>if __name__ == "__main__":
... res = uniarticles(True).search(arts)
...
... for entry in res:
... print((Fore.RED + "Titulo:" + Style.RESET_ALL + "{title}".format(**entry)))
... print((Fore.RED + "Fecha de publicacion:" + Style.RESET_ALL + "{date}".format(**e...ntry)))...
... print((Fore.RED + "Contenido:" + Style.RESET_ALL + "{preview}".format(**entry)))
... print((Fore.RED + "Leer completo:" +Style.RESET_ALL+" {redirect}\n".format(**entry)))
Con el ejemplo anterior podrán obtener los detalles exactos de los articulos, para usarlos individualmente o en conjunto.
El ejemplo lo pueden encontrar en la carpeta tests, por si desean ojearlo.
Contribución
El desarrollo del proyecto se lleva a cabo en github, https://github.com/MrH0wl/UNIngPy,
abra un problema allí para informar errores o sugerir mejoras.La colaboración es muy bienvenida, solo bifurca(fork) el proyecto en github y envía pull request al repositorio principal.
Licencia
UNIngPy se publica bajo la licencia GNU General Public License v3. Mira en LICENCIA para mas detalle.
Desarrolladores
Autor:
👤 Jackson Blandon
Lista de contribudores: https://github.com/MrH0wl/UNIngPy/graphs/contributors
Soporte
Si crees que encontraste un bug o tienes problemas con la instalacion, abre un ticket en GitHub: https://github.com/MrH0wl/UNIngPy/issues
— ❤️ —
Drylabs maintains dry-python and helps those who want to use it inside their organizations.
Read more at drylabs.io
Release files for UNIngPy 0.4.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| UNIngPy-0.4.11-py3-none-any.whl | Python 3 | none | any | Details |
| UNIngPy-0.4.11-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 34.1 kB
Release files / UNIngPy-0.4.11-py3-none-any.whl
| Download URL | UNIngPy-0.4.11-py3-none-any.whl |
|---|---|
| Size | 17.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a7669db23bd24425aec385663501be0c10be4064fcf738f8cf0b3371ed5b1c7b
|
|
BLAKE2b-256 checksum How to use checksums |
1c1406af4690b919ff4eaa54e51275ba1f440d6f833b7d5df305f92cfbd5110c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/2.7.17
|
Release files / UNIngPy-0.4.11-py2-none-any.whl
| Download URL | UNIngPy-0.4.11-py2-none-any.whl |
|---|---|
| Size | 17.1 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
ead37160f4511394138f855aac39cb895d6b8d8b704c6c83683b2cb66ffd01d2
|
|
BLAKE2b-256 checksum How to use checksums |
f8fa8be5620f4f5829e56b5bfb5788bf1aa9d6a9ac484767624e4576aadda3c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/2.7.17
|