Skip to main content

Evolve Words

Introduction

Many moons ago, back in 2008, while in a debate on an atheist-oriented phpBB site (as was the fashion back then), I ended up writing a couple of scripts, in ruby, to illustrate a point about how mutation and selection can, given enough time, result in something with the appearance of design.

The code was far from a mic-drop body of evidence (it wasn't meant to be), I think it did an okay job of showing how nothing more than just mutating something and selecting for the "fitter" options can get you somewhere meaningful given enough time.

No matter, either you get the illustration or you don't. That's not important.

Fast forward 15 years and I was thinking that a Textual version of the code might be fun.

Evolve Words

This is a version of selection2. Turns out it is fun!

Installation

If you want to play with this, the best method is going to be to install with pipx:

$ pipx install evolve-words

then simply run evolve-words.

Requirements

While this code should work fine on any operating system, it's really coded to work on a system that provides one of the two following files:

  • /usr/dict/words
  • /usr/share/dict/words

That does, of course, mean it's unlikely to work fine on Windows given neither of them will be there. At some point in the very near future I'll add support for loading words from a file whose name is passed on the command line, or something similar.

Metadata

Release files for evolve-words 0.2.1

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

Source distribution (sdist)

Source distribution for evolve-words 0.2.1
File Size Uploaded
evolve-words-0.2.1.tar.gz 7.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for evolve-words 0.2.1
File Interpreter ABI Platform
evolve_words-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 14.9 kB

Release files / evolve-words-0.2.1.tar.gz

Download URL evolve-words-0.2.1.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
97368d0b12f7cdb921274753d56e0ac60a435afbd0844de3dfb135bc5bbafe4c
BLAKE2b-256 checksum
How to use checksums
abac07ff5cae7f3e8d7cdc8d4e7c3c6cdb959bf730a8c2ba88ed504269af3d49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.0

Release files / evolve_words-0.2.1-py3-none-any.whl

Download URL evolve_words-0.2.1-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
80c30d7a548abef8f96dceb66fbc259176b43fc1ddc152a1e2e4a819c22ad6c1
BLAKE2b-256 checksum
How to use checksums
f669c0acaa32834e8c94dd20083f15fed70abcf9964b5b031db5b9355580c9c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.0

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.0

1 release file

0.0.1

1 release file

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