This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Convert time deltas into phrases like “5 minutes ago”, “3 hours ago”, “2 days ago” etc.

This package has a number of modules in it, each for separate language. It is standard that module pytimeago.X has function X, which accepts at least on argument – number of seconds between two events. It may also accept extra keywords, which should be documented in the docstring of the function. Returned is always unicode string.

Usage pattern:

from pytimeago.english import english from time import time, sleep

a = time() # …do something here… delta = int(time() - a) # could use sometimedetal.total_seconds() print “job started %s” % english(delta)

Prints, e.g.

job started 15 minutes ago

Available languages are:

from pytimeago.english import english from pytimeago.english import english_short from pytimeago.french import french

Licenced under GNU Lesser General Public License, you can get a copy at: http://www.gnu.org/licenses/lgpl.html

Written by Adomas Paltanavicius (adomas.paltanavicius@gmail.com). Packaged, french added, and computation enhanced by Stephane “Twidi” Angel (s.angel@twidi.com)

Release History

Release History

2.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pytimeago-2.0.tar.gz (4.1 kB) Copy SHA256 Checksum SHA256 Source Mar 13, 2016

Supported By

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