Skip to main content

Limit the time of your script

Project description

timequota

pip install -U timequota

Limit the time of your python script.

Example Notebook

Changelog

0.0.2

✨ New Feature:

  • added name and verbose options
  • added reset()

🚑 Critical Hotfix:

  • fixed time exceeded in update()

👌 Improve:

  • added time_exceeded attribute
  • added str and repr dunder
  • changed to update time_since in the end

🔨 Refactor Code:

  • added time exceeded bool check
  • minor print changes

0.0.1

💥 NEW

  • added update() and track()

📖 DOC

  • added example demo nb

0.0.0

🎉 Initial Commit

Project details


Download files

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

Source Distribution

timequota-0.0.2.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

timequota-0.0.2-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file timequota-0.0.2.tar.gz.

File metadata

  • Download URL: timequota-0.0.2.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.4

File hashes

Hashes for timequota-0.0.2.tar.gz
Algorithm Hash digest
SHA256 a8742b8c8ecdef0c6c764198d0bbf23ebe0f64218937cdd9aaf57fa19ce8ba1a
MD5 49f821b37e3e0a44e30cf9a073675a60
BLAKE2b-256 0b92e4313c4a4274e54ac5faebbef0642892c011ff986dc6f1e658e03566748e

See more details on using hashes here.

File details

Details for the file timequota-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: timequota-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.4

File hashes

Hashes for timequota-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 50e35ee22ce6bb616d3c068d497e8cd5772b204098f32210b8019b0e23015581
MD5 29029fa11bca61a4cc1e504b5667508c
BLAKE2b-256 6cf407912c178f89ebb791b639c5421b655061e3af0bb0563219782845155e29

See more details on using hashes here.

Supported by

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