Simulate Dawkins' weasel experiment
Project description
Dawkins' Weasel CLI
Simple implementation of the classic weasel program.
About
Although the weasel simulation really works, I'm using this project mostly to test things like CLI development, Github Actions, PyPI deployment, etc.
Installation
pip install weasel-cli
Usage
$ 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.
License
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
weasel-cli-1.0.2.tar.gz
(3.8 kB
view details)
Built Distribution
File details
Details for the file weasel-cli-1.0.2.tar.gz
.
File metadata
- Download URL: weasel-cli-1.0.2.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.9 CPython/3.6.10 Linux/5.3.0-1031-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 026c6c207e6ba109520dc0dfa4aa7dd44b53f96ae12a359dccff7c1fe9e4dc6f |
|
MD5 | 695b85b9e83bc9fedc7c893ad423dcbf |
|
BLAKE2b-256 | 5c43a5f2e5990a1e10cafdcbc1ee5f9f5927969e9770e48c7dfbec9cf4171e03 |
File details
Details for the file weasel_cli-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: weasel_cli-1.0.2-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.9 CPython/3.6.10 Linux/5.3.0-1031-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 254915a3af412f31173711bb420e547165ea6e0ccb6960829e191c08a6f87db7 |
|
MD5 | 6fcb4178c3889a8020e1e3c6cf737f82 |
|
BLAKE2b-256 | 0b65042f0bd7bf948fe266c4c8312fc4dcfcb31aaf2f31e832a204b3c6436892 |