Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gps_toolkit_py-0.1.7.tar.gz (20.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gps_toolkit_py-0.1.7-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

Details for the file gps_toolkit_py-0.1.7.tar.gz.

File metadata

  • Download URL: gps_toolkit_py-0.1.7.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

Hashes for gps_toolkit_py-0.1.7.tar.gz
Algorithm Hash digest
SHA256 38c9674c7258d444c22488d4e6b5e2f20148ab25c56a5b9ea49defdf478d79a4
MD5 b5c1cc4d5c7e1ab4b9c1e45defaa9346
BLAKE2b-256 98be94648a547485055dfe83c112a61de19197bb30f4a4d4d37ea4717b115b5b

See more details on using hashes here.

File details

Details for the file gps_toolkit_py-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: gps_toolkit_py-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 22.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for gps_toolkit_py-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c7be28239aa08b0d41cdecb7d519cf6a9f6565cf1bc4065ca799089bf04ce3ea
MD5 76deb45cda587bc106adbcfe2f8a78f3
BLAKE2b-256 ec43147d271ac83dca207684652f45a5316f8cc18a8861213d184fb5615d0efe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page