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!

Generate pseudo-random art

Project Description

alart is a pseudo-random art generator.

Example art can be found at


alart is free software under the terms of the GNU General Public License version 3 (or any later version). This is version 0.1.1 (codename: “Fox”) of the program.


Way #1

Get the newest version of alart at or at

Extract the downloaded file and run this in a terminal:

# python install

Examples can then be found in the examples directory.

Way #1

Just run this:

# pip install alart


# easy_install alart

Note that this will not make the examples available.


Python 2.5 is required, though newer versions might be needed for Encapsulated PostScript support.

alart depends on cairo and cairo’s Python bindings for generating images. Version 1.6 is needed for best output support, but earlier versions (e.g. 1.4) works ok. To install it, do one of these things:

  • For DEB-based distros (Debian etc.): type apt-get install python-cairo
  • For RPM-based distros (Fedora etc.): type yum install pycairo
  • For other distros: do something similar or get it at

alart depends on PyGame 1.8.0+ (perhaps earlier versions are also supported) for showing generated images. If you only want to generate images and not show them in an interactive window, you do not need PyGame graphics and sound. To install it, do one of these things:

  • For DEB-based distros (Debian etc.): type apt-get install python-pygame
  • For RPM-based distros (Fedora etc.): type yum install pygame
  • For other distros: do something similar or get it at


To use alart, just run alart. This will display a generated image with default options. To generate a new image while in the window, press R.

To see a list of alart’s command-line options with explanations, run alart --help. To see alart’s module help, run pydoc alart.


alart uses Git for code management. To get the newest code, run:

$ git clone git://

Bugs can be reported to (address of sole developer).

This document

Copyright (C) 2010, 2011 Niels Serup

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.

Release History

This version
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.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(20.3 kB) Copy SHA256 Hash SHA256
Source None Aug 20, 2011

Supported By

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 Google Google Cloud Servers