Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Insert Clocks in templates

Project description

Detailed Documentation

Clock widget for toscawidget and turbogears

This Widget encapsulates the epiclock JavaScript library for inserting clocks and countdowns contents in a standard-friendly manner.

The current epiclock version packaged with this widget is version 3.0 From within your controller, simply instantiate an Epiclock and return this instance to be rendered within your template:

from tw.epiclock import Epiclock
from tg import tmpl_context
tmpl_context.my_clock = Epiclock("my_clock")

From within your template, simply call the epiclock:


Another common use is display server time somewhere in a header zone in lib/

from tw.epiclock import Epiclock
clock = Epiclock("clock", format="j-n-Y G:i:s")

anywhere in templates:


custom renderers (retros) are not available is this release

in static jquery.dateformat.js and jquery.epiclock.js are for documentation purpose only the minimized versions are actually injected in your code


Main developpers

  • Nicolas Laurance <nicolas[dot]laurance[at]gmail[dot]com>

Change history

New in 0.1

First Release

Project details

Release history Release notifications

This version
History Node


History Node


History Node


History Node


History Node


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
tw.epiclock-0.1a3dev-20110304.tar.gz (21.2 kB) Copy SHA256 hash SHA256 Source None Mar 4, 2011

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page