Skip to main content

Simulate Dawkins' weasel experiment

Project description

Dawkins' Weasel Program

Simple implementation of the classic weasel program.

demo

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

weasel_cli-1.0.0-py3.8.egg (4.2 kB view details)

Uploaded Source

File details

Details for the file weasel_cli-1.0.0-py3.8.egg.

File metadata

  • Download URL: weasel_cli-1.0.0-py3.8.egg
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.6

File hashes

Hashes for weasel_cli-1.0.0-py3.8.egg
Algorithm Hash digest
SHA256 e92af8cd628cf396aaf006b3e8efa2dd2362cd50afcc24da42bd55b3a8e05e40
MD5 83f9856e6fef09785d7a2bff829a145d
BLAKE2b-256 0ab725921f95a3e68a875ee8e5c14f1dd5e7f7b1a8a3a5ab1e54dd53d0117d18

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