A package for wrapping angles in radians and degrees
Project description
Angle Wrapper
A simple Python only toolbox for wrapping angles to $\pm180^\circ$, $\left[0^\circ, 360^\circ\right]$, $\pm\pi$, or $\left[0, 2\pi\right]$. Wraps single values, tuples, lists, and other various iterable types that implement the __iter__
attribute such as NumPy arrays and Pandas data series.
To install: pip install anglewrapper
To run:
from anglewrapper import wrap
wrap.to_180(270)
This package has no external dependancies to run in Python-only mode. Development and testing requires pytest
or unittest
installed in the local environment as well as numpy.
Read me update to trigger automatic release update.
This package is serving a few purposes:
- Writing good Python code
- Some basic "agile" workflow practice including
- Short lived branches for specific features
- Unit testing
- Code formatting and linting
- Continuous integration and continuous delivery to PyPI via GitHub Actions
- Building, testing, and delivering Python packages
- Some basic C++ practice and packaging it into libraries and/or Python packages
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for anglewrapper-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6119594e3d31f4cafabb4994af5547f2556583c20f3a67d7dccb94e8305c0767 |
|
MD5 | bc9abe3040456b0546b7fbd3f2453314 |
|
BLAKE2b-256 | 3a234beb1c564cc8d8463643dac181b6307e8a69846019ee2d838a377a63cf0e |