pyareas
A simple Python library for finding the areas of 2D shapes
Shapes Included:
- Square
- Triangle
- Rectangle
- Circle
- Parellelogram
- Ellipse
- Rhombus
- Trapezoid
- Polygon(regular)
- Kite
- Star
Install command:
pip install pyareas
Example:
from pyareas import *
print(Square(10))
Gives the output:
100
Newest Feature:
- Star!
- Takes the arguments of the internal shape's side, the internal shape's apothem, the number of points on the star, and the height of the triangles(the points)
- The old functions of pentagram, hexagram and heptagram are still in the source code, but i thought i would add a function for all stars.
To do:
- Add more shapes
- Create a new library for volume of 3D shapes
- pyvolumes?
- pyareas3d?
Release files for pyareas 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyareas-0.1.0.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyareas-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.1 kB
Release files / pyareas-0.1.0.tar.gz
| Download URL | pyareas-0.1.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
64f15f150cfd936fc53fb2583dfc7348b2b92c5679a7b1a1cb9769962fd530d0
|
|
BLAKE2b-256 checksum How to use checksums |
de32b53310a136ae834b8e28211403ceca803bcb1c99c9463a365e7d8308d87f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.2
|
Release files / pyareas-0.1.0-py3-none-any.whl
| Download URL | pyareas-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
142be68f5f5dd252fc968a8f94d1108c77cbf2944b2697a449e7966656abc993
|
|
BLAKE2b-256 checksum How to use checksums |
1df3b56fffaa34de63cc0a9c39c4297745f2fb875b864d69ac33209c73366355
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.2
|