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.12.tar.gz (2.5 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.12-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyconversions-0.0.12.tar.gz
  • Upload date:
  • Size: 2.5 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.12.tar.gz
Algorithm Hash digest
SHA256 f8729c4bb649fa408f700bdd8d0c53b7cf71468be17ea91c4383027e3516403a
MD5 3d28135eb001ea3e5a1d31a67ba56d8e
BLAKE2b-256 58b241e645d5573be1d90de25200440f7513344e97bb993fcb767f13ce9c9393

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyconversions-0.0.12-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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 0797a4bb50db686f0250c0ed8e3a4b453e9a1ea0ae1da4c8266a6acb4d5ea1b6
MD5 af3da954b0dd10710bbcf9bf45aff1e9
BLAKE2b-256 badbf2c351f0272ca7e792995301e14ae9cc28b552b1121d3769e1ad10d2fa04

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