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.
Release files for tylereq 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tylereq-0.1.4.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tylereq-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:9.4 kB
Release files / tylereq-0.1.4.tar.gz
| Download URL | tylereq-0.1.4.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1b2bc04e76431b61f3376b6624c2d697312549d93719482f364bed81ff989142
|
|
BLAKE2b-256 checksum How to use checksums |
4c0202da86f529bfc71b282031da2c9626d0ee21e51acef9e8f01305e329fc26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 12, 2025.
Transparency logRelease files / tylereq-0.1.4-py3-none-any.whl
| Download URL | tylereq-0.1.4-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
10c494013d46dc45f32abdfb5d726fecd84a1df5eaf50ce7aa5e209243e45ec0
|
|
BLAKE2b-256 checksum How to use checksums |
0ab89f4d5d3ad3ccbcd08a5aea4dd3bc15452c346655ad4979ed9b41ea0351cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 12, 2025.
Transparency log