Una librería de operaciones matemáticas básicas.
Project description
mi_libreria_matematica
Una librería de Python para realizar operaciones matemáticas básicas.
Instalación
pip install mi_libreria_matematica
Uso
from mi_libreria_matematica import sumar, restar, multiplicar, dividir
print(sumar(2, 3)) # 5
print(restar(5, 2)) # 3
print(multiplicar(3, 4)) # 12
print(dividir(8, 2)) # 4.0
7. Sube tu paquete a PyPI
Instala las herramientas necesarias
Primero, asegúrate de tener build y twine:
pip install build twine
7. Sube tu paquete a PyPI
Instala las herramientas necesarias
Primero, asegúrate de tener build y twine:
pip install build twine
Genera el archivo .tar.gz
python -m build
Esto generará archivos en la carpeta dist/:
dist/
├── mi_libreria_matematica-0.1.0.tar.gz
└── mi_libreria_matematica-0.1.0-py3-none-any.whl
Sube tu paquete a PyPI
twine upload dist/*
Una vez subida a PyPI, cualquier persona (o tú mismo) podrá instalarla usando:
pip install mi_libreria_matematica
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 mi_libreria_matematica-0.1.0.tar.gz.
File metadata
- Download URL: mi_libreria_matematica-0.1.0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb8b71ee4d23caa82fa8fcde47fe10bf6433fd08e8690cc983901ae9820b313e
|
|
| MD5 |
35b0ec80c072791db72d556d70e8cd98
|
|
| BLAKE2b-256 |
f77bc506dae64c5c9b19292acccc015346abc5be7c8e27218be1ac1937a06178
|
File details
Details for the file mi_libreria_matematica-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mi_libreria_matematica-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2c0c446c0b2fb2a690a4af28dc10c45dcd1107029cc15f9d445178fe23db0dc
|
|
| MD5 |
8a2c97c4c548c984c5b0a394ce9fa1ac
|
|
| BLAKE2b-256 |
4e1e62166d32448160d7618d74cde79dd1bdd14724e7d8779ee1659c77027965
|