Metadata-Version: 2.1
Name: physunits
Version: 0.0.2
Summary: Physical units as global variables for simple numerical propagation
Home-page: https://github.com/pacosalces/physunits
Author: pacosalces
Author-email: pacosalces@gmail.com
License: UNKNOWN
Description: # physunits
        
        Simple package with common physical unit definitions. 
        
        ## Installation
        
        ## Usage
        
        An example usage of this package is:
        ``>> from physunits import *
        >> print(f"{1000 * cm / um:.2f} is how many microns there are in a thousand centimeters")
        10000000.00 is how many microns there are in a thousand centimeters
        ``
        
        The package tries to include only the most used unit prefixes, but you can generate other units, for example:
        ``>> from physunits import *
        >>> minute = 60 * s
        >>> hour = 60 * minute
        >>> day = 24 * hour
        >>> print(f'There are approximately {365*day / hour} hours in a year.')
        There are approximately 8760.0 hours in a year.
        ``
        The unit prefixes act as globals. If only a set of units is desired, manually importing them as:
        ``from physunits import mm, nm, um``
        is sufficient. 
        
        ## Contact and support
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
