Convenience routines for timing.
Function ISOtime(gmtime)
Produce an ISO8601 timestamp string from a UNIX time.
Function sleep(delay)
time.sleep() sometimes sleeps significantly less that requested.
This function calls time.sleep() until at least delay seconds have
elapsed, trying to be precise.
Function time_from_ISO(isodate, islocaltime=False)
Parse an ISO8601 date string and return seconds since the epoch. If islocaltime is true convert using localtime(tm) otherwise use gmtime(tm).
Function time_func(func, *args, **kw)
Run the supplied function and arguments. Return a the elapsed time in seconds and the function's own return value.
Function tm_from_ISO(isodate)
Parse an ISO8601 date string and return a struct_time.
Metadata
Release files for cs.timeutils 20190101
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cs.timeutils-20190101.tar.gz | 2.5 kB | Details |
Release files / cs.timeutils-20190101.tar.gz
| Download URL | cs.timeutils-20190101.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0b2c865779c3fafe85b59abbb57e77a39ceb140c4fb6c337fcacb77eddf8c218
|
|
BLAKE2b-256 checksum How to use checksums |
9ffd40b162f5511bdc37f46459c9e4300f16359b1e7d90f57c80b84acdea51f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/3.6.6
|