A simple equations module made by Tyler
Project description
tylereq
A simple equations module made by Tyler, providing geometry-related formulas for perimeters, areas, surface areas, and volumes.
Installation
pip install tylereq
Usage
from tylereq import shapes
# Calculate area of a rectangle
area = tylereq.shapes.a_rectangle(5, 3) # Returns 15.0
# Calculate volume of a sphere
volume = tylereq.shapes.v_sphere(2) # Returns 33.510321638291124
# Calculate perimeter of a square
perimeter = tylereq.shapes.p_square(10) # Returns 40
Available Functions
Perimeter/Circumference
tylereq.shapes.p_rectangle(l, w): Rectangle perimetertylereq.shapes.p_square(s): Square perimetertylereq.shapes.p_triangle(a, b, c): Triangle perimetertylereq.shapes.c_circle(r): Circle circumference
Area
tylereq.shapes.a_rectangle(l, w): Rectangle areatylereq.shapes.a_square(s): Square areatylereq.shapes.a_triangle(b, h): Triangle areatylereq.shapes.a_circle(r): Circle area
Surface Area
tylereq.shapes.sa_box(l, w, h): Box surface areatylereq.shapes.sa_sphere(r): Sphere surface areatylereq.shapes.sa_cylinder(r, h): Cylinder surface area
Volume
tylereq.shapes.v_box(l, w, h): Box volumetylereq.shapes.v_sphere(r): Sphere volumetylereq.shapes.v_cylinder(r, h): Cylinder volume
Documentation
Full documentation is available at the project's GitHub Pages site.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 tylereq-0.1.4.tar.gz.
File metadata
- Download URL: tylereq-0.1.4.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b2bc04e76431b61f3376b6624c2d697312549d93719482f364bed81ff989142
|
|
| MD5 |
eb5704956a4e775c4bb138172308db68
|
|
| BLAKE2b-256 |
4c0202da86f529bfc71b282031da2c9626d0ee21e51acef9e8f01305e329fc26
|
Provenance
The following attestation bundles were made for tylereq-0.1.4.tar.gz:
Publisher:
publish.yml on tyleruploads/tylereq
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tylereq-0.1.4.tar.gz -
Subject digest:
1b2bc04e76431b61f3376b6624c2d697312549d93719482f364bed81ff989142 - Sigstore transparency entry: 760624054
- Sigstore integration time:
-
Permalink:
tyleruploads/tylereq@ccfe0e59b52d13ff7b3aa66f1d35151f990095bf -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/tyleruploads
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ccfe0e59b52d13ff7b3aa66f1d35151f990095bf -
Trigger Event:
release
-
Statement type:
File details
Details for the file tylereq-0.1.4-py3-none-any.whl.
File metadata
- Download URL: tylereq-0.1.4-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10c494013d46dc45f32abdfb5d726fecd84a1df5eaf50ce7aa5e209243e45ec0
|
|
| MD5 |
cb90bd9948405ab1b1dfddd5d8244f02
|
|
| BLAKE2b-256 |
0ab89f4d5d3ad3ccbcd08a5aea4dd3bc15452c346655ad4979ed9b41ea0351cc
|
Provenance
The following attestation bundles were made for tylereq-0.1.4-py3-none-any.whl:
Publisher:
publish.yml on tyleruploads/tylereq
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tylereq-0.1.4-py3-none-any.whl -
Subject digest:
10c494013d46dc45f32abdfb5d726fecd84a1df5eaf50ce7aa5e209243e45ec0 - Sigstore transparency entry: 760624062
- Sigstore integration time:
-
Permalink:
tyleruploads/tylereq@ccfe0e59b52d13ff7b3aa66f1d35151f990095bf -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/tyleruploads
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ccfe0e59b52d13ff7b3aa66f1d35151f990095bf -
Trigger Event:
release
-
Statement type: