Skip to main content

A package for converting imperial lengths and weights

Project description

Lenvert

A package for converting between imperial unit lengths and weights.

This package was created for the [DataCamp] (https://www.datacamp.com) course "Developing Python Packages".

Features

  • Convert lengths between miles, yards, feet and inches.
  • Convert weights between hundredweight, stone, pounds and ounces.

Usage

import lenvert

# Convert 500 miles to feet
lenvert.length.convert_unit(500, from_unit='yd', to_unit='ft')  # returns 1500.0

# Convert 100 ounces to pounds
lenvert.weight.convert_unit(100, from_unit='oz', to_unit='lb')  # returns 6.25

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

lenvert_python-0.1.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

lenvert_python-0.1.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file lenvert_python-0.1.0.tar.gz.

File metadata

  • Download URL: lenvert_python-0.1.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for lenvert_python-0.1.0.tar.gz
Algorithm Hash digest
SHA256 02a860cb47bedb090e02fb91251a84be517daad689c9ca91ee3ef919978ce8be
MD5 819a6b164c373cba13d613244d7a6489
BLAKE2b-256 f62ee8ca1861fab31e85020d5bde12187e496e9cc7550d4763c39dc6d3d4ab34

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lenvert_python-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for lenvert_python-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e5954f4f578b12c79c5b9f0481380141b6befb3333fbf1f0b3067e0b80e981e9
MD5 c84348369ec11a9c3e3fa9a4404ded7e
BLAKE2b-256 90cc48919b0914264ce68f6deed955d0fa8408da94ccacf17328592448a812cf

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