Skip to main content

DegTrig

A PyPi module providing all of the trigonometric functions that deal in degrees. No more math and numpy radians confusion!

Generic badge

How does it work?

Use import DegTrig to get access to the convert functions:

from degtrig import *

and then use the functions:

sin(30)
cosh(1)
asin(1/2)
atanh(0.1)
cot(60)
asec(0.9)

Why DegTrig

math provides trigonometric functions however the normal functions use radians while the hyperbolic functions use degrees. It's all a little too much to remember! DegTrig provides the answer to this problem by unifying the functions so that they all use degrees (the better unit of rotation).

Installation

On bash:

$ pip install DegTrig

On windows:

python -m pip install DegTrig

Usage

Contributing

  1. Fork it ( https://github.com/ )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Make sure that the script does not have errors or warnings
  6. Create a new Pull Request

License

This tool is open source under the MIT License terms.

[Back To Top]

Metadata

Release files for degtrig 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for degtrig 0.0.3
File Size Uploaded
degtrig-0.0.3.tar.gz 2.6 kB Details

Release files / degtrig-0.0.3.tar.gz

Download URL degtrig-0.0.3.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
18080e7b8b4cb31e11b8817aea57cd0dde50f5e2cbd2f2cc83782c591dacf7d0
BLAKE2b-256 checksum
How to use checksums
ece279d94fc7a8bcdb8ebd62a17ee0edc37caa298ac5297d26e970f481fee3e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.7

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file

0.0.2

1 release file

0.0.1

1 release file

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