Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ltddev/MyPythonista
All Pythonista apps and coding
https://github.com/ltddev/MyPythonista
Last synced: 3 months ago
JSON representation
All Pythonista apps and coding
- Host: GitHub
- URL: https://github.com/ltddev/MyPythonista
- Owner: ltddev
- Created: 2014-09-30T00:03:54.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-16T15:40:03.000Z (over 9 years ago)
- Last Synced: 2024-05-16T02:42:02.899Z (6 months ago)
- Language: Python
- Size: 240 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- project-awesome - ltddev/MyPythonista - All Pythonista apps and coding (Python)
README
# MyPythonista
All Pythonista apps and coding## PythonistaClockGadget
When I'm happily coding away on stuff I always seem to lose track of time and even though I can see the digital clock on the upper status area of my iPad I like to look at an analog clock like a widget on Windows and marvel at a smooth second hand. I have also been experimenting with redering svg graphics in Pythonista to create some very cool, smooth transitions so I created a very simple "Pythonista Gadget" to constantly view the time on a smooth second handed analog clock that I present As"sidebar" which lets me continue to use the live editor and even run other Python at the the prompt. Nothing fancy -- I never was a "ui guy", my expertise was on the back end, and the ui could use work -- but it it is practical for my personal use.It also has the ability to speak the time and location on demand.
The SVG clock code should be attributed to its author, but I cannot determine the author. Instead, the particular location I found this clock via a google search for "svg analog clock in Python with smooth second hand" is:
http://codegolf.stackexchange.com/questions/20646/create-an-analogue-clock
I was working on making this a "talking clock" which was my original intention. I had controls to choose whether or not to announce the time, if so the duration between announcements and so on but I simply could not get a background thread going to do what I wanted to. Any suggestions on how to add a background task to poll for current time and then do something about it on a given schedule - in the Pythonista environment, and in Python -- would be helpful to finish this goal.
See: http://omz-forums.appspot.com/pythonista/post/6162554669760512