newtonEQ is a library of formulas that can be applied to newtonian physics problems.
Installation
Use the package manager [pip] (https://pip.pypa.io/en/stable/) to install newtonEQ.
pip install newtonEQ
Usage
newtonEQ has a variety of different functions that allow for the simplification of solving college/physics problems. For example to find the components of a vector:
from newtonEQ import vcomp
#input the magnitude, angle from the positive x-axis, and the degree unit
vcomp(5, 36.9, "deg")
#this would return a tuple of the x and y components of the vector
The list of broad subjects covered so far are:
- Vectors
- Unit Conversion
- Quadratic Equations
- Moment of Inertia
- Translational and Rotational Kinematics
A more robust guide on how to use the functions is on the way.
Contributing
If you have discovered a bug in my code, or you want to change something about it, feel free to contact me at s.varadaraj03@gmail.com.
License
Change Log
0.0.1 (04/26/2022)
- First Release
0.0.2 (04/27/2022)
- Added Docstrings to the created functions
- Added GRAVITY as a constant
- Added functions for rotational and translational kinematics
- Added functions to calculating moments of inertia
- Added functions to convert non-SI Units to SI (for displacement and velocity)
- Added conversion from rotational to translational units (annd vise-versa)
- Added basic functions for mechanical energies
0.0.3 (04/27/2022)
- Added parameter and return values in the Docstrings
- Added clearer parameter guidelines for "moment"
- clearer TypeError system
0.0.4 (04/27/2022)
- Fixed error with vmag
- Added additional vector functions (dotprod, anglebetween)
- Added functions to convert rad to degrees (and vise-versa)
- Rearranged the general layout of the code
- Added cross product
0.0.5 (04/27/2022)
- Crossproduct is fixed now
- Added multipledispatch as a dependency
0.0.6 (04/30/2022)
- Changed README to be a .md rather than .txt file
Metadata
Release files for newtonEQ 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| newtonEQ-0.0.7.tar.gz | 6.0 kB | Without provenance | Details for newtonEQ-0.0.7.tar.gz |
Release files / newtonEQ-0.0.7.tar.gz
| Download URL | newtonEQ-0.0.7.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2b5f9e6c03381ee84ac4f06ccf381df0ec9e30905841783b81340f2b346da8db
|
|
BLAKE2b-256 checksum How to use checksums |
b4a5d442192dfb2e0e3d91a763be8e9426033f0f0e556ddeedf501cc987726ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Security for newtonEQ 0.0.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.