{ "info": { "author": "Yu Mochizuki", "author_email": "ymoch.dev@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Scientific/Engineering :: GIS", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Pyjpmesh\n========\n\nJapan grid square code (JIS X 0410) utility for Python.\n\n.. image:: https://travis-ci.org/ymoch/pyjpmesh.svg?branch=master\n :target: https://travis-ci.org/ymoch/pyjpmesh\n.. image:: https://coveralls.io/repos/github/ymoch/pyjpmesh/badge.svg?branch=master\n :target: https://coveralls.io/github/ymoch/pyjpmesh?branch=master\n\n\nFeatures\n--------\n\n- Supports the meshes below.\n - 1st mesh (*jpmesh.FirstMesh* class, about 80 km square).\n - 2nd mesh (*jpmesh.SecondMesh* class, about 10 km square).\n - 3rd mesh (*jpmesh.ThirdMesh* class, about 1 km square).\n - 1/2 mesh (*jpmesh.HalfMesh* class, about 500 m square).\n - 1/4 mesh (*jpmesh.QuarterMesh* class, about 250 m square).\n - 1/8 mesh (*jpmesh.OneEighthMesh* class, about 125 m square).\n- Supports the calculations below.\n - Mesh border coordinates from mesh codes.\n - Mesh codes from coordinates.\n- Consisted of only one file and depends on no other libraries,\n which enable you to use it portably.\n\n\nInstallation\n------------\n\nChoose one from the following.\n\n- Run ``pip install pyjpmesh``.\n- Put *jpmesh.py* on your project.\n\n\nTutorial\n--------\n\nHere is an example to get the 1st mesh (about 8 km square) code\nthat a given point belongs to.\n\n.. code-block:: python\n\n from jpmesh import Angle, Coordinate, FirstMesh\n\n coordinate = Coordinate(\n lon=Angle.from_degree(140.0), lat=Angle.from_degree(35.0))\n mesh = FirstMesh.from_coordinate(coordinate)\n print mesh.code # '5240'\n\nHere is another example to get the center point of the given mesh.\n\n.. code-block:: python\n\n from jpmesh import parse_mesh_code\n\n mesh = parse_mesh_code('5339')\n mesh_center = mesh.south_west + (mesh.size / 2.0)\n print mesh_center.lon.degree, mesh_center.lat.degree # 139.5 35.667\n\nTo use other mesh classes (SecondMesh, ThirdMesh, etc.),\nuse those classes instead of FirstMesh.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ymoch/pyjpmesh", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "pyjpmesh", "package_url": "https://pypi.org/project/pyjpmesh/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pyjpmesh/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/ymoch/pyjpmesh" }, "release_url": "https://pypi.org/project/pyjpmesh/1.1.0/", "requires_dist": null, "requires_python": null, "summary": "Japan grid square code (JIS X 0410) utility for Python.", "version": "1.1.0" }, "last_serial": 2325756, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "deaaf02584945f9f307206dc32c773a1", "sha256": "374d96eba67d4f9159317a9c66318a6f50937238a64e3f6e49db03477ddbe292" }, "downloads": -1, "filename": "pyjpmesh-0.1.0.tar.gz", "has_sig": false, "md5_digest": "deaaf02584945f9f307206dc32c773a1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4534, "upload_time": "2016-05-06T18:16:57", "url": "https://files.pythonhosted.org/packages/f6/f9/c364d11ca9e6888faf5eab61e35791984c59e0b6ed9ee55160b409bcef05/pyjpmesh-0.1.0.tar.gz" } ], "0.9.0": [ { "comment_text": "", "digests": { "md5": "a20a6402c80924168e2596cb21e3ee9c", "sha256": "06f7f832bcc7538b7a71dfdb8319838f25f522453baa1a416039ffce9779d0cd" }, "downloads": -1, "filename": "pyjpmesh-0.9.0.tar.gz", "has_sig": false, "md5_digest": "a20a6402c80924168e2596cb21e3ee9c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4974, "upload_time": "2016-05-07T04:19:38", "url": "https://files.pythonhosted.org/packages/71/64/0379d3c29527372af154eb19ab9181d9a3c0b850c954c3e9031fec30face/pyjpmesh-0.9.0.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "a795edb33da8bb478ee3d8041231cff0", "sha256": "d07653f63edac9380089b4976f9e474a6e70a6837aed676a24e1048040f7bc0d" }, "downloads": -1, "filename": "pyjpmesh-1.0.0.tar.gz", "has_sig": false, "md5_digest": "a795edb33da8bb478ee3d8041231cff0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6266, "upload_time": "2016-05-09T15:06:10", "url": "https://files.pythonhosted.org/packages/ed/63/71e785ecc25591aa6df616649d28824b57176ee618ab0463b58afc1fbe45/pyjpmesh-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "6f3419b3b856b43330152e329f803be5", "sha256": "06ebb76d95aa89319ee05d85de98165b9a0080814e7093dcef1294fe86e6d6e3" }, "downloads": -1, "filename": "pyjpmesh-1.0.1.tar.gz", "has_sig": false, "md5_digest": "6f3419b3b856b43330152e329f803be5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6276, "upload_time": "2016-05-10T13:10:12", "url": "https://files.pythonhosted.org/packages/e2/86/8d730f0aa28245e57d23793ed8db97ef19f98d61f15a0ac9056de467949c/pyjpmesh-1.0.1.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "de942a914fa7664224b1d3718aee9464", "sha256": "2d809d08c2da233d77e2f2c2328581cfbd8a27d9330cc54fae36af48a5c1efd3" }, "downloads": -1, "filename": "pyjpmesh-1.1.0.tar.gz", "has_sig": false, "md5_digest": "de942a914fa7664224b1d3718aee9464", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6366, "upload_time": "2016-09-05T14:42:25", "url": "https://files.pythonhosted.org/packages/a4/41/47e77fa9b2c69bfa1c79576f8350b3db6d184ab201ae7d41c4ea98476df3/pyjpmesh-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "de942a914fa7664224b1d3718aee9464", "sha256": "2d809d08c2da233d77e2f2c2328581cfbd8a27d9330cc54fae36af48a5c1efd3" }, "downloads": -1, "filename": "pyjpmesh-1.1.0.tar.gz", "has_sig": false, "md5_digest": "de942a914fa7664224b1d3718aee9464", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6366, "upload_time": "2016-09-05T14:42:25", "url": "https://files.pythonhosted.org/packages/a4/41/47e77fa9b2c69bfa1c79576f8350b3db6d184ab201ae7d41c4ea98476df3/pyjpmesh-1.1.0.tar.gz" } ] }