
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
A very minimalistic python module that lets you track the time your code snippets take to run.
A very minimalistic python module that lets you track the time your code snippets take to run.
This package is available on PyPI! Run the following command on your terminal to use it in your project.
pip install clock-keeper
from clock_keeper.utility import Timer
timer = Timer()
timer.markStart()
for loop in lengthy_task:
# Computing the meaning of life.
timer.markEnd()
started processing: 2022-01-19 16:24:57.534867
done processing: 2022-01-19 16:25:05.282381
this operation took: 0:00:07.747514
Feel free to fork this project and add testing functionality and better terminal logging (especially if you want it in your production use cases).
Cheers, Rajdeep. <3
FAQs
A very minimalistic python module that lets you track the time your code snippets take to run.
We found that clock-keeper 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
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.