Useful functions to work with geometry
Project description
Geomytry
Library for working with geometry
Install by running pip install geomytry or if on *NIX systems run pip3 install geomytry
The circles modules
The circumference function
from geomytry import circles
circles.circumference(10) # OUTPUTS 62.8
circles.circumference_from_diameter(20) # OUTPUTS 62.8
- circles.circumference
- Takes only 1 argument
- The radius of the circle
- Takes only 1 argument
- circles.circumference_from_diameter
- Takes 1 argument
- Diameter of the circle
- Takes 1 argument
The radius function
from geomytry import circles
circles.radius(10) # OUTPUTS 3.1847
- Finds the radius of a circle
- Takes one parameter
- The circumference of the circle
- Takes one parameter
The arc length function
from geomytry import circles
circles.arc_length(30, 100) # OUTPUT 8.333
- Finds the length of an arc using the given angle and circumference
- Takes two parameters
- measurement of the angle inside the circle
- circumference of the circle
- Takes two parameters
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
geomytry-1.0.0.tar.gz
(2.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file geomytry-1.0.0.tar.gz.
File metadata
- Download URL: geomytry-1.0.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9b6154acf5d4765e0e87ec2095cfff6bf18c5e042fddc27bdafffbcb72e941c
|
|
| MD5 |
0db41e3765cde055494c54905d3b6a9c
|
|
| BLAKE2b-256 |
570b0f957779b8a9074541d15215e97166073dca40f9c623865be9ac7c2b6d48
|
File details
Details for the file geomytry-1.0.0-py3-none-any.whl.
File metadata
- Download URL: geomytry-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81854bc3981a8df9866a90a4f07e4a22308056e0d48eb7dde28a7dac2807b1d1
|
|
| MD5 |
8f145d5117c5c885a5086915f41802ee
|
|
| BLAKE2b-256 |
904adbe760d80258f868d9d2588b3ecee1a5851b6974e2bd6939e97d574d5858
|