Biblioteca de mis cursos (Prueba para mi primera api)
Project description
Mi primera API
Esto es mi primera api creada de prueba para subir a PyPi.
Cursos disponibles:
- Mi primer curso [12 horas]
- Mi segundo curso [15 horas]
- Mi tercer curso [16 horas]
Instalación
Instala el paquete usando pip3:
pip3 install ezirion_api
Notas de versión
0.1.2 >>> Parche al llamar a la variable courses salía el objeto por pantalla y no sus propiedades.
Uso básico
Listar todos los cursos
from ezirion_api import list_courses
for course in list_courses():
print(course)
Obtener un curso por nombre
from ezirion_api import search_course_by_name
course = search_course_by_name("Mi primer curso")
print(course)
Calcular duración total de los cursos
from ezirion_api.utils import total_duration
print(f"Duración total: {total_duration()} horas")
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
ezirion_api-0.1.2.tar.gz
(2.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 ezirion_api-0.1.2.tar.gz.
File metadata
- Download URL: ezirion_api-0.1.2.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4df4c1f44bc6886788e778f68da5f5bc17058f66db4c955432237d4a079f0fd9
|
|
| MD5 |
61ac5d8474e0fe0d32315b38443db9ee
|
|
| BLAKE2b-256 |
192ce8a15d7ed8dda2db9586588e8c548dcbabf58c77dfd81ae2d0a1f1cdc751
|
File details
Details for the file ezirion_api-0.1.2-py3-none-any.whl.
File metadata
- Download URL: ezirion_api-0.1.2-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ce1cd5a4070c8226ace3cd145f89f6ca1e5c06f6bb63e0a424892cf18f6ae11
|
|
| MD5 |
a8967cd0b801534e04424c775dd4d649
|
|
| BLAKE2b-256 |
2afed754bc8789db0ae73314f15db979ab028006457072e019afa8cc5eac024f
|