mutmut
cookiecutter-hypermodern-python
mutmut | cookiecutter-hypermodern-python | |
---|---|---|
4 | 9 | |
860 | 1,724 | |
- | - | |
6.9 | 3.0 | |
18 days ago | 11 days ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" License | 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.
mutmut
-
Scientist: A Ruby library for carefully refactoring critical paths
I wrote one (https://github.com/boxed/scientist) as I found the existing ones very complicated and that just gives me a bad feeling. Since I'm the author of mutmut (https://github.com/boxed/mutmut), I also made sure my implementation was 100% mutation tested before I used it in production.
I used my implementation to replace number parsing in my work project: https://kodare.net/2021/04/04/safe_number_parsing.html
-
A Tale of Two Kitchens - Hypermodernizing Your Python Code Base
Mutmut introduces a clever approach to scrutinizing your tests. It evaluates the effectiveness of your test suite by slightly altering the code after the tests have been written. If a test fails after a minor change, that's a good sign; it means the test is robust enough to catch those changes. But if the test passes even after the code change, it indicates that the test isn't effectively detecting that alteration – this is what Mutmut terms a "surviving mutant."
- Boring Python: Code Quality
-
Python toolkits
mutmut for mutation testing.
cookiecutter-hypermodern-python
-
A Tale of Two Kitchens - Hypermodernizing Your Python Code Base
Hypermodern Python Cookiecutter
-
Boring Python: Code Quality
There is also a 'hypermodern' cookie cutter template for python projects - I've used it several times now and it works mostly out of the box:
https://github.com/cjolowicz/cookiecutter-hypermodern-python
-
What's your default way setting up packages, testing, linting, and imports
See https://github.com/cjolowicz/cookiecutter-hypermodern-python for a template and https://cjolowicz.github.io/posts/hypermodern-python-01-setup/ for some background explanation.
-
Do you need docs such as mkdocs or sphinx on private github projects?
I often see templates like COOKIETEMPLE or HYPERMODERN python add a separate directory called docs which either uses sphinx or mkdocs or readthedocs and has github actions for publishing docs.
-
Here are 5 Python project starter templates after digging through 100s of them that I think are spot o
Vouching for https://github.com/cjolowicz/cookiecutter-hypermodern-python .
-
I developed a template for starting new Python projects! Features: Poetry, GitHub CI/CD, MkDocs, publishing to PyPi/Artifactory, Pytest, Tox, black and isort.
Seems pretty similar to https://cookiecutter-hypermodern-python.readthedocs.io/
-
Just created an open-source text adventure game engine. Still didn't upload to PyPi but will soon!
Check out Hypermodern python https://cjolowicz.github.io/posts/hypermodern-python-01-setup/ and the cookiecutter for it https://github.com/cjolowicz/cookiecutter-hypermodern-python
- [D] Going beyond average ML Engineer
- Are there any books or videos that describe how to organize large projects?
What are some alternatives?
reorder-python-imports - Rewrites source to reorder python imports
py-healthchecks.io - A python client for healthchecks.io. Supports the management api and ping api
go-scientist
Poetry - Python packaging and dependency management made easy
awesome-pytest - A curated list of awesome pytest resources
hypothesis - Hypothesis is a powerful, flexible, and easy to use library for property-based testing.
Adventura
pre-commit - A framework for managing and maintaining multi-language pre-commit hooks.
python-patterns - A collection of design patterns/idioms in Python
autoflake - Removes unused imports and unused variables as reported by pyflakes [Moved to: https://github.com/PyCQA/autoflake]