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 20190220
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-20190220.tar.gz | 2.6 kB | Details |
Release files / cs.timeutils-20190220.tar.gz
| Download URL | cs.timeutils-20190220.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3075bff8a24aa0847d5714b6e5c3423682c2016210583bd74c766b6b2d73e082
|
|
BLAKE2b-256 checksum How to use checksums |
72cc2006958576bc79a84bee4b6e84e530b96f0ec987bf8d4e828136a20b240b
|
| 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.8
|