time2words
Module for converting numerical representation of time to text.
Currently this works only for relative time and the output shows an aproximation. E.g. “about five and a half months”.
Including precise time and time of day is work in progress.
Usage
from time2words import relative_time_to_text relative_time_to_text(years=5, months=8, days=5) # -> "less than six years"
Metadata
Release files for time2words 0.1.2
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 | |
|---|---|---|---|---|
| time2words-0.1.2.tar.gz | 4.2 kB | Without provenance | Details |
Release files / time2words-0.1.2.tar.gz
| Download URL | time2words-0.1.2.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fff36a3f80a418d5b58fd3f2e328d1d36dbe5b3a13dfafc490d7e26f41c260b5
|
|
BLAKE2b-256 checksum How to use checksums |
38180bff95bf1313df9533671b1d61c21e936ea0f1bc4c5903509200281202e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for time2words 0.1.2
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.