Skip to main content

Time Bandit

header_image

netlify badge Build Status

Timer utilities for Python 3.5+ Development

macOS Version GitHub Pipenv locked Python version nuxt.js

These are handy automation and informational utilities. Add more, change some, make some additions/corrections...

Please feel free to offer suggestions and changes.

Copyright © 1976-2020 Michael Treanor

License

Installation

TLDR: clone the repo and run ./setup.sh

WHY?

  • comparison of different methods
  • profiling features under real world loads with decorators and log readers
  • visualize outcomes in unique ways

CII Best Practices test coverage


Prerequisites

  • Python version 3.5+

Installed by this setup as needed:

Install

pip install timebandit

- or -

if you wish to make modifications or contribute to the open source project:

# clone the repo
git clone https://www.github.com/skeptycal/

# change to the repo directory
cd user_bin_dir_repo

# run the init script
./init

# optional: # use './init --nobrew' to skip install of homebrew and utilities
./init --nobrew

Usage

from timebandit import timeit

# as a decorator

@timeit
def myfunction(x):
    ... do stuff ...

#     - or -

# as a function call

the_result = timeit(myfunction(5))
print(the_result)

Feedback

Contributor Covenant

Suggestions/improvements are welcome!


Author

twitter/skeptycal

Michael Treanor

Twitter Follow GitHub followers

Metadata

Release files for timebandit 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for timebandit 0.1.1
File Size Uploaded Provenance Actions
timebandit-0.1.1.tar.gz 12.0 kB Without provenance Details for timebandit-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for timebandit 0.1.1
File Interpreter ABI Platform Actions
timebandit-0.1.1-py3-none-any.whl Python 3 none any Details for timebandit-0.1.1-py3-none-any.whl

Total release size: 23.7 kB

Release files / timebandit-0.1.1.tar.gz

Download URL timebandit-0.1.1.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e0b6928475f5db8000de66245f576d3ad585bcf387feafa890f500c632109fbd
BLAKE2b-256 checksum
How to use checksums
f8cc48d12446543f392e31aa487dbb53cff0e1a2800f51ce79d93c6c56a675ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.10 CPython/3.8.5 Darwin/20.0.0

Release files / timebandit-0.1.1-py3-none-any.whl

Download URL timebandit-0.1.1-py3-none-any.whl
Size 11.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1b81bbe625185a6c7160fafeac714f4725609973d87fc40c14acd95fab801e5c
BLAKE2b-256 checksum
How to use checksums
ed204d05d09f4ce316b044c4a3b78fb89f2f8b78a90df7ae66132313c15fb27f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.10 CPython/3.8.5 Darwin/20.0.0

Security for timebandit 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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