Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Returns time as a human would say it.
Python
tree: abccf788f4

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
README.md
__init__.py
human_time.py
human_time_test.py

README.md

Quick Start

On OSX

python human_time.py | say

On Ubuntu

python human_time.py | espeak

In your own Python scripts

import human_time

print human_time.human_time()

You can also pass in your own datetime object

from datetime import datetime
import human_time

human_time.human_time(datetime(2011, 9, 1, 1, 2))
Something went wrong with that request. Please try again.