Skip to main content

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 perimeter
  • tylereq.shapes.p_square(s): Square perimeter
  • tylereq.shapes.p_triangle(a, b, c): Triangle perimeter
  • tylereq.shapes.c_circle(r): Circle circumference

Area

  • tylereq.shapes.a_rectangle(l, w): Rectangle area
  • tylereq.shapes.a_square(s): Square area
  • tylereq.shapes.a_triangle(b, h): Triangle area
  • tylereq.shapes.a_circle(r): Circle area

Surface Area

  • tylereq.shapes.sa_box(l, w, h): Box surface area
  • tylereq.shapes.sa_sphere(r): Sphere surface area
  • tylereq.shapes.sa_cylinder(r, h): Cylinder surface area

Volume

  • tylereq.shapes.v_box(l, w, h): Box volume
  • tylereq.shapes.v_sphere(r): Sphere volume
  • tylereq.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)

Source distribution for tylereq 0.1.4
File Size Uploaded
tylereq-0.1.4.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tylereq 0.1.4
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page