{ "info": { "author": "Christopher Barker", "author_email": "Chris.Barker@noaa.gov", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3" ], "description": "##############\nlat_lon_parser\n##############\n\nCode for parsing lat-long coordinates in \"various\" formats\n\nNote: perhaps it would be better to integrate this with a more full featured lib like:\n\nhttps://pypi.python.org/pypi/LatLon23\n\nBut that one does not seem to support parsing unknown formats at this point -- and it's GPL, and perhaps a littel more complex and structured than it needs to be.\n\nFormats supported:\n==================\n\nDecimal degrees (easy)::\n\n 23.43\n -45.21\n\nDecimal Degrees with quadrant::\n\n 23.43 N\n 45.21 W\n\nOr with spelled out::\n\n 23.43 North\n 45.21 West\n\n(note that all of the cardinal directions are not case-sensitive)\n\nDegrees, decimal minutes: (now it starts getting tricky!)::\n\n 23\u00b0 25.800'\n -45\u00b0 12.600'\n\nor::\n\n 23 25.800'\n -45 12.600'\n\nor::\n\n 23\u00b0 25.8' N\n 45\u00b0 12.6' West\n\nDegrees, Minutes, Seconds: (really fun!!!)::\n\n 23\u00b0 25' 48.0\"\n -45\u00b0 12' 36.0\"\n\nor::\n\n 23d 25' 48.0\"\n -45d 12' 36.0\"\n\nor::\n\n 23\u00b0 25' 48.0\" North\n 45\u00b0 12' 36.0\" S\n\nor -- lots of other combinations!\n\nFor a more complete list, see the tests\n\nAdding to the options:\n======================\n\nThis uses a pretty \"stupid\" algorithm -- it assumes that all formats will be something like:\n\n[-][space] degrees [separator] minutes [separator] seconds [separator] [N[orth]|S[outh|E[ast]|W[est]]\n\nBut that actually is pretty darn robust!\n\nIf you have other formats you want to be able to parse, please contribute tests! -- And ideally a patch if the current code doesn't work.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ChrisBarker-NOAA/lat_lon_parser", "keywords": "lat_lon_parser", "license": "", "maintainer": "", "maintainer_email": "", "name": "lat-lon-parser", "package_url": "https://pypi.org/project/lat-lon-parser/", "platform": "", "project_url": "https://pypi.org/project/lat-lon-parser/", "project_urls": { "Homepage": "https://github.com/ChrisBarker-NOAA/lat_lon_parser" }, "release_url": "https://pypi.org/project/lat-lon-parser/1.1.2/", "requires_dist": null, "requires_python": "", "summary": "simple parser for latitude-longitude strings", "version": "1.1.2" }, "last_serial": 5115800, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "c1498af8aeba0b1570b52cfd72ceafc5", "sha256": "7f2cce5e65cc505980107b2fab5d350cf7e1e9cb60d6a98780604e7bd48c5db1" }, "downloads": -1, "filename": "lat_lon_parser-0.1.0.tar.gz", "has_sig": false, "md5_digest": "c1498af8aeba0b1570b52cfd72ceafc5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8436, "upload_time": "2019-03-04T03:59:14", "url": "https://files.pythonhosted.org/packages/15/8f/9ab631b7651385913de4ae8bcb0277bde7e3996004f13c5595d6dd7751f4/lat_lon_parser-0.1.0.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "8f34049a0650efb8a89db119cc4b7702", "sha256": "46a91383cfd67ef9b830ad27b61b3f4fc80ca69796384ea83a3282d7b52f6178" }, "downloads": -1, "filename": "lat_lon_parser-1.0.0.tar.gz", "has_sig": false, "md5_digest": "8f34049a0650efb8a89db119cc4b7702", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8457, "upload_time": "2019-03-04T04:04:08", "url": "https://files.pythonhosted.org/packages/e1/e6/fe3a3a896406fbebb61c6f55145c3d8a74262f33734666fe81052c59c040/lat_lon_parser-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "a947dc7de03f246daeebe0985c9a208c", "sha256": "6bd1d2da91cd9cfa4d9628cc73ffcf16ffa265bd167bdda4a7f03a82c9e8a905" }, "downloads": -1, "filename": "lat_lon_parser-1.1.0.tar.gz", "has_sig": false, "md5_digest": "a947dc7de03f246daeebe0985c9a208c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8671, "upload_time": "2019-03-27T21:19:32", "url": "https://files.pythonhosted.org/packages/4d/c3/fb4e31d0bdf80364985441ebe76dabcd26ef7f1e31f4294f0bf674fc090d/lat_lon_parser-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "651c5855238e34f35c4eecaffea67042", "sha256": "fcb9557c25227a9c88799344c2d63d477a2a670f2e94f0a03c843e9de1434dbc" }, "downloads": -1, "filename": "lat_lon_parser-1.1.1.tar.gz", "has_sig": false, "md5_digest": "651c5855238e34f35c4eecaffea67042", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8790, "upload_time": "2019-04-05T07:18:51", "url": "https://files.pythonhosted.org/packages/80/74/c55c61f25505f90c50457f2ec72545b998e7d6a1395cdf2147c89bd4fdd3/lat_lon_parser-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "6e9966db0c3c01329aafe0c5c525f7c8", "sha256": "2a83785867de710295d5a7cd2815cdf71810df184de8855d5358482b90598f39" }, "downloads": -1, "filename": "lat_lon_parser-1.1.2.tar.gz", "has_sig": false, "md5_digest": "6e9966db0c3c01329aafe0c5c525f7c8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8804, "upload_time": "2019-04-08T21:38:15", "url": "https://files.pythonhosted.org/packages/95/de/efe972ed17ee86a4832ddecd2badccbdabd17baaeb02d6c0c1f3f8bb6d22/lat_lon_parser-1.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6e9966db0c3c01329aafe0c5c525f7c8", "sha256": "2a83785867de710295d5a7cd2815cdf71810df184de8855d5358482b90598f39" }, "downloads": -1, "filename": "lat_lon_parser-1.1.2.tar.gz", "has_sig": false, "md5_digest": "6e9966db0c3c01329aafe0c5c525f7c8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8804, "upload_time": "2019-04-08T21:38:15", "url": "https://files.pythonhosted.org/packages/95/de/efe972ed17ee86a4832ddecd2badccbdabd17baaeb02d6c0c1f3f8bb6d22/lat_lon_parser-1.1.2.tar.gz" } ] }