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.4.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.4-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gps_toolkit_py-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 1f03f98523da8f46d868ad0c29f48f8256df5049be27128577b422fb7598480d
MD5 82928af2c273d770d90fbde152b8c97a
BLAKE2b-256 45b93b3904ec1fc0f32cf5654042c78bafb99af0dbfcde080424056013a10bfd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gps_toolkit_py-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9d8bb38e15950872f0e2dac5a599460ddb2d03694f5e71facc21578d6662689c
MD5 9959a865def23437a577b109215fcf0e
BLAKE2b-256 37782c64e546962e908c3d0af9b4f91fb1d3e20ca9b70f59e3f446f8f4d0c49e

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