timedelta_nice_format
Overview.
timedelta_nice_format is a PYPI package made with only one simple goal to convert time durations into nice human readable format
datetime.timedelta into nice formatted string
import datetime
from timedelta_nice_format import timedelta_nice_format
start = datetime.datetime.now()
# ...
# You code here
# ...
print(
"Duration:",
timedelta_nice_format(
datetime.datetime.now()-start
)
)
duration in seconds into nice formatted string
import time
from timedelta_nice_format import seconds_nice_format
start = time.time()
# ...
# You code here
# ...
print("Duration:", seconds_nice_format(time.time()-start))
Installation via pip:
pip install timedelta_nice_format
Links
Contacts
License
This project is licensed under the MIT License.
Metadata
Release files for timedelta-nice-format 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| timedelta_nice_format-0.1.0.tar.gz | 3.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| timedelta_nice_format-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.6 kB
Release files / timedelta_nice_format-0.1.0.tar.gz
| Download URL | timedelta_nice_format-0.1.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5f231a646f3f39df520bb30d1fcd279925b5726079f56be63ebb63f9329c6f4c
|
|
BLAKE2b-256 checksum How to use checksums |
d8b3cef3f67190030c5431511988df19fdfd340ca7c8a1587e10a9b6ad78c9f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.9.7 Windows/10
|
Release files / timedelta_nice_format-0.1.0-py3-none-any.whl
| Download URL | timedelta_nice_format-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1257b3cd5d20e3d560884b3a8b6e4a5179b6a50a5aa4a9a44d92f6313f5a0c38
|
|
BLAKE2b-256 checksum How to use checksums |
dd3c15251baa9760d461ad089b24c59b386f1c85a4a957af75f326f4cb4fbf3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.9.7 Windows/10
|
Security for timedelta-nice-format 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.