A Python package for working with GPS coordinates
Project description
GPS Tools
A comprehensive Python package for working with GPS coordinates, handling conversions, distance calculations, and geofencing operations.
Features
- Coordinate handling: Work with latitude/longitude, UTM, and MGRS coordinates
- Conversions: Convert between different coordinate systems
- Distance calculations: Calculate distances, bearings, and midpoints
- Geofencing: Create and work with geographical boundaries
- Validation: Robust coordinate validation functions
Installation
pip install gps-tools
Quick Example
from gps_tools import Coordinate
from gps_tools.distance import haversine_distance
# Create coordinates for two cities
new_york = Coordinate(40.7128, -74.0060, name="New York")
los_angeles = Coordinate(34.0522, -118.2437, name="Los Angeles")
# Calculate the distance between them
distance = haversine_distance(new_york, los_angeles)
print(f"The distance between {new_york.name} and {los_angeles.name} is {distance/1000:.2f} km")
Documentation
For complete documentation, examples, and API reference, visit the documentation directory.
Optional Dependencies
GPS Tools has optional dependencies for advanced features:
# For visualization features
pip install gps-tools[viz]
# For GIS integration
pip install gps-tools[gis]
# For development
pip install gps-tools[dev]
Contributing
Contributions are welcome! Please check our contributing guide for details.
License
This project is licensed under the MIT License - see the LICENSE file for 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
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
File details
Details for the file gps_toolkit_py-0.1.8.tar.gz.
File metadata
- Download URL: gps_toolkit_py-0.1.8.tar.gz
- Upload date:
- Size: 20.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b93d521a3c78edde443624e73fe2642de28d16748080fe5a9946ae535ee35399
|
|
| MD5 |
601aedf7c253b02ede6d538ec91db3fb
|
|
| BLAKE2b-256 |
affe5ab446e990d28622dfeda05f2e8db1d689129bc7cfea1313492b65fba999
|
File details
Details for the file gps_toolkit_py-0.1.8-py3-none-any.whl.
File metadata
- Download URL: gps_toolkit_py-0.1.8-py3-none-any.whl
- Upload date:
- Size: 23.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a22d4cafa17081f7c5935ad8bab06f7157a129b1cebf077ce6835db8be7f55dc
|
|
| MD5 |
37ed41351f8df832969d80998e10bfdb
|
|
| BLAKE2b-256 |
cbf4b289e2d60338234392fe091896138fbc2068211eaa20ffdbcae274aa2090
|