Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○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
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (7.4%) to scientific vocabulary
Repository
Tool to dump python thread and greenlet stacks.
Basic Info
- Host: GitHub
- Owner: wooparadog
- License: bsd-3-clause
- Language: Python
- Default Branch: master
- Size: 74.2 KB
Statistics
- Stars: 163
- Watchers: 2
- Forks: 25
- Open Issues: 0
- Releases: 2
Metadata Files
README.md
pystack-debugger
The pystack-debugger is to python as jstack is to java.
It's a debug tool to print python threads or greenlet stacks.
Idea stolen from pyrasite.
Requirements
- Python 3.8+ (CPython implementation)
- Debugger: Either
gdb(Linux) orlldb(macOS/Linux) - Privileges: Root access (
sudo) to attach to other processes
Note: On some Linux systems, you may need to adjust the ptrace_scope setting to allow debugger attachment.
Install
$ pip install pystack-debugger
Usage
You may need to run it with sudo.
$ sudo pystack [--include-greenlet] <pid>
Compatibility
The pystack is compatible with CPython 3.8+ in both client side (the debugger) and server side (the destination process).
Using PyPy may work in client side (the debugger) but it is untested. Do not attempt to attach a PyPy process as destination. It may lead to unexpected and undefined behavior, because the pystack debugger uses gdb/lldb to invoke the CPython ABI.
Development
Run testing on a container environment:
$ podman machine start
$ ./test.sh
$ ./test.sh coverage html
Owner
- Name: Haochuan Guo
- Login: wooparadog
- Kind: user
- Location: China
- Website: https://twitter.com/wooparadog
- Repositories: 37
- Profile: https://github.com/wooparadog
GitHub Events
Total
- Issues event: 1
- Watch event: 1
- Push event: 1
Last Year
- Issues event: 1
- Watch event: 1
- Push event: 1
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Jiangge Zhang | t****k@g****m | 37 |
| WooParadog | h****o@e****e | 5 |
| Jonathan Lassoff | j****f@t****m | 1 |
| damnever | d****f@g****m | 1 |
| Haochuan Guo | w****g | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 4
- Total pull requests: 14
- Average time to close issues: about 1 year
- Average time to close pull requests: 4 months
- Total issue authors: 4
- Total pull request authors: 5
- Average comments per issue: 1.5
- Average comments per pull request: 0.14
- Merged pull requests: 13
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 2
- Average time to close issues: N/A
- Average time to close pull requests: about 3 hours
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- abc19899 (1)
- kanglue (1)
- honglei (1)
- Xinshiyou (1)
Pull Request Authors
- tonyseek (12)
- wooparadog (1)
- jiangruocheng (1)
- damnever (1)
- jof (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 3
-
Total downloads:
- pypi 3,313 last-month
- Total docker downloads: 60
-
Total dependent packages: 1
(may contain duplicates) -
Total dependent repositories: 7
(may contain duplicates) - Total versions: 15
- Total maintainers: 3
pypi.org: pystack-debugger
Tool to print python thread and greenlet stacks
- Homepage: https://github.com/wooparadog/pystack/
- Documentation: https://pystack-debugger.readthedocs.io/
- License: MIT
-
Latest release: 0.11.0
published almost 2 years ago
Rankings
Maintainers (2)
pypi.org: pstack
Tool to print python thread and greenlet stacks
- Homepage: https://github.com/wooparadog/pystack/
- Documentation: https://pstack.readthedocs.io/
- License: MIT
-
Latest release: 0.7.1
published over 8 years ago
Rankings
Maintainers (2)
pypi.org: pystack-debugger-custom
Tool to print python thread and greenlet stacks
- Homepage: https://github.com/wooparadog/pystack/
- Documentation: https://pystack-debugger-custom.readthedocs.io/
- License: MIT
-
Latest release: 0.10.0
published about 2 years ago
Rankings
Maintainers (1)
Dependencies
- click >=5.1,<6.0