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
Metadata
Release files for mi-libreria-matematica 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mi_libreria_matematica-0.1.0.tar.gz | 2.2 kB | Without provenance | Details for mi_libreria_matematica-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mi_libreria_matematica-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for mi_libreria_matematica-0.1.0-py3-none-any.whl |
Total release size: 4.7 kB
Release files / mi_libreria_matematica-0.1.0.tar.gz
| Download URL | mi_libreria_matematica-0.1.0.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb8b71ee4d23caa82fa8fcde47fe10bf6433fd08e8690cc983901ae9820b313e
|
|
BLAKE2b-256 checksum How to use checksums |
f77bc506dae64c5c9b19292acccc015346abc5be7c8e27218be1ac1937a06178
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.11
|
Release files / mi_libreria_matematica-0.1.0-py3-none-any.whl
| Download URL | mi_libreria_matematica-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b2c0c446c0b2fb2a690a4af28dc10c45dcd1107029cc15f9d445178fe23db0dc
|
|
BLAKE2b-256 checksum How to use checksums |
4e1e62166d32448160d7618d74cde79dd1bdd14724e7d8779ee1659c77027965
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.11
|
Security for mi-libreria-matematica 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.