Skip to main content

Simulate Dawkins' weasel experiment

Project description

Weasel CLI logo

license version build prs

Dawkins' Weasel CLI

Simple implementation of the classic weasel program.

demo

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.

Contributing

See CONTRIBUTING.md file for more information.

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


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.4.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

weasel_cli-1.0.4-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file weasel-cli-1.0.4.tar.gz.

File metadata

  • Download URL: weasel-cli-1.0.4.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.9 CPython/3.6.11 Linux/5.3.0-1031-azure

File hashes

Hashes for weasel-cli-1.0.4.tar.gz
Algorithm Hash digest
SHA256 b7ae6004efb19842437a59b3dfcd19b50cc21cecfe66baa5bf099b682cc5b1f7
MD5 12d4443620c6ddd6795076afdb7a8c80
BLAKE2b-256 7a7896c71d89837a8d9fddfe26c258789c457ae8cd0a0cba70dfc38564d7323c

See more details on using hashes here.

File details

Details for the file weasel_cli-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: weasel_cli-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.9 CPython/3.6.11 Linux/5.3.0-1031-azure

File hashes

Hashes for weasel_cli-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 fbfd4393ab00d7e3fe0d03f10c3cb69291098feffc11cdd827a9c9ee0f6f2ac4
MD5 8d4fa507282addec610d2671f9b08ef7
BLAKE2b-256 373b2954d612043b60ba3f7a0e05f82cf95242095bc894803de9c565278be40e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page