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.11.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.11-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyconversions-0.0.11.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.11.tar.gz
Algorithm Hash digest
SHA256 1e1a3ca467a913e38688c2233f3739b2b0cea018ee06c142cfb427b558a7a953
MD5 22a483acc8aac5b642a5178c4e3257c5
BLAKE2b-256 5dfe654f04c1daeed529bcedfeb7c64ad4e4a0d949ea24c743f71917f351ec97

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyconversions-0.0.11-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.11-py3-none-any.whl
Algorithm Hash digest
SHA256 fffb17e69b0cf5eaf5fffd0aa039ba700a977fd19ab1d5bd313caa2e86bd3c1a
MD5 0419e7bfd0195401901f913c3387261d
BLAKE2b-256 b7115af962a5b26242d4d68f2dc567228f4f12658b0fe63d9baafb97eac41b62

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