
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
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.
import sys
from repl_python_wakatime.backends.wakatime import Wakatime
from repl_python_wakatime.frontends.python import Python
sys.ps1 = Python(Wakatime())
${XDG_CONFIG_HOME:-$HOME/.config}/ptpython/config.py:
from repl_python_wakatime.backends.wakatime import Wakatime
from repl_python_wakatime.frontends.ptpython import Ptpython
def configure(repl: PythonRepl) -> None:
repl.all_prompt_styles[repl.prompt_style] = Ptpython(
Wakatime(), repl.all_prompt_styles[repl.prompt_style]
)
~/.ipython/profile_default/ipython_config.py:
from repl_python_wakatime.backends.wakatime import Wakatime
from repl_python_wakatime.frontends.ipython import Ipython
c.TerminalInteractiveShell.prompts_class = lambda *args, **kwargs: Ipython(
Wakatime(),
c.TerminalInteractiveShell.prompts_class(*args, **kwargs),
)
Your gdb must be compiled with
python port.
~/.config/gdb/gdbinit:
source ~/.config/gdb/gdbinit.py
~/.config/gdb/gdbinit.py:
from repl_python_wakatime.backends.wakatime import Wakatime
from repl_python_wakatime.frontends.gdb import StopHook
StopHook(Wakatime())
You can use many hooks at the same time:
from repl_python_wakatime.backends.chainedhook import ChainedHook
from repl_python_wakatime.backends.codestats import CodeStats
from repl_python_wakatime.backends.wakatime import Wakatime
from repl_python_wakatime.frontends.python import Python
sys.ps1 = Python(ChainedHook(hooks=(Wakatime(), CodeStats())))
You can use this project to statistic the time of using any programs. Such as, translate-shell is a translating program:
from repl_python_wakatime.backends.wakatime import Wakatime
from repl_python_wakatime.frontends import Repl
repl = Repl(Wakatime(language="translate-shell", category="translating"))
# after each translating
repl()
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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.