Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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 hashes
Filename, size twod-0.1.7.tar.gz (10.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page