Real-world systems, like the supply chain, often involve working with physical quantities, like mass and energy. You don’t have to be a professional scientist or engineer to make an app that can scale and let users enter quantities in any unit without the app crashing. Python has a robust and constantly growing ecosystem that is full of alternatives that can be easily integrated and expanded for your application.
Within an earlier post, I talked about the Pint library, which makes working with physical quantities easy. For a more fun way to learn and put together the different parts of our programming puzzle, feel free to go back to the post 🧩.
The goal of this article is to provide more information about the Pint package so that we can create a way to store unit definitions that are made on the fly and keep them after the program ends⚡💾.