Skip to main content

A SI unit representation and conversion tool.

Project description

United (ˈjuːnɪtɪd)

A SI unit representation and conversion tool.

Example:

Creating a unit with Volt V as a numerator and Ampere A as denominator will result into the unit Ohm (Ω). Same goes for creating two separate units Volt and Ampere and dividing Volt by Ampere.

Features

  • Arithmetic operations:
    • Multiplying

    • Dividing

    • Adding

    • Subtracting

    • Raising power

  • Different priorities for the look up table
    • Default

    • Electric

    • Mechanic

Changelog

This project follows the guidelines of Keep a changelog and adheres to Semantic versioning.

0.1.5 - 2021-07-26

Fixed

  • Unable to retrieve quantity from units with fixed representation.

0.1.4 - 2021-07-22

Fixed

  • Dividing equal units yields the unit ‘Hz’ instead of ‘1’.

Added

  • Representation for the power of units.

0.1.3 - 2021-03-08

Added

  • Named unit for radians.

0.1.2 - 2020-10-14

Fixed

  • Minor documentation issues.

Added

  • Conversion parameter match_exactly.

  • Named unit Hertz.

0.1.1 - 2020-06-16

Fixed

  • Minor documentation issues.

0.1.0 - 2020-06-03

Added

  • Initial implementation.

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

united-0.1.5.tar.gz (13.5 kB view hashes)

Uploaded Source

Built Distribution

united-0.1.5-py3-none-any.whl (7.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page