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!

A class for handling rectangle regions.

Project Description

The Rect class is similar to the pygame.Rect class, except it works with float precision in a left handed coordinate system.

The rect package also provides a spatial index and a rect packing function.

  • 20070728: Bottomleft / Leftbottom bugfixes :-)
  • 20070728: Added HashMap spatial index. (rect.hashmap)
  • 20070723: Quadtree bug fixes
  • 20070718: Added rect packing algorithm. (rect.packer)
  • 20070717: Added QuadTree spatial index. (rect.quadtree)
Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
Rect-5-py2.5.egg (13.1 kB) Copy SHA256 Checksum SHA256 2.5 Egg Jul 28, 2007
Rect-5.tar.gz (8.1 kB) Copy SHA256 Checksum SHA256 Source Jul 28, 2007

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