Skip to main content

Impyrial

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 impyrial

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

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

Release files for impconverter1.0 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 impconverter1.0 0.1.0
File Size Uploaded
impconverter1.0-0.1.0.tar.gz 2.1 kB Details

Built distribution (wheel)

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

Total release size: 4.3 kB

Release files / impconverter1.0-0.1.0.tar.gz

Download URL impconverter1.0-0.1.0.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2d4fe742c805fd092be6b292db0e779f5d770fad2a06a03ac88c2a378bddcfbf
BLAKE2b-256 checksum
How to use checksums
26caf6cc7efbcc1ea5548ffaba03e7902691d223601d0b908927d5f9abff6188
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.18

Release files / impconverter1.0-0.1.0-py3-none-any.whl

Download URL impconverter1.0-0.1.0-py3-none-any.whl
Size 2.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1a843e3a4422385e3a0f61f0d2aaaa54b12807a3846ab5788114649378dc3f7a
BLAKE2b-256 checksum
How to use checksums
e562e1f795bcbd4c543239483c65861f136fe3c10981b203edfa160ee9a15ac9
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