lat-lon-parser
Simple parser for latitude-longitude strings
Decision gist · record as of 2026-08-14
Yes, if you need lightweight coordinate parsing without external dependencies. The package is stable, permissively licensed, and solves a specific problem well. However, dormant maintenance (no active development) means you should verify it handles your specific coordinate formats before relying on it in production; consider it a utility library rather than an actively supported tool.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later.
- No runtime dependencies and low install friction.
- Dormant maintenance status (643 days since last release) means no active development, but the package is marked Production/Stable and has received recent version updates.
License · maintenance · safety
CC0 1.0 Universal (permissive) — CC0 1.0 Universal places the code in the public domain with no restrictions on use, modification, or redistribution.
last release 2024-11-09 (643 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 138,635 downloads/mo, #11,325 on PyPI
Alternatives
Verify before relying
pip install lat-lon-parser
from lat_lon_parser import parse
result = parse("45° 12.6' W")
print(result) # -45.21- Whether the package handles edge cases like coordinates spanning the International Date Line or poles
- Performance characteristics when parsing very large coordinate datasets
- Whether format detection is truly robust across all claimed format combinations
What it is and what it does
lat-lon-parser is a lightweight coordinate parsing library that converts latitude-longitude strings from various textual formats into decimal degrees. It handles formats ranging from simple decimal notation (23.43) to complex degree-minute-second strings with cardinal directions (23° 25' 48.0" North), using a straightforward pattern-matching algorithm that assumes degrees, minutes, and seconds appear in sequence with optional quadrant indicators.
The package also provides conversion functions to transform between coordinate representations—converting decimal degrees to degree-minute or degree-minute-second tuples, and formatting coordinates as strings in different notations. It requires Python 3.9 or later and has no external dependencies, making it a self-contained utility suitable for GIS applications, data processing pipelines, or any tool that needs to normalize coordinate input from multiple sources.
Use it for
- Parse user-supplied coordinate strings in web forms or APIs that accept multiple coordinate formats
- Normalize latitude-longitude data from diverse sources (GPS devices, maps, user input) into a standard decimal format
- Convert between coordinate representations for display or storage (e.g., show degrees-minutes-seconds to users, store as decimal)
- Process geographic datasets in pandas DataFrames where coordinate columns contain mixed or non-standard formats
- Build GIS tools or mapping applications that accept coordinates in human-readable degree-minute-second notation
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need lightweight coordinate parsing without external dependencies.
The package is stable, permissively licensed, and solves a specific problem well. However, dormant maintenance (no active development) means you should verify it handles your specific coordinate formats before relying on it in production; consider it a utility library rather than an actively supported tool.
Install
lat-lon-parser on PyPI
Before you install
No runtime dependencies and low install friction. Dormant maintenance status (643 days since last release) means no active development, but the package is marked Production/Stable and has received recent version updates.
Requires Python 3.9 or later.
License in practice
CC0 1.0 Universal places the code in the public domain with no restrictions on use, modification, or redistribution.
Quickstart
pip install lat-lon-parser
from lat_lon_parser import parse
result = parse("45° 12.6' W")
print(result) # -45.21
Verify before relying
- Whether the package handles edge cases like coordinates spanning the International Date Line or poles
- Performance characteristics when parsing very large coordinate datasets
- Whether format detection is truly robust across all claimed format combinations
Package facts
| License | CC0 1.0 Universal permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Dormant 643 days since the last release |
| First released | |
| Downloads | 138,635 / month, #11,325 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: CC0 1.0 Universal (CC0 1.0) Public Domain DedicationNatural Language :: EnglishProgramming Language :: Python :: 3Topic :: Scientific/Engineering :: GIS |
Evidence: lat_lon_parser-1.3.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “parse latitude longitude strings”
- lat-lon-parserParses latitude-longitude coordinate strings in multiple formats…
- geolibEncodes and decodes geographic coordinates as geohashes, and computes…
- pygeohashEncodes latitude/longitude coordinates to geohash strings and decodes…
Give your agent the search over MCP, or paste the wish link into any chat.
More GIS packages
Shapely provides Python tools for creating, manipulating, and analyzing 2D geometric objects (points, lines, polygons) using the GEOS library, with both scalar and vectorized NumPy-based operations.
pyproj provides a Python interface to PROJ, enabling cartographic projections and coordinate system transformations for geospatial applications.
GeoPandas extends pandas DataFrames to handle geographic data, combining pandas operations with shapely geometry and spatial analysis capabilities that would otherwise require a spatial database.
Install it if you work with geographic data in Python and want to avoid setting up a spatial database or learning a separate GIS tool.
geopy is a Python client for geocoding and distance calculation that converts addresses to coordinates and vice versa using multiple web-based geocoding services, and computes geodesic and great-circle distances between geographic points.
Install it if you need geocoding or distance calculations in your application.
Pyogrio provides fast, bulk-oriented read and write access to vector spatial data formats (Shapefile, GeoPackage, GeoJSON, etc.) via GDAL/OGR bindings, typically for use with GeoPandas GeoDataFrames.
h3 provides Python bindings to Uber's H3 geospatial indexing library, converting geographic coordinates into hierarchical hexagonal grid cells and performing spatial operations on them.
See also mgrs · convertbng · pynmea2 · polyline · utm · reverse_geocoder · geohash2 · reverse-geocode · tzfpy · suntimes