bstb - Geocaching toolbox
Project description
Geocaching toolbox as a Python package on PyPi.
Documentation
Documentation for
bstb
is available.
Usage
$ ipython
Python 3.11.2 (main, Feb 16 2023, 03:07:35) [Clang 14.0.0 (clang-1400.0.29.202)]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.11.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: from bstb.core import Waypoint
...: from bstb.greatcircle import bearing
...: from bstb.greatcircle import distance
...:
...: wp0 = Waypoint.parse("N52 00.000 E004 00.000")
...: wp1 = Waypoint.parse("N51 58.000 E004 10.000")
...: b = bearing(wp0, wp1)
...: d = distance(wp0, wp1)
...:
...: print(f"Bearing: {b}, Distance: {d} km")
...:
Bearing: 107.9, Distance: 12.001 km
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
bstb-0.2.4.tar.gz
(20.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
bstb-0.2.4-py3-none-any.whl
(18.2 kB
view details)
File details
Details for the file bstb-0.2.4.tar.gz.
File metadata
- Download URL: bstb-0.2.4.tar.gz
- Upload date:
- Size: 20.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.4.9 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
baec858f35dfd82e8cbd234be1b8c0939ab9718b3776c3692f3d3482468feb57
|
|
| MD5 |
245734ab9ca4879508e6d4d5eeab74a0
|
|
| BLAKE2b-256 |
675a13d3ff2c8c7b4d5f5dcb541808f700ca0c5613adab83736adb7426959a02
|
File details
Details for the file bstb-0.2.4-py3-none-any.whl.
File metadata
- Download URL: bstb-0.2.4-py3-none-any.whl
- Upload date:
- Size: 18.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.4.9 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e3efe59a678e4c7eefa8db056f6b569c08569cadc7cf0520e2278a372e74a39
|
|
| MD5 |
432c9e72587290e777d13c8e0f9ff35f
|
|
| BLAKE2b-256 |
fae5415852da0cea9718261df750d1349d46833cf50704d4f369b128d800ec12
|