Skip to content
On this page

Installation

To begin with GeoLib, ensure that Python 3 is installed on your system, visit : Python official site to learn more about the python installation .

pip Installation

Windows

Download and run the get-pip.py script:

bash
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py

MacOS/Linux

Download and run the get-pip.py script:

bash
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3 get-pip.py

Make sure python is added to your PATH.

GeoLib Installation

You can install GeoLib directly from the GitHub repository by running the following command

bash
pip install git+https://github.com/iBz-04/GeoLib.git

Well done! you can now start using GeoLib!

Next

GeoLib provides an intuitive interface for working with geometric shapes. Whether you're calculating areas and perimeters or scaling and comparing different shapes, GeoLib simplifies these tasks. Below is an introduction to using GeoLib with examples of how to create and manipulate squares and triangles.

find out how to work with these shapes in the next sections