draw_triangle
Python library to draw geometric triangle shapes using numpy and matplotlib.
Features
- Equilateral triangle
- Right triangle
- Isosceles triangle
- Custom triangle using vertices
Installation
pip install draw-triangle-ajay
Usage
Equilateral Triangle
from draw_triangle import equilateral
equilateral(5)
Right Triangle
from draw_triangle import right_triangle
right_triangle(5, 4)
Isosceles Triangle
from draw_triangle import isosceles
isosceles(6, 5)
Custom Triangle
from draw_triangle import draw_triangle
draw_triangle([(0, 0), (4, 0), (2, 3)])
Dependencies
- numpy
- matplotlib
Author
Ajay Kumar
Metadata
Release files for draw-triangle-ajay 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| draw_triangle_ajay-0.0.2.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| draw_triangle_ajay-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.9 kB
Release files / draw_triangle_ajay-0.0.2.tar.gz
| Download URL | draw_triangle_ajay-0.0.2.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c683e215bae105144af7fea5279221575631fd7363f8451dadae64f3a2b3f924
|
|
BLAKE2b-256 checksum How to use checksums |
dd8356c184cdbb59fc9249a7ee79b08e78b83f8b41226fc40aec40a23368321f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|
Release files / draw_triangle_ajay-0.0.2-py3-none-any.whl
| Download URL | draw_triangle_ajay-0.0.2-py3-none-any.whl |
|---|---|
| Size | 2.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6acd0f49b298bf467849a2ed9b45242d6786d47f95e87f5fe8ae383c9ac1a85b
|
|
BLAKE2b-256 checksum How to use checksums |
cf2f04b7d6b0f0a932aaf06183466570c6feb479256e837c03704330d92b3e3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|