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

(‘Tim: Timed iteration monitorn============================nnA common pattern I have when writing code to import or treat large chunk of data is to do some printing to track the progress and some timing to monitor the speed.nSo I often end up with some variation of this in my code:nn“`pythonnfrom datetime import datetimenstart = datetime.now()nn = 0nfor i in my_iter:n n+=1n print “\r”, i,n # do stuffnprint start - datetime.now()nprint (start - datetime.now()) / n / 100n“`nnnwhich is a lot to remember and type which in turn make it easy to introduce bugs in some edge case which you need then to debug.nnSo I wrote tim to help me do just that, so I have this pattern ready for use and working and can spend my time coding my data treatment instead of debbugging my helper code.nn*WARNING* : This is alpha level stuff, I’m still working out the proper way to do stuff so the API may still change a bit.nnHow to use timn————–nnCommon usage pattern would probably be:nn“`pythonnimport timnntim.start()nfor i in my_iter:n tim.pulse_print() # print current progressn # do stuffntim.stop() # print overall stats and reset countern“`nnIf you just need to monitor start and stop you can use:nn“`pythonntim.start()n# calculationntim.stop() # print elapsed time and resetn“`nnnInstallationn————nn pip install timn’,)

Release History

Release History

0.5

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

0.4

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

0.3

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

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

0.1

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
tim-0.5-py2.7.egg (2.5 kB) Copy SHA256 Checksum SHA256 2.7 Egg May 30, 2014
tim-0.5-py2.py3-none-any.whl (4.0 kB) Copy SHA256 Checksum SHA256 2.7 Wheel May 30, 2014
tim-0.5.tar.gz (2.4 kB) Copy SHA256 Checksum SHA256 Source May 30, 2014

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