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.
repl-python-wakatime
Advanced tools
Python REPL plugin for automatic time tracking and metrics generated from your programming activity
Python REPL plugin for automatic time tracking and metrics generated from your programming activity.
Supported REPLs:
str(sys.ps1)
after
every input.$PYTHON_STARTUP
.from repl_python_wakatime.python import install_hook
install_hook()
get_ptpython().get_output_prompt()
after every output..../ptpython/config.py
. ...
depends on OS.from ptpython.repl import PythonRepl
from repl_python_wakatime.ptpython import install_hook
def configure(repl: PythonRepl) -> None:
install_hook(repl)
c.TerminalInteractiveShell.prompts_class(shell).out_prompt_tokens()
after
every output.~/.ipython/profile_default/ipython_config.py
.from repl_python_wakatime.iptpython import install_hook
install_hook(c)
install_hook()
must be after the customization of the prompt string and best
at the end of file.
from repl_python_wakatime.python import install_hook
install_hook(hook_function, args, kwargs)
will execute hook_function(*args, **kwargs)
after every output/input. Other
REPLs are similar. Currently, hook_function
can be:
repl_python_wakatime.hooks.wakatime.wakatime_hook()
: By default.repl_python_wakatime.hooks.codestats.codestats_hook()
: for codestatsSome programs is written in python or providing a python port. We can use this project to statistic their time:
FAQs
Python REPL plugin for automatic time tracking and metrics generated from your programming activity
We found that repl-python-wakatime demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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.