Skip to main content

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

Release files for lenvert-python 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lenvert-python 0.1.0
File Size Uploaded
lenvert_python-0.1.0.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lenvert-python 0.1.0
File Interpreter ABI Platform
lenvert_python-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.8 kB

Release files / lenvert_python-0.1.0.tar.gz

Download URL lenvert_python-0.1.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
02a860cb47bedb090e02fb91251a84be517daad689c9ca91ee3ef919978ce8be
BLAKE2b-256 checksum
How to use checksums
f62ee8ca1861fab31e85020d5bde12187e496e9cc7550d4763c39dc6d3d4ab34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.18

Release files / lenvert_python-0.1.0-py3-none-any.whl

Download URL lenvert_python-0.1.0-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e5954f4f578b12c79c5b9f0481380141b6befb3333fbf1f0b3067e0b80e981e9
BLAKE2b-256 checksum
How to use checksums
90cc48919b0914264ce68f6deed955d0fa8408da94ccacf17328592448a812cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.18

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page