Skip to main content

A package to draw any triangle on screen.

Project description

TriangleDrawer

This package will enable you to draw any triangle on screen and see its measurements.

Installation

Install this package using pip

pip install triangle_drawer

Usage

You can either create a triangle using the three side lengths:

from triangle_drawer import Triangle

Triangle(3, 4, 5).draw()

Or you can create a triangle using two side lengths and the angle between them (in degrees):

from triangle_drawer import Triangle

Triangle(3.5, 4.5, angle=45.6).draw()

License

The project is licensed under the MIT license.

Project details


Download files

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

Source Distribution

triangle_drawer-1.0.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

triangle_drawer-1.0.1-py2.py3-none-any.whl (4.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file triangle_drawer-1.0.1.tar.gz.

File metadata

  • Download URL: triangle_drawer-1.0.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.27.1

File hashes

Hashes for triangle_drawer-1.0.1.tar.gz
Algorithm Hash digest
SHA256 e0aa91ba460bde60bb704d759e2ed945721cdd005cb84c9785c8bfe354008008
MD5 c3a5bbdacfed6ac3b9b0eb759a08213e
BLAKE2b-256 35ef6ae69f1b1daebda1be44811f7e4c62809ef3def4a05d510d39ca387a776f

See more details on using hashes here.

File details

Details for the file triangle_drawer-1.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for triangle_drawer-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bcd74292b6eec2e79cbfe52f926e3d6cf6192e78f648dc5685a148a8d6ee6c70
MD5 93c0ff8a11b972da0952d04db89f3d1b
BLAKE2b-256 06bbfaf91c42623e18a29f1ffbc4e11020f481dd2ed32f98d4f7f0d13016eba6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page