python-project-template
safety
python-project-template | safety | |
---|---|---|
1 | 7 | |
5 | 1,632 | |
- | 0.9% | |
0.0 | 6.8 | |
over 1 year ago | 4 days ago | |
Python | Python | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
python-project-template
-
Creating A Modern Python Development Environment
If you’re any way like me, then you must automate a task when you find yourself doing it more than once. I’ve automated the creation and configuration of a modern Python project using cookiecutter. You will need to set up your environment first. Also, nitpick uses my own take on the wemake-services configuration, you can view the repository here.
safety
-
A Tale of Two Kitchens - Hypermodernizing Your Python Code Base
Safety and Dependabot complement these security tools by focusing on external dependencies. Safety takes charge of examining your dependencies, ensuring they are up-to-date and free from any known vulnerabilities. Dependabot works similarly, scanning dependencies, verifying if they're current and assessing them for potential security flaws. This function is crucial as weaknesses in external dependencies can compromise the security of the entire codebase.
-
Any resources for writing production-grade code in Python?
https://pyup.io/safety/ for security checks of dependencies
-
On dependency on external libraries
I'm trying this tool at the moment: https://pyup.io/safety/
-
I think the CTX package on PyPI has been hacked!
Checking could be done if something like this eventually shows up in safety or pip-audit.
-
Creating A Modern Python Development Environment
A 2021 security report by Snyk, states 47% of Python projects contain known vulnerabilities. On the bright hand side, almost 87% of known vulnerabilities can be resolved by upgrading the vulnerable package. Safety checks your installed dependencies for known security vulnerabilities.
-
Modern Python setup for quality development
safety: Safety checks your installed dependencies for known security vulnerabilities.
-
My IT department at work wants to ban Anaconda and replace it with ???
There is a python project called "safety". https://github.com/pyupio/safety If you run this after every package install or update and on a regular cadence it should catch the worst offenders much easier than having someone manually review every package.
What are some alternatives?
pyenv-win - pyenv for Windows. pyenv is a simple python version management tool. It lets you easily switch between multiple versions of Python. It's simple, unobtrusive, and follows the UNIX tradition of single-purpose tools that do one thing well.
bandit - Bandit is a tool designed to find common security issues in Python code.
nitpick - Enforce the same settings on multiple projects
pre-commit-hooks - git pre-commit hooks that work with http://pre-commit.com/
ochrona-cli - A command line tool for detecting vulnerabilities in Python dependencies and doing safe package installs
pattern-matching-in-python - Pattern Matching in Python
commitizen - Create committing rules for projects :rocket: auto bump versions :arrow_up: and auto changelog generation :open_file_folder:
Check-WP-CVE-2020-35489 - The (WordPress) website test script can be exploited for Unlimited File Upload via CVE-2020-35489
ctx - A minimal but opinionated dict/object combo (like Bunch).
gitleaks - Protect and discover secrets using Gitleaks 🔑
pre-commit - A framework for managing and maintaining multi-language pre-commit hooks.
Flake8 - flake8 is a python tool that glues together pycodestyle, pyflakes, mccabe, and third-party plugins to check the style and quality of some python code.