![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
.. image:: https://travis-ci.org/JarrodCTaylor/ttd.svg?branch=master :target: https://travis-ci.org/JarrodCTaylor/ttd
Time Till Done ttd
for short is a simple progress bar to help give you some
feedback for your long running Python scripts.
pip install ttd
.. image:: https://cloud.githubusercontent.com/assets/4416952/3593813/177b9caa-0c8e-11e4-9e6d-87340fe43bd1.gif
The easiest way to use the module is in a for loop as demonstrated in the demo gif above and the code snippet below.
.. code:: python
import time
from ttd import ttd
for i in ttd(range(99)):
time.sleep(.05)
You may also update the progress bar manually by calling print_ttd(index, total)
throughout your script as demonstrated below.
.. code:: python
import time
from ttd import print_ttd
print_ttd(0, 5)
time.sleep(.5)
print_ttd(1, 5)
time.sleep(.04)
print_ttd(2, 5)
time.sleep(.5)
print_ttd(3, 5)
time.sleep(.5)
print_ttd(4, 5)
time.sleep(.5)
print_ttd(5, 5)
print("\ndone")
FAQs
Time Till Done (ttd) is a simple progress bar for your long running Python scripts
We found that ttd demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.