Skip to main content

Convert Unit Length Datas

Project description

Convert all types of Unit Length Datas. The one's in this Package are

  • Inches
  • Feet
  • Yard
  • Millimeter
  • Centimeter
  • Decimeter
  • Decameter
  • Hectometer
  • Meter
  • Kilometer

Other than Unit Lengths the ones added in the package are

  • Fahrenheit
  • Celsius

For starters, import the class as shown below:

  • import pyconversions.pyconv as pycv After that for an instance lets say to convert 12 Inches to Meters use:
  • pycv.Inches(12).toMeters() Or to convert 12 Meters to Centimeters use:
  • pycv.Meters(12).toCentimeters() Just like for for Unit Lengths, you can use it for Temperatures too as follows:
  • pycv.Fahrenheit(35).toCelcius() Or to convert it vice-versa use:
  • pycv.Celcius(68).toFahrenheit

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

pyconversions-0.0.10.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

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

pyconversions-0.0.10-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file pyconversions-0.0.10.tar.gz.

File metadata

  • Download URL: pyconversions-0.0.10.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0

File hashes

Hashes for pyconversions-0.0.10.tar.gz
Algorithm Hash digest
SHA256 c44b2f97e92306188da33cd2be77904ab679f3317e6365a193546d793f346cca
MD5 eb87a3e536d62c2a80278645422af4ea
BLAKE2b-256 2274abb97c7ced0a7a059e8abdecae8e9c0f6d717767f9dd6a06bc10c9c57c15

See more details on using hashes here.

File details

Details for the file pyconversions-0.0.10-py3-none-any.whl.

File metadata

  • Download URL: pyconversions-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0

File hashes

Hashes for pyconversions-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 74972855d19943bc53853db019a4a6724a12f395e3a01727d01ed1a7126066f7
MD5 b71a991639f8145d099241c162eab3f8
BLAKE2b-256 6ce78683a7f75c05108ad5a105f5d0d04c06d0b325cbf55fbbdf170c52a01bc6

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