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"
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 | |
|---|---|---|---|
| time2words-0.1.2.tar.gz | 4.2 kB | 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 |