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!

Basic Python geometry package with no external dependencies.

Project Description

Python package for basic geometry operations.


  • Lightweight: no dependencies outside Python’s standard library
  • Cross-platform: Linux, Mac and Windows are all supported
  • Works with with Python 2.7, 3.2, 3.3, and 3.4

Quick Guide

To install jicgeometry:

sudo pip install jicgeometry

Create some points:

>>> from jicgeometry import Point2D
>>> p1 = Point2D(6, 1)
>>> p2 = Point2D(3, 5)

Find the distances between two points:

>>> p1.distance(p2)

Add/subtract points from each other:

>>> p1 + p2
<Point2D(x=9, y=6, dtype=int)>

Scale points using multiplication/division:

>>> p1 / 2.0
<Point2D(x=3.00, y=0.50, dtype=float)>

Treat points as vectors:

>>> p1.unit_vector
<Point2D(x=0.99, y=0.16, dtype=float)>
>>> round(p1.magnitude, 4)



  • Added Point3D class


  • Initial upload to PyPi

Release History

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(4.4 kB) Copy SHA256 Hash SHA256
Source None Sep 23, 2015

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