Skip to main content

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.

Metadata

Release files for weasel-cli 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for weasel-cli 1.0.4
File Size Uploaded Provenance
weasel-cli-1.0.4.tar.gz 4.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for weasel-cli 1.0.4
File Interpreter ABI Platform
weasel_cli-1.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 8.4 kB

Release files / weasel-cli-1.0.4.tar.gz

Download URL weasel-cli-1.0.4.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b7ae6004efb19842437a59b3dfcd19b50cc21cecfe66baa5bf099b682cc5b1f7
BLAKE2b-256 checksum
How to use checksums
7a7896c71d89837a8d9fddfe26c258789c457ae8cd0a0cba70dfc38564d7323c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.9 CPython/3.6.11 Linux/5.3.0-1031-azure

Release files / weasel_cli-1.0.4-py3-none-any.whl

Download URL weasel_cli-1.0.4-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fbfd4393ab00d7e3fe0d03f10c3cb69291098feffc11cdd827a9c9ee0f6f2ac4
BLAKE2b-256 checksum
How to use checksums
373b2954d612043b60ba3f7a0e05f82cf95242095bc894803de9c565278be40e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.9 CPython/3.6.11 Linux/5.3.0-1031-azure

Security for weasel-cli 1.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page