Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
simpletextprogressbar
Advanced tools
This Text Progress Bar is made for projects that don't need great, big, confusing, etc. progress bars. It's code is only 3 KB, and It provides any progress bar relative size, with any relative value, with any prefix before the Progress Bar.
pip install simpletextprogressbar
Or use the .whl provided on GitHub
Just
import simpletextprogressbar
This imports the Progress Bar into your code
simpletextprogressbar.set_progress_bar()
This function sends a unfinished line to the console.
simpletextprogressbar.change_position(position, size, optional_prefix, writeTheSameLineWhenFinished)
This function sets a new progress bar in the relative position from the relative size, and also prints a text before the progress bar, If specified.
Imagine a example file:
import time
import simpletextprogressbar
simpletextprogressbar.set_progress_bar()
for x in range(10):
simpletextprogressbar.change_position(x+1, 10, "Filling 10% in 500 ms")
time.sleep(0.5)
It Will return this:
If you find any bugs or want anything to be on the code, you are encouraged to use GitHub to tell me :)
Enjoy! 😉
FAQs
A simple progress bar for simple projects
We found that simpletextprogressbar 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.