Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mi_libreria_matematica-0.1.0.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mi_libreria_matematica-0.1.0-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

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

Hashes for mi_libreria_matematica-0.1.0.tar.gz
Algorithm Hash digest
SHA256 eb8b71ee4d23caa82fa8fcde47fe10bf6433fd08e8690cc983901ae9820b313e
MD5 35b0ec80c072791db72d556d70e8cd98
BLAKE2b-256 f77bc506dae64c5c9b19292acccc015346abc5be7c8e27218be1ac1937a06178

See more details on using hashes here.

File details

Details for the file mi_libreria_matematica-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mi_libreria_matematica-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b2c0c446c0b2fb2a690a4af28dc10c45dcd1107029cc15f9d445178fe23db0dc
MD5 8a2c97c4c548c984c5b0a394ce9fa1ac
BLAKE2b-256 4e1e62166d32448160d7618d74cde79dd1bdd14724e7d8779ee1659c77027965

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page