Skip to main content

Manage the time of your script

Project description

logo

timequota

Manage the time of your python script.

from timequota import TimeQuota

tq = TimeQuota(2, "h")

# ...

tq.update()

for i in range(100):

    # ...

    will_exceed_time = tq.track()
    if will_exceed_time:
        # ...
        break

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.6.tar.gz (5.7 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.6-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: timequota-0.0.6.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

File hashes

Hashes for timequota-0.0.6.tar.gz
Algorithm Hash digest
SHA256 9e0ee5d2dadc3e422cd2a230f036f7bbcebf88815766cd09adc242c013555a18
MD5 ccf1f747a8876b2302480a0e493b6b08
BLAKE2b-256 6e87cf8c02857698b2d69a13dbcbb488696e01b42eb9052d4fd283f78cbbfb85

See more details on using hashes here.

File details

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

File metadata

  • Download URL: timequota-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

File hashes

Hashes for timequota-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 aa370d38dfd39cc918d416074f969ed1b996174d465035c16ac41c429e789142
MD5 432f787cc5579500aa6491f40250cffd
BLAKE2b-256 a56b0d94575fbf628ad9ca2e5d54cb8a89d12ff122d75b44dfb9510781707788

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