Implementation of the classic weasel program.
Although the weasel simulation really works, I'm using this project mostly to test things like CLI development, Github Actions, PyPI deployment, etc.
pip install weasel-cli
$ weasel --help
Usage: weasel [OPTIONS]
Simulate Dawkins' weasel experiment
Options:
-t, --target TEXT [default: METHINKS IT IS LIKE A WEASEL]
-p, --population-size INTEGER RANGE
[default: 100]
-r, --mutation-rate FLOAT RANGE
[default: 0.05]
--color / --no-color Uses ANSI colors when reporting generation
results [default: True]
--help Show this message and exit.
See CONTRIBUTING.md file for more information.
This project is licensed under the terms of the MIT license - see the LICENSE
file for details.
Icons made by Freepik from www.flaticon.com.