No project description provided
Project description
HolaMundoPlayer
HolaMundoPlayer es un paquete Python sencillo que provee una clase Player para demostrar
la estructura de un paquete y cómo usarlo desde PyPI. Es ideal como proyecto de ejemplo
para aprender a publicar paquetes en PyPI y cómo organizar un paquete Python mínimo.
Características
- Reproductor simple: clase
Playercon métodosplayystop. - Empaquetado: listo para publicarse en PyPI (nombre del paquete usado en
setup.py).
Instalación
Instala la última versión desde PyPI (paquete publicado como sergiocalderon-holamundoplayer):
pip install sergiocalderon-holamundoplayer
Si estás instalando desde el código fuente en este repositorio, usa:
pip install .
Uso básico
Ejemplo mínimo de uso importando la clase Player:
from holamundoplayer.player import Player
player = Player()
player.play('ruta/a/mi/cancion.mp3') # muestra 'reproduciendo cancion'
player.stop()
El módulo principal se encuentra en holamundoplayer/player.py y contiene la clase Player.
Publicación en PyPI
El paquete está configurado en setup.py con el nombre sergiocalderon-holamundoplayer.
Si quieres actualizar la versión publicada en PyPI, los pasos típicos son:
# aumentar la versión en setup.py
python -m build
python -m twine upload dist/*
Revisa la documentación oficial de PyPI y twine si no has publicado antes.
Licencia y autor
- Autor: Sergio Calderón
- Licencia: revisa el archivo
LICENSEen este repositorio.
Si quieres que agregue más ejemplos (por ejemplo reproducir archivos reales, integración con audio), dímelo y lo expando.
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 sergiocalderon_holamundoplayer-0.1.0.tar.gz.
File metadata
- Download URL: sergiocalderon_holamundoplayer-0.1.0.tar.gz
- Upload date:
- Size: 15.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e0d224b9795d70286e89a4165bdabe28d563f4597953f1819e81f2c64ce87f5
|
|
| MD5 |
b40cafb8dde646060264d6240a206f43
|
|
| BLAKE2b-256 |
1d34a8634fada2954b5beee279572cdfe59b0ff977d3841e055723527a0894ac
|
File details
Details for the file sergiocalderon_holamundoplayer-0.1.0-py3-none-any.whl.
File metadata
- Download URL: sergiocalderon_holamundoplayer-0.1.0-py3-none-any.whl
- Upload date:
- Size: 16.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3fc2ba19f60da4992d806c6862ca55f5709b9a3f0b687fb474c6dddfc991c18b
|
|
| MD5 |
7d1a676bb89e9fc747f0d58649fd2816
|
|
| BLAKE2b-256 |
fe851670ae393fe2a152540c82d24130dc5aa04a124c038184ac67b6a7bc908d
|