Git Product home page Git Product logo

dimans's Introduction

dimAns

Dimensional analysis and unit conversion library

PyPI - Version GitHub Tag PyPI - Downloads GitHub License

GitHub Actions Workflow Status Codacy Code Quality Badge Codacy Coverage Badge

Installation

pip install --upgrade dimans

If you want to use the calculator, you will need to install the "cli" extra to install some additional dependencies:

pip install --upgrade dimans[cli]

If you are using a Linux distribution like Arch that disallows installing packages using pip, you will need to use a tool such as pipx:

pipx install --upgrade dimans[cli]

Usage

>>> from dimans.units import gram, kilogram, metre
>>> (32_000 * gram).to(kilogram)
<Quantity 32.0 kg>

Calculator

dimans

dimAns Calculator Screenshot: Main ScreendimAns Calculator Screenshot: Command Search

dimans's People

Contributors

emreozcan avatar

Watchers

 avatar

dimans's Issues

Add more units

We currently have all the SI units, including named derived units. We have one non-SI metric unit (that being the litre.)

We have all the most used imperial base and volume units and their US counterparts.

I think we should cover unusual and humorous units in order to be a complete unit and dimensional analysis system.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.