Metadata-Version: 2.1
Name: TimeBoss
Version: 0.1
Summary: A lightweight python timing class
Home-page: https://github.com/chrhck/TimeBoss
Author: Christian Haack
Author-email: chr.hck@gmail.com
License: UNKNOWN
Description: # TimeBoss
        Lightweight python timing class. Inspired by `TimeLord` (https://github.com/IceCubeOpenSource/skyllh)
        
        ## Usage
        ```python
        from time_boss import TimeBoss
        import numpy as np
        
        with TimeBoss("root1"):
            for i in range(100):
                a = np.random.uniform(10000)
                with TimeBoss("sum"):
                    np.sum(a)
                with TimeBoss("mean"):
                    np.average(a)
        
        with TimeBoss("root2"):
            a = np.random.normal(100000)
        
        TimeBoss.result(unit="ms")
        ```
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
