Areas and volumes is a Python package that provides functions to calculate various geometric formulas. It supports 25 2D shapes and 25 3D shapes. Please put an issue if you want more shapes or you need help
##2D shapes:
square()
rectangle()
circle()
triangle()
pentagon()
hexagon()
heptagon()
octagon()
nonagon()
decagon()
undecagon()
dodecagon()
tridecagon()
tetradecagon()
pentadecagon()
trapezoid()
ellipse()
polyominoes()
star()
hemicircle()
squircle()
parallelogram()
square_with_equlateral_triangle_top()
kite()
rhombus()
##3D shapes:
cube()
rectangular_prism()
sphere()
cylinder()
cone()
dodecahedron()
triangular_prism()
hemisphere()
torus()
rhombicosidodecahedron()
pipe()
capsule()
tetrahedron()
octahedron()
icosahedron
triangular_pyramid()
square_pyramid()
pentagon_pyramid()
hexagon_pyramid()
heptagon_pyramid()
octagon_pyramid()
nonagon_pyramid()
decagon_pyramid()
star_prism()
steinmetz_solid()
import areavolume