https://github.com/breandan/pantograph
📐 Introspection and reconstruction of Python dataflow with metaprogramming.
Science Score: 13.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
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (6.1%) to scientific vocabulary
Repository
📐 Introspection and reconstruction of Python dataflow with metaprogramming.
Basic Info
Statistics
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Pantograph
Pantograph is a framework for dynamic analysis of a Python interpreter. It allows users to reconstruct source code and program dependence graph from Jupyter notebooks, Python shell, and Python scripts.
![]()
Setup
To install Pantograph, run the following command (Python 3.5+ recommended):
git clone git@github.com:breandan/pantograph.git && cd pantograph && pip install .
Usage
Arbitrary dataflow can be recovered by passing variables to Pantograph like so:
z = 'Hello '
y = ' Pantograph '
a = z + y + '!'
p = PGraph(a, z, y)
For more details, check out the Jupyter notebook.
PDG visualization is made possible by pydot.
References
Owner
- Name: breandan
- Login: breandan
- Kind: user
- Website: http://brea.ndan.co
- Twitter: breandan
- Repositories: 185
- Profile: https://github.com/breandan
GitHub Events
Total
- Watch event: 1
- Fork event: 1
Last Year
- Watch event: 1
- Fork event: 1
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total 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
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
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- Pillow *
- asttokens *
- beniget *
- gast *
- numpy *
- pydot *