Skip to main content

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

from iva2_how_long import timer


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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iva2k-how-long-0.1.4.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iva2k_how_long-0.1.4-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

Details for the file iva2k-how-long-0.1.4.tar.gz.

File metadata

  • Download URL: iva2k-how-long-0.1.4.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.7.9 Windows/7

File hashes

Hashes for iva2k-how-long-0.1.4.tar.gz
Algorithm Hash digest
SHA256 31b5bb745fbfd7429b1c433ea608bdfb4903375902d9df0642ecfea990df56e8
MD5 6e7f6265f603888c548bca33ab038c01
BLAKE2b-256 78dfb0a432d53f50f240cba047f41c7cc68df9a30d1432086fe982bf2c2c8c60

See more details on using hashes here.

File details

Details for the file iva2k_how_long-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: iva2k_how_long-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 1.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.7.9 Windows/7

File hashes

Hashes for iva2k_how_long-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7394681b173ee63f1b744288ea4112a0f0821597dadb59567081d86c0e5edc35
MD5 1f3bda75f939177aac11c10193e4586a
BLAKE2b-256 57dfb4a95801691859f8b9d657c99a41da0d36f730758fb90e731e50c3323619

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page