Skip to main content

Current PyPi Version Supported Python Versions codecov docs tests style

pip install cantilever

# Example

import time

from cantilever.core.timer import show_timings, timeit

with timeit("here"):
    for _ in range(10):
        with timeit("this"):
            time.sleep(0.1)

show_timings(force=True)
Timings:
#                                          |      avg |    total |       sd |    count
# root ................................... |     1.00 |     1.00 |     0.00 |     1.00
#  here                                    |     1.00 |     1.00 |     0.00 |     1.00
#   this _________________________________ |     0.10 |     1.00 |     0.00 |    10.00

Download files

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

Source Distribution

cantilever-0.1.1.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

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

cantilever-0.1.1-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file cantilever-0.1.1.tar.gz.

File metadata

  • Download URL: cantilever-0.1.1.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for cantilever-0.1.1.tar.gz
Algorithm Hash digest
SHA256 91e356d7460a439ffbb8ed0f82a053c1b5928f621f9b6e826e41ac216e6ca443
MD5 aee62571ab6f936de8344b90b7852887
BLAKE2b-256 54b86c13dd8a75bbf757a20172dd1bfba48d549da2f67ceec00c94949f8b1911

See more details on using hashes here.

File details

Details for the file cantilever-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: cantilever-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for cantilever-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 24077eb8cb3a177a6c2d7acc487c4cdb96e16d2b9b8c7766e17d4ef45dc671f2
MD5 c3d562ffccffc1cd0b70e4bf6780ea9a
BLAKE2b-256 d4c62022e311aba61e16f4e57513eb399aa8492f3692ceeed8cf5b333cab6127

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

0.1.0

2 files

0.0.2

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page