Metadata-Version: 2.1
Name: how-short
Version: 0.1.1
Summary: A simple decorator to measure a function excecution time. Clone of https://pypi.org/project/how-long/.
Home-page: https://github.com/borgishmorg/how-short
License: MIT
Author: Aleksey Semenov
Author-email: alexsemenov1610@gmail.com
Requires-Python: >=3.7,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: pendulum (>=2.1.2,<3.0.0)
Project-URL: Repository, https://github.com/borgishmorg/how-short
Description-Content-Type: text/x-rst

how_short
=========

Simple Decorator to measure a function execution time.
Clone of `how-long <https://pypi.org/project/how-long/>`_.

Example
_______

.. code-block:: python

    from how_long import timer


    @timer
    def some_function():
        return [x for x in range(10_000_000)]
