Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
TaskProgressBar is a Python package designed for visualizing task progress in Jupyter Notebooks. It provides a colorful and intuitive display of multiple task statuses, such as pending, ongoing, success, failed, and cached. The package leverages ipywidgets
to create dynamic, real-time updating progress bars.
This project is created with the help of GPT-4.
Install TaskProgressBar by running the following command in your Python environment:
pip install ipywidgets
pip install taskprogressbar
Ensure that you have ipywidgets installed and enabled in your Jupyter environment to use TaskProgressBar. Usage
Here is a simple example of how to use TaskProgressBar:
from taskprogressbar import TaskProgressbar
# Create a list of task identifiers
task_ids = ['task1', 'task2', 'task3', 'task4']
# Initialize the progress bar with tasks as pending status
progress_bar = TaskProgressbar(task_ids)
# Display the progress bar in a Jupyter Notebook
progress_bar.display()
# Example: Update task statuses
progress_bar.update_task_status('task1', 'ongoing')
progress_bar.update_task_status('task2', 'success')
progress_bar.update_task_status('task3', 'failed')
progress_bar.update_task_status('task4', 'cached')
This will display a progress bar in your Jupyter notebook, updating in real-time as tasks change status.
Contributions are welcome! For major changes, please open an issue first to discuss what you would like to change.
Please ensure to update tests as appropriate.
Distributed under the MIT License. See LICENSE for more information.
FAQs
A package for displaying a multi-color task progress bar in Jupyter.
We found that taskprogressbar 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.