Skip to main content

The library includes advanced timekeeping and timing features, suitable for both very fast and very long time counting.

Project description

timesl

timesl is a Python library that extends time.sleep functionality with the following features:

  • Supports multiple time units: from nanoseconds to millennia.
  • Default unit is milliseconds (mls).
  • Supports Virtual Time (VT) for very long durations.
  • Provides utility functions: ts.now(), ts.format_time(), is_leap(), days_in_month().

Requirements

  • Python >= 3.8
  • Standard libraries: datetime, calendar (built-in)

Installation

1. From PyPI (after release)

pip install timesl

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

timesl-0.2.1.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

timesl-0.2.1-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file timesl-0.2.1.tar.gz.

File metadata

  • Download URL: timesl-0.2.1.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.12

File hashes

Hashes for timesl-0.2.1.tar.gz
Algorithm Hash digest
SHA256 0231bfee2621daaf4373286712d68d1dbec34b7a87d52edf8003136f1bd3fcd8
MD5 08913588e8efd3a09af54fb3c1952371
BLAKE2b-256 2abf8d2c85e6b111795ccc122dfac33c9a457ab5ed28a11c0dca16aeba3b92d7

See more details on using hashes here.

File details

Details for the file timesl-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: timesl-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.12

File hashes

Hashes for timesl-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 babe27829f5a2544f6931cca7d436410394a36d46eff150a258a817376fde3a5
MD5 492855c70eb922c1c25328c7d0f6fde9
BLAKE2b-256 e499bc8ad9872737d704e2a702075d7fb230b275daae992aa90c133405605afb

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