A toolbox to factorize some code utilities across various projects.
Project description
Eurobios-Mews-Labs Toolbox
A toolbox to factorize some code utilities across various projects.
Install
The package requires Python 3.7 or above and is available on PyPI:
python3 -m pip install pyntb
The optional dependencies used in the examples in the Github repository can be installed at the same time by typing instead:
python3 -m pip install pyntb[examples]
Content
geoutils
- implementation of haversine distance which works on numpy arrays with an option to change the sphere radius
optimize
- a bisection algorithm that work on numpy array inputs
- a copy of
scipy.optimize.fixed_point
that deals with nan values - a 2D, quasi-newton algorithm that works with numpy array inputs
polynomial
- find roots of 2nd and 3rd order polymonials with numpy array inputs
Examples
See examples
directory for more details.
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
Pyntb-2024.0.1.tar.gz
(10.9 kB
view details)
Built Distribution
Pyntb-2024.0.1-py3-none-any.whl
(11.4 kB
view details)
File details
Details for the file Pyntb-2024.0.1.tar.gz
.
File metadata
- Download URL: Pyntb-2024.0.1.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51d76ecbae72e587eae1d42462eeea6bfc3ea617ce123df3c158d514c59437e5 |
|
MD5 | c34661c662f4159694990de6d03966df |
|
BLAKE2b-256 | 87e05767632c9ff01295f2109022eb832d0ba522270ce6d3c493db3ee5e3028d |
File details
Details for the file Pyntb-2024.0.1-py3-none-any.whl
.
File metadata
- Download URL: Pyntb-2024.0.1-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a57cfaf8295ef2faf55b506f9cb782c3ad53504b0bc8bd7805a23e80aaec631c |
|
MD5 | d8244261c7e3552977459ab75b1298dd |
|
BLAKE2b-256 | 1fd08bb0d7f9eb1c958f105ad5241c3ef1752f8e2b4ad64fb2b8b543a2ca6b3c |