Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A Python library for converting numerical representation of time to text.

Project Description

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 History

This version
History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

History Node

0.0.2

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
time2words-0.1.2.tar.gz
(4.2 kB) Copy SHA256 Hash SHA256
Source None Jul 15, 2015

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting