Metadata-Version: 2.1
Name: iva2k-how-long
Version: 0.1.4
Summary: A simple decorator to measure a function excecution time.
License: MIT
Author: iva2k
Author-email: iva2k@yahoo.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)
Description-Content-Type: text/x-rst

iva2k_how_long
==============

Simple Decorator to measure a function execution time.

Very lightweight project to get familiar with poetry publishing to PyPi, built from tutorial https://www.pythoncheatsheet.org/blog/python-projects-with-poetry-and-vscode-part-1


Example
_______

.. code-block:: python

    from iva2_how_long import timer


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