{ "info": { "author": "Matthieu Viry", "author_email": "matthieu.viry@cnrs.fr", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Scientific/Engineering" ], "description": "smoomapy\n========\n\nMake smoothed maps in your python environnement\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n|Build Status Travis| |Build Status Appveyor| |Version| |Coveralls|\n\nMore or less a python port of *Stewart method* from R SpatialPositon\npackage (https://github.com/Groupe-ElementR/SpatialPosition/).\n\nAllow to set a desired number of class and choose discretization method or\ndirectly set some custom breaks values.\n\nInput/output can be a path to a geographic layer (GeoJSON, shp, etc.) or a GeoDataFrame.\n\nRequires:\n^^^^^^^^^\n\n- Numpy\n- GeoPandas\n- Matplotlib\n\nDocumentation on the method :\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nPlease refer to https://github.com/Groupe-ElementR/SpatialPosition/\ndocumentation.\n\nUsage example:\n~~~~~~~~~~~~~~\n\nOne-shot functionnality\n^^^^^^^^^^^^^^^^^^^^^^^\n\n.. code:: python\n\n >>> result = quick_stewart('nuts3_data.geojson',\n \"pop1999\",\n span=65000,\n beta=3,\n resolution=48000,\n mask='nuts3_data.geojson',\n nb_class=10,\n user_defined_breaks=None,\n output=\"geojson\")\n\nObject-oriented API, allowing to easily redraw contours with new breaks values\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n.. code:: python\n\n >>> StePot = SmoothStewart('nuts3_data.geojson', \"pop1999\",\n span=65000, beta=3,\n resolution=60000,\n mask='nuts3_data.geojson')\n >>> res = StePot.render(nb_class=8, disc_func=\"jenks\",\n output=\"GeoDataFrame\")\n >>> res.plot(cmap=\"YlOrRd\", linewidth=0.1)\n\n.. figure:: https://raw.githubusercontent.com/mthh/smoomapy/master/misc/export_plot.png\n :alt: png_example\n\n\nThe long part of the computation is done during the initialization of\n``SmoothStewart`` instance (i.e. actually computing potentials). Some\nconvenience methods allows to tweak and re-export the few last steps :\n\n**Allow to quickly redraw polygons with a new classification method**\n\nAvailables classification\nmethods are: \"equal\\_interval\", \"prog\\_geom\", \"jenks\", \"percentiles\" and\n\"head-tail-breaks\"\n\n.. code:: python\n\n >>> res = StePot.render(nb_class=6,\n disc_func=\"percentiles\",\n output=\"GeoDataFrame\")\n\n**Allow to set custom break values (highly recommended after a first\nrendering or having take a look at the distibution):**\n\n.. code:: python\n\n >>> my_breaks = [0, 1697631, 3395263, 5092894, 6790526,\n 8488157, 10185789, 11883420, 13581052]\n\n >>> res = StePot.render(nb_class=6, user_defined_breaks=my_breaks,\n output=\"GeoDataFrame\")\n\nInstallation:\n~~~~~~~~~~~~~\n\nFrom PyPI :\n^^^^^^^^^^^\n\n.. code:: shell\n\n $ pip install smoomapy\n\n\nFrom github :\n^^^^^^^^^^^^^\n\n.. code:: shell\n\n $ git clone http://github.com/mthh/smoomapy.git\n $ cd smoomapy/\n $ python setup.py install\n\n.. |Build Status Travis| image:: https://travis-ci.org/mthh/smoomapy.svg?branch=master\n :target: https://travis-ci.org/mthh/smoomapy\n\n.. |Build Status Appveyor| image:: https://ci.appveyor.com/api/projects/status/tc7ynr2ejpp8a4c9/branch/master?svg=true\n :target: https://ci.appveyor.com/project/mthh/smoomapy/branch/master\n\n.. |Version| image:: https://img.shields.io/pypi/v/smoomapy.svg\n :target: https://pypi.python.org/pypi/smoomapy\n\n.. |Coveralls| image:: https://coveralls.io/repos/github/mthh/smoomapy/badge.svg?branch=master\n :target: https://coveralls.io/github/mthh/smoomapy?branch=master", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/mthh/smoomapy", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "smoomapy", "package_url": "https://pypi.org/project/smoomapy/", "platform": "", "project_url": "https://pypi.org/project/smoomapy/", "project_urls": { "Homepage": "http://github.com/mthh/smoomapy" }, "release_url": "https://pypi.org/project/smoomapy/0.1.9/", "requires_dist": null, "requires_python": "", "summary": "Brings smoothed maps through python", "version": "0.1.9" }, "last_serial": 2846785, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "8e68e45e88d79a5b1110877b3fb0c490", "sha256": "22b15c0669eecc8db2c9434bf45b7315ab79cb78c1860f30af1da1d43d9bc238" }, "downloads": -1, "filename": "smoomapy-0.1.0.tar.gz", "has_sig": false, "md5_digest": "8e68e45e88d79a5b1110877b3fb0c490", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9466, "upload_time": "2016-08-29T14:34:46", "url": "https://files.pythonhosted.org/packages/db/5b/fd3c768c67c84e8fd0dc9bb35fc97041577597a5752c89d3f6404fd8e236/smoomapy-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "e1c65d0c2b4205c5b0453e809a9e2988", "sha256": "dc7bac2a6faa1d7e9676ee751198c70e12f6ea5a233e435d061c4ec80e2ed7a3" }, "downloads": -1, "filename": "smoomapy-0.1.1.tar.gz", "has_sig": false, "md5_digest": "e1c65d0c2b4205c5b0453e809a9e2988", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11043, "upload_time": "2016-08-30T09:33:59", "url": "https://files.pythonhosted.org/packages/7e/ce/a8abc707d2d1a4abca44279b8042b4b9d91c859bb164047f542e9f27a096/smoomapy-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "69c260b033572a80bfd0e66dfaccf046", "sha256": "98e332f6431670b4b27b23feda79728776c1c7907fa23bc81e1c2e5e37ca3c25" }, "downloads": -1, "filename": "smoomapy-0.1.2.tar.gz", "has_sig": false, "md5_digest": "69c260b033572a80bfd0e66dfaccf046", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11215, "upload_time": "2016-09-15T10:14:50", "url": "https://files.pythonhosted.org/packages/98/b7/9f64b2a9c0ca4e5597ba90229960fb29162d5d7327c458dab7056c7c910a/smoomapy-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "e0cd8b950c294f7d9219231b08dcde27", "sha256": "8d16ba024b6a9f8dd14e05ac5d38cff95b3ecc6bf7e550d7cc6560e8178201b9" }, "downloads": -1, "filename": "smoomapy-0.1.3.tar.gz", "has_sig": false, "md5_digest": "e0cd8b950c294f7d9219231b08dcde27", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11760, "upload_time": "2016-10-11T13:32:22", "url": "https://files.pythonhosted.org/packages/fd/e9/7104c567a22a9666bd776dc2303620bf3562b33461b06346869c77f92131/smoomapy-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "9fee58f027b0d57b7d36d1909c73973a", "sha256": "4f54b825fe50c8578f0236ee0df7f984060733797af7268a379aeb22f2d64cd2" }, "downloads": -1, "filename": "smoomapy-0.1.4.tar.gz", "has_sig": false, "md5_digest": "9fee58f027b0d57b7d36d1909c73973a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10391, "upload_time": "2016-11-30T17:15:37", "url": "https://files.pythonhosted.org/packages/96/bd/2e972196364f3d35fd618518d74c13eef1aa47fff0a4b2a15a7dab53b10e/smoomapy-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "801eff0e2f06c99430a85a912240fae1", "sha256": "01530def2f1be82bb7c03d17a18c904089f81367a22578ea79170c766a73e2e2" }, "downloads": -1, "filename": "smoomapy-0.1.5.tar.gz", "has_sig": false, "md5_digest": "801eff0e2f06c99430a85a912240fae1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10725, "upload_time": "2017-01-10T09:00:43", "url": "https://files.pythonhosted.org/packages/36/55/88740148b49da81ff747e60b6cc22ad466b99c7369628c4196d3a75dd0a1/smoomapy-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "3c62d385a7aca5f17a7e7a133789eaf9", "sha256": "ff83e90af342fa4a538906fb722095f3f64707c2c0a882e87bde511a574d5f73" }, "downloads": -1, "filename": "smoomapy-0.1.6.tar.gz", "has_sig": false, "md5_digest": "3c62d385a7aca5f17a7e7a133789eaf9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10739, "upload_time": "2017-01-10T14:42:05", "url": "https://files.pythonhosted.org/packages/b5/45/0360087f9d8554c8853ec361c9003eb7326bac7e5b019badcd8711aabf30/smoomapy-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "a7c558f725e5fedca86281df46497375", "sha256": "c317c3688295b8f167f46e21bace4c90db3fb81807c16418ae12cd5d7e8a7a1a" }, "downloads": -1, "filename": "smoomapy-0.1.7.tar.gz", "has_sig": false, "md5_digest": "a7c558f725e5fedca86281df46497375", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10773, "upload_time": "2017-01-25T10:57:43", "url": "https://files.pythonhosted.org/packages/2d/6b/2b621851cd3eb3f2d44fc2dfc50551e01d7bfa1287cbd61d011b752db88b/smoomapy-0.1.7.tar.gz" } ], "0.1.8": [ { "comment_text": "", "digests": { "md5": "03fe1dd37dd5f0071dcf783f251df13d", "sha256": "5dc099e2a2e802a17f263e15cd86dfd8e25e55b426c7efb46a38c67109406063" }, "downloads": -1, "filename": "smoomapy-0.1.8.tar.gz", "has_sig": false, "md5_digest": "03fe1dd37dd5f0071dcf783f251df13d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10973, "upload_time": "2017-01-26T20:31:29", "url": "https://files.pythonhosted.org/packages/30/47/d03003e0f71c5da4fe1ac66b808a0d18b7aa8968fb5e3c13699c765bfa02/smoomapy-0.1.8.tar.gz" } ], "0.1.9": [ { "comment_text": "", "digests": { "md5": "b51f15d54a968cd6d6c8f2f20057cd44", "sha256": "3b3966852100fa1b233febf3979afb9f4d53a8a12ccc2f5e8fd8b7563aaa2167" }, "downloads": -1, "filename": "smoomapy-0.1.9.tar.gz", "has_sig": false, "md5_digest": "b51f15d54a968cd6d6c8f2f20057cd44", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10333, "upload_time": "2017-05-02T15:52:16", "url": "https://files.pythonhosted.org/packages/f4/34/46157add6b7bdcb674690cc04531450c99a1d78efa6fa72af18b420987be/smoomapy-0.1.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b51f15d54a968cd6d6c8f2f20057cd44", "sha256": "3b3966852100fa1b233febf3979afb9f4d53a8a12ccc2f5e8fd8b7563aaa2167" }, "downloads": -1, "filename": "smoomapy-0.1.9.tar.gz", "has_sig": false, "md5_digest": "b51f15d54a968cd6d6c8f2f20057cd44", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10333, "upload_time": "2017-05-02T15:52:16", "url": "https://files.pythonhosted.org/packages/f4/34/46157add6b7bdcb674690cc04531450c99a1d78efa6fa72af18b420987be/smoomapy-0.1.9.tar.gz" } ] }