Doing calculations in a programming language is done without the corresponding units.
This is a source of programming mistakes. In the units and in the scale.

This class try to solve this issue, buy instead of numbers use a class that contains both:
The number in int,float and the units / reciprocate units.
A conversion table is integrated, and preloaded with standard units. But you are not limited to those
units. You can define the units you want. You can select between manual register of units, automatic register.
You can create and modify different environments to define conversion and the way the output of the units
are converted.
If you use this class in IPython you get your terms printed in nice LaTeX format.

Project Samples

Project Activity

See All Activity >

Follow Unit Var

Unit Var Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Unit Var!

Additional Project Details

Languages

English

Intended Audience

Developers

Programming Language

Python

Related Categories

Python Software Development Software, Python Library Management Software, Python Scientific Engineering

Registered

2013-07-01