Programslice
Static analysis tool for python programs to see depending lines of code.
Why Using Programslice
The main benefits of the program are:
the possibility to aid tracing the control flow of the program
find variables that are unnecessary to the program state
Installation
Requirements: Python 2.7
Install programslice first in your favourite virtualenv:
$ pip install https://github.com/romanofski/programslice/archive/master.zip
Install the Vim plugin by following the instructions on it’s github page.
Once the plugin is installed, either make sure that the programslice command is in your $PATH variable or you adjust the g:programslice_cmd variable in your ~/.vimrc to point it to the executable.
Forms of Contribution
If you find this program useful, here is a list of how you can contribute:
buy me a book off my wish list
file issues against programslice or the vim plugin
help to improve the code
Development
The project is hosted on github:
Backlogs:
Documentation is available on:
Screenshot
License
GPLv3
CHANGES
0.3.1 (2016-12-01)
Bugfix release (see issue #25, Kudos to Adam Coddington)
0.3 (2015-02-18)
command: Added --version to see command line tool version.
New datastructures to improve slicing quality: Result can yield line numbers, objects, sliced source code
vim: Slicing result now highlights variables instead of just lines
vim: moved VimL code into separate repository: https://github.com/romanofski/programslice.vim
0.2 (2012-11-21)
added output formatter to either output filtered lines of code or just line numbers
Allow to slice between functions calls (fixes #5)
vim: Allow to toggle slicing markers
0.1 (2012-08-22)
initial release
Metadata
Release files for programslice 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| programslice-0.3.1.tar.gz | 47.0 kB | Without provenance | Details |
Release files / programslice-0.3.1.tar.gz
| Download URL | programslice-0.3.1.tar.gz |
|---|---|
| Size | 47.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ad99fd0eeb49e432d3b0b093132538520328f53878ba0fcdce07ecaedf86840
|
|
BLAKE2b-256 checksum How to use checksums |
8b748ba7488b4fd2aa89dd502022a49c17fb101a8d145a7daec35c12c9410eaa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for programslice 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.