Skip to main content

A simple unit converter for chemical engineering

Project description

z-units

A simple unit converter for chemical engineering

Usage

import z_units.quantity as q

# take a quantity
f = q.MolarFlow(3)
# to base unit
f.to_base()
# convert
f.to('kmol/s')
# list available units
f.units
# get value
unit, value = f.unit, f.value
# gauge pressure
p = q.Pressure(5, 'bar').to('MPag')

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

z_units-0.1.0.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

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

z_units-0.1.0-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file z_units-0.1.0.tar.gz.

File metadata

  • Download URL: z_units-0.1.0.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.6.1 CPython/3.10.10

File hashes

Hashes for z_units-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ae0be7e835d746c6dd340eac7c24a03bca0bebf493aa4e91c7f3e5aeda98b5b0
MD5 9105d5e8cfe1b89064a8b149b88346d2
BLAKE2b-256 b72c6ce8a1e1509b65e45430ce41f75b153edaad0b868edcc4dc086334d8ade1

See more details on using hashes here.

File details

Details for the file z_units-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: z_units-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.6.1 CPython/3.10.10

File hashes

Hashes for z_units-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0b65cf5d557d380060ee0b98af4c1a6b64c6736636354dcc52e27cde3b0bafd8
MD5 41645e62a60da035b8f0fcc3a748ebd3
BLAKE2b-256 89be9ceeaaa697d88ac01d078b71a91399e3fa09be20f80b1e5cc3bf0ed9773b

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