{ "info": { "author": "Nikolay Nikulesko", "author_email": "nikulesko@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Use WebGl Earth in your Flask application,\n ability to add markers and polygons\n\n ##Reuires\n - Jinja\n - Flask\n\n ##Installation\n '''pip install flask-webglearth'''\n\n or\n\n '''\n git clone https://github.com/nikulesko/Flask-WebGLEarth\n cd Flask-WebGLEarth\n python setup.py install\n ```\n\n ##View\n '''python\n from flask import Flask, render_template\n from flask_webglearth import WebGlEarth, WebGl, MAP_TYPES, Marker, Polygon\n\n app = Flask(__name__, template_folder=\".\")\n WebGl(app)\n\n\n @app.route(\"/\")\n def index():\n webgl_earth = WebGlEarth(zoom=1, map_type=MAP_TYPES.get('osm'),\n center=[46.3, 30.4], atmosphere=True,\n markers=[Marker(49.3, 30.4, \"Hello world!\")],\n polygons=[Polygon(([45.1, 30.3],\n [46.1, 40.56], [50.3, 20.8]))])\n return render_template('example_template.html', webgl_map=webgl_earth)\n\n\n if __name__ == \"__main__\":\n app.run(debug=True)\n '''\n\n ## Template\n '''html\n \n \n \n \n {{webgl_map.js}}\n \n \n
\n \n \n '''\n\n ## Screenshot\n\n ", "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/nikulesko/Flask-WebGLEarth", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "Flask-WebGlEarth", "package_url": "https://pypi.org/project/Flask-WebGlEarth/", "platform": "any", "project_url": "https://pypi.org/project/Flask-WebGlEarth/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/nikulesko/Flask-WebGLEarth" }, "release_url": "https://pypi.org/project/Flask-WebGlEarth/0.1.3/", "requires_dist": null, "requires_python": null, "summary": "Simple extension for Flask to use WebGl Earth", "version": "0.1.3" }, "last_serial": 962503, "releases": { "0.1.3": [ { "comment_text": "", "digests": { "md5": "3cd024fa9f573783362bc4c0eca125db", "sha256": "600f880e9beb263fb9d4192299a7c3537dc661c48f001eb3c91ad6f116eb054b" }, "downloads": -1, "filename": "Flask-WebGlEarth-0.1.3.zip", "has_sig": false, "md5_digest": "3cd024fa9f573783362bc4c0eca125db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 203289, "upload_time": "2014-01-07T10:52:07", "url": "https://files.pythonhosted.org/packages/c0/fc/53b2fdbef59e4203b6dbdfa129c9330f652f974bf0db5962dffc8030843e/Flask-WebGlEarth-0.1.3.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3cd024fa9f573783362bc4c0eca125db", "sha256": "600f880e9beb263fb9d4192299a7c3537dc661c48f001eb3c91ad6f116eb054b" }, "downloads": -1, "filename": "Flask-WebGlEarth-0.1.3.zip", "has_sig": false, "md5_digest": "3cd024fa9f573783362bc4c0eca125db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 203289, "upload_time": "2014-01-07T10:52:07", "url": "https://files.pythonhosted.org/packages/c0/fc/53b2fdbef59e4203b6dbdfa129c9330f652f974bf0db5962dffc8030843e/Flask-WebGlEarth-0.1.3.zip" } ] }