repl-python-wakatime
Python REPL plugin for automatic time tracking and metrics generated from your programming activity.
Science Score: 54.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
1 of 4 committers (25.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (5.0%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
Python REPL plugin for automatic time tracking and metrics generated from your programming activity.
Basic Info
- Host: GitHub
- Owner: wakatime
- License: gpl-3.0
- Language: Python
- Default Branch: main
- Homepage: https://repl-python-wakatime.readthedocs.io/
- Size: 101 KB
Statistics
- Stars: 9
- Watchers: 4
- Forks: 3
- Open Issues: 2
- Releases: 11
Topics
Metadata Files
README.md
repl-python-wakatime
Python REPL plugin for automatic time tracking and metrics generated from your programming activity.
Supported REPLs:
- [x] python:
- executes
str(sys.ps1)after every input. - configure file:
$PYTHON_STARTUP.
- executes
```python from replpythonwakatime.python import install_hook
install_hook() ```
- [x] ptpython:
- executes
get_ptpython().get_output_prompt()after every output. - configure file:
.../ptpython/config.py....depends on OS.
- executes
```python from ptpython.repl import PythonRepl from replpythonwakatime.ptpython import install_hook
def configure(repl: PythonRepl) -> None: install_hook(repl) ```
- [x] ipython:
- executes
c.TerminalInteractiveShell.prompts_class(shell).out_prompt_tokens()after every output. - configure file:
~/.ipython/profile_default/ipython_config.py.
- executes
```python from replpythonwakatime.iptpython import install_hook
install_hook(c) ```
- [x] gdb:
Your gdb must be compiled with
python port.
~/.config/gdb/gdbinit:
gdb
source /the/path/of/repl_python_wakatime/gdb.py
See GDB Hooks to know more.
Use environment variables HOOK_NAMES=hook1:hook2 to defines which
hook will be used.
- [x] ptipython: Same as ipython.
- [ ] bpython
- [ ] xonsh
- [ ] mypython: Won't fix.
- configure file: non-exist.
install_hook() must be after the customization of the prompt string and best
at the end of file.
Configure
```python from replpythonwakatime.python import install_hook
installhook(hookfunction, 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 codestats- Create your hooks for other similar projects, such as:
- codetime
- rescuetime
- ...
Similar projects
Owner
- Name: WakaTime
- Login: wakatime
- Kind: organization
- Email: support@wakatime.com
- Location: San Francisco
- Website: https://wakatime.com
- Twitter: WakaTime
- Repositories: 75
- Profile: https://github.com/wakatime
Dashboards for developers, powered by open source IDE plugins.
Citation (CITATION.cff)
---
cff-version: 1.2.0
message: If you use this software, please cite it as below.
authors:
- family-names: Wu
given-names: Zhenyu
orcid: https://orcid.org/0000-0001-6478-9993
title: "repl-python-wakatime: Python REPL plugin for automatic time tracking and metrics generated from your programming activity"
date-released: 2023-01-12
url: https://github.com/wakatime/repl-python-wakatime
GitHub Events
Total
- Watch event: 1
- Push event: 68
- Fork event: 1
- Create event: 1
Last Year
- Watch event: 1
- Push event: 68
- Fork event: 1
- Create event: 1
Committers
Last synced: 7 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Wu Zhenyu | w****u@u****u | 29 |
| dependabot[bot] | 4****] | 5 |
| pre-commit-ci[bot] | 6****] | 4 |
| Alan Hamlett | a****t@g****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 7 months ago
All Time
- Total issues: 0
- Total pull requests: 10
- Average time to close issues: N/A
- Average time to close pull requests: 3 months
- Total issue authors: 0
- Total pull request authors: 2
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 8
- Bot issues: 0
- Bot pull requests: 10
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- dependabot[bot] (10)
- pre-commit-ci[bot] (6)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 74 last-month
- Total dependent packages: 2
- Total dependent repositories: 1
- Total versions: 9
- Total maintainers: 2
pypi.org: repl-python-wakatime
Python REPL plugin for automatic time tracking and metrics generated from your programming activity
- Homepage: https://repl-python-wakatime.readthedocs.io
- Documentation: https://repl-python-wakatime.readthedocs.io/
- License: GPL v3
-
Latest release: 0.0.12
published 7 months ago
Rankings
Maintainers (2)
Dependencies
- actions/checkout v3 composite
- actions/setup-python v4 composite
- actions/upload-artifact v3 composite
- codecov/codecov-action v3 composite
- pypa/gh-action-pypi-publish release/v1 composite
- softprops/action-gh-release v1 composite
- myst-parser *
- sphinxcontrib-eval *
- pre-commit * development
- ptpython * development
- pytest-cov * development
- ipython *
- ptpython *
- ptpython *
- keyring *