{ "info": { "author": "Martin Miglio", "author_email": "marmig0404@gmail.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 2.7" ], "description": "# address2img\nA python module to convert addresses to map images using open source map data sources and mapnik.\n## Installation\naddress2img works on any system with mapnik 2.x or newer.\n\nMapnik must be installed before proceeding with install.\nTo test for mapnik, run\n```bash\nmapnik-config -v # Should return a version 2.x or newer\n```\n\nUse pip to install address2img\n```bash\nsudo python -m pip install address2img\n```\n\n## Basic Usage\nTo use address2img, the configuration file and mapnik xml file must be configured.\nThe configuration file is [config.ini](config.ini) by default. To configure the mapnik xml file, see [here](https://github.com/mapnik/mapnik/wiki/XMLConfigReference).\n\nAfter the config and xml files are configured, usage is as simple as importing the module and calling the function.\n```python\n# importing map_maker file from address2img\nfrom address2img import map_maker\n\n# defining addresses for which render maps, must be a list\naddresses = [\n 'Piazza del Duomo, 56126 Pisa PI, Italy',\n '1600 Pennsylvania Ave NW, Washington, DC 20500',\n ]\n \n# instantiating Map_Maker class with addresses\nworker = map_maker.Map_Maker(addresses)\n\n# calling make_map method of the Map_Maker instance\nworker.make_map()\n\n```\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/marmig0404/address2img", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "address2img", "package_url": "https://pypi.org/project/address2img/", "platform": "", "project_url": "https://pypi.org/project/address2img/", "project_urls": { "Homepage": "https://github.com/marmig0404/address2img" }, "release_url": "https://pypi.org/project/address2img/1.1/", "requires_dist": null, "requires_python": "", "summary": "A module to convert addresses to images using mapnik", "version": "1.1" }, "last_serial": 4541078, "releases": { "1.1": [ { "comment_text": "", "digests": { "md5": "353efa992b783bcb30557eb03d747b3f", "sha256": "e1753798c536ce1e0688ef5acc7040deb5b5b7ebfcb67ece9b3d5586421c45f7" }, "downloads": -1, "filename": "address2img-1.1.tar.gz", "has_sig": false, "md5_digest": "353efa992b783bcb30557eb03d747b3f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3568, "upload_time": "2018-11-29T01:38:29", "url": "https://files.pythonhosted.org/packages/3b/f1/40d8b733d364867f5a01f3959cf6fc26c30bca4d7ae165d4aef69402df6d/address2img-1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "353efa992b783bcb30557eb03d747b3f", "sha256": "e1753798c536ce1e0688ef5acc7040deb5b5b7ebfcb67ece9b3d5586421c45f7" }, "downloads": -1, "filename": "address2img-1.1.tar.gz", "has_sig": false, "md5_digest": "353efa992b783bcb30557eb03d747b3f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3568, "upload_time": "2018-11-29T01:38:29", "url": "https://files.pythonhosted.org/packages/3b/f1/40d8b733d364867f5a01f3959cf6fc26c30bca4d7ae165d4aef69402df6d/address2img-1.1.tar.gz" } ] }