Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

A two-dimensional geometry library for humans.

Project description

Latest version released on PyPi Apache License v2.0 Python Versions Code Coverage build

twod is a Python 3 package that supplies simple two dimensional geometric primitives. Primitives currently include:

  • twod.Point, a point class
  • twod.Rect, a rectangle class


  1. Install using pip:
$ pip3 install twod
  1. Install from Github using poetry:
$ git clone
$ cd twod; poetry install


Uninstall using pip:

$ pip3 uninstall twod



Project details

Download files

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

Files for twod, version 0.1.7
Filename, size File type Python version Upload date Hashes
Filename, size twod-0.1.7-py3-none-any.whl (33.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size twod-0.1.7.tar.gz (10.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page