Skip to content

Spiral time was a 2am idea for a fancy watch and has nothing to do with spirals.

Notifications You must be signed in to change notification settings

billybednar/pyspiral

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

pyspiral

Spiral time was a 2am idea for a fancy watch and has nothing to do with spirals. Hours go from 0 up to 12 and back down to 0. Minutes and seconds go from 0 to 30 and back to 0. Pyspiral can convert to spiral time and also has a graphical clock.

Usage

For any datetime:

from datetime import datetime
from pyspiral import spiraltime
someTime = datetime.now()
print spiraltime(someTime)

Output: ↑00:↑03:↓23 (at 12:04:36 am)

As a shortcut for the current spiral time you can use spiralnow()

To display the graphical clock:

from pyspiral import SpiralClock
x = new SpiralClock()
x.run()

About

Spiral time was a 2am idea for a fancy watch and has nothing to do with spirals.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages