Skip to main content

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 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.

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

tylereq-0.1.4.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tylereq-0.1.4-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

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

Hashes for tylereq-0.1.4.tar.gz
Algorithm Hash digest
SHA256 1b2bc04e76431b61f3376b6624c2d697312549d93719482f364bed81ff989142
MD5 eb5704956a4e775c4bb138172308db68
BLAKE2b-256 4c0202da86f529bfc71b282031da2c9626d0ee21e51acef9e8f01305e329fc26

See more details on using hashes here.

Provenance

The following attestation bundles were made for tylereq-0.1.4.tar.gz:

Publisher: publish.yml on tyleruploads/tylereq

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for tylereq-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 10c494013d46dc45f32abdfb5d726fecd84a1df5eaf50ce7aa5e209243e45ec0
MD5 cb90bd9948405ab1b1dfddd5d8244f02
BLAKE2b-256 0ab89f4d5d3ad3ccbcd08a5aea4dd3bc15452c346655ad4979ed9b41ea0351cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for tylereq-0.1.4-py3-none-any.whl:

Publisher: publish.yml on tyleruploads/tylereq

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page