Skip to main content

Pacote simples para conversao de unidades.

Project description

conversor_andre_conforti

Descrição. O pacote conversor_unidades é utilizado para realizar conversões simples entre diferentes unidades de medida. Ele oferece funções para converter: - Temperatura: Celsius para Fahrenheit e vice-versa.
- Comprimento: Metros para centímetros e vice-versa.

Instalação

Utilize o gerenciador de pacotes pip para instalar o conversor_unidades:

pip install conversor_unidades

Uso

from conversor_unidades.temperatura import celsius_para_fahrenheit
from conversor_unidades.comprimento import metros_para_centimetros

# Convertendo temperatura
temperatura_celsius = 25
temperatura_fahrenheit = celsius_para_fahrenheit(temperatura_celsius)
print(f"{temperatura_celsius}°C equivalem a {temperatura_fahrenheit:.2f}°F")

# Convertendo comprimento
comprimento_metros = 1.5
comprimento_centimetros = metros_para_centimetros(comprimento_metros)
print(f"{comprimento_metros}m equivalem a {comprimento_centimetros}cm")

Author

André Conforti

License

MIT

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

conversor_andre_conforti-0.0.1.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

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

conversor_andre_conforti-0.0.1-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file conversor_andre_conforti-0.0.1.tar.gz.

File metadata

File hashes

Hashes for conversor_andre_conforti-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9e29f92c684f9b30f7a00ea1967a9b6d05efb2bb6f8b6bb8edf3a81257bab9ec
MD5 825b2a22ee2775e506facc567c444122
BLAKE2b-256 e1a419c932454ce9d60673ece6957efaa32fce46e3269c2dea80321208226be2

See more details on using hashes here.

File details

Details for the file conversor_andre_conforti-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for conversor_andre_conforti-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 21df3f5460269b63fafea3ccc200677473c918ed751014d499b8278223cc87fc
MD5 198d494025aee31f2c0cc66fa8677de3
BLAKE2b-256 3cad67867414833f025f2865e7933cf58a378cbb66fd7bb88ecbe0f94b4dbc4d

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