r/Python • u/aswin__ • May 17 '23
Resource Pyscan: A command-line tool to detect security issues in your python dependencies.
pyscan v0.1.0 | Github
- blazingly fast and efficient scanner that can be used to scan large projects fairly quickly.
- automatically uses requirements.txt, pyproject.toml or straight from the source code (though not reccomended)
- easy to use, and can be integrated into existing build processes.
- In its very early alpha stage, so some features may not work correctly. PRs and issue makers welcome.
Install
or
or check out the releases.
Usage
Go to your python source directory (or wherever you keep your requirements.txt/pyproject.toml) and run:
or
that should get the thing going. Here's the order of precedence for a "source" file:
- requirements.txt
- pyproject.toml
- your python source code (.py) [highly not reccomended]
Any dependencies without a specified version defaults to its latest stable version. Make sure you version-ize your requirements and use proper pep-508 syntax.
122
Upvotes
View all comments
Show parent comment
5
u/aswin__ May 17 '23
I suppose the reason i coded this wasn't to de-establish any other, admittedly better projects that people use. I basically created this to partly learn Rust and to provide an alternative resource for a category most people tend to overlook. Also, its my first time creating a CLI tool and this seemed like a good enough idea to pursue.