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().
Build Environment
This package was developed and published directly from an Android device.
- Device: Oppo A1K (released 2019, purchased 2021)
- Platform: Android
- Tools: Termux, Pydroid 3
- Python versions tested: 3.12, 3.13
Requirements
- Python >= 3.9
- Standard libraries:
datetime,calendar(built-in)
Installation
1. From PyPI (after release)
pip install timesl
Project details
Release history Release notifications | RSS feed
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.1rc1.tar.gz
(5.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file timesl-0.2.1rc1.tar.gz.
File metadata
- Download URL: timesl-0.2.1rc1.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e11b33ea3b4e171f64d6dd6e059ae9f83fbe04efb4ab1dd522f7f05b1890332b
|
|
| MD5 |
38f8237b72787f0700338cb4faae5b8c
|
|
| BLAKE2b-256 |
6ed94cb15058e86654d2ac763a02f06590b087147a106c1c132136c1adccb210
|
File details
Details for the file timesl-0.2.1rc1-py3-none-any.whl.
File metadata
- Download URL: timesl-0.2.1rc1-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6887eed618d0bffcaa9a4400e3804fc7bf4d7a1536dff029dd5cd7c21d846eb5
|
|
| MD5 |
a97f14ab5adc414ee0b69e408af5343d
|
|
| BLAKE2b-256 |
644929141e7fcc7d89ac6523cff684d6e544c42c9823ac722fe554966a98639b
|