Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Companion code for Think Python.

Project Description

by Allen Downey (

Swampy is a suite of Python programs that support the textbooks

Python for Software Design ( Think Python ( The Little Book of Semaphores (

It includes the following modules:

AmoebaWorld: a fun way for beginning programmer to practice writing
Python expressions.
TurtleWorld: an implementation of turtle graphics used in Think Python
and Python for Software Design

TurmiteWorld: an implementation of Langton’s ant.

Lumpy: a program that generates UML object and class diagrams from a
Python program.

Sync: a thread simulator for use with The Little Book of Semaphores.

structshape: a module to help with debugging by generating a string
description of any Python data structure.

A description of the project and documentation is available at:

The source code is hosted by Google code at

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(49.9 kB) Copy SHA256 Hash SHA256
Source Oct 25, 2013
(60.4 kB) Copy SHA256 Hash SHA256
Source Oct 25, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting