{ "info": { "author": "Mathieu Leplatre", "author_email": "mathieu.leplatre@makina-corpus.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 2.5", "Topic :: Utilities" ], "description": "*django-mbtiles* serves maps from MBTiles files using Django. \nIt mainly relies on `landez `_.\n\nCheckout `LiveMbtiles `_ a simple maps catalog project that takes advantage of django-mbtiles.\n\n=======\nINSTALL\n=======\n\nLast stable version:\n\n::\n\n pip install django-mbtiles\n\n\nLast development version:\n\n::\n\n pip install -e git+https://github.com/makinacorpus/django-mbtiles.git#egg=django-mbtiles\n\n\n\n=====\nUSAGE\n=====\n\n* Add ``mbtilesmap`` to your ``INSTALLED_APPS``\n* Make sure you have ``'django.core.context_processors.static'`` in your `context processors `_\n\n* Include mbtilesmap urls into your project\n\n::\n\n urlpatterns = patterns('',\n ...\n ...\n url(r'^', include('mbtilesmap.urls', namespace='mb', app_name='mbtilesmap')),\n )\n\n* Add the HTML header and call the template tag\n\n::\n\n {% load mbtilesmap_tags %}\n ...\n {% block head %}\n {% mbtilesmap_head %}\n {{ block.super }}\n {% endblock head %}\n \n ...\n ...\n {% mbtilesmap filename %}\n\n\nMBTiles files can be loaded from subfolders with ``MBTILES_ROOT`` setting.\n\n::\n\n {% mbtilesmap filename catalog=\"subfolder\" %}\n\n\nExample\n-------\n\nYou can find a working demo project (MBTiles maps browser *livembtiles*) \nin the ``example/`` folder of the source tree (see dedicated ``README.rst`` file).\n\n\nCache with nginx\n----------------\n\n* Declare a cache zone in the ``http`` section :\n\n::\n\n http {\n ...\n proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=master:10m inactive=7d max_size=1g;\n proxy_temp_path /var/tmp/nginx;\n }\n\nCache name will be ``master``, index will be ``10m``, will last ``7d`` and have a maximum size of ``1g``.\n\n* Serve from cache for a specific location :\n\n::\n\n location @proxy {\n ...\n proxy_cache master;\n proxy_cache_key $$scheme$$host$$uri$$is_args$$args;\n proxy_cache_valid 200 7d;\n proxy_cache_use_stale error timeout invalid_header;\n }\n\nSee *example* project's buildout for deployment automation.\n\n\n=======\nAUTHORS\n=======\n\n * Mathieu Leplatre \n * `Andreas Trawoeger `_ \n \n|makinacom|_\n\n.. |makinacom| image:: http://depot.makina-corpus.org/public/logo.gif\n.. _makinacom: http://www.makina-corpus.com\n\n\n=======\nLICENSE\n=======\n\n * Lesser GNU Public License\n\n\n=========\nCHANGELOG\n=========\n\n1.3.0 (2013-09-18)\n------------------\n\n* Safety check if root folder is empty, with no sub-folders\n* Add grids urls in TileJSON\n\n1.2.1 (2013-09-16)\n------------------\n\n* Setup was zip safe, fixed it.\n\n1.2 (2013-09-13)\n----------------\n\n* Changed behaviour, looks for subfolders instead of multiple paths in MBTILES_ROOT\n\n1.1 (2013-09-11)\n----------------\n\n* Add ability to load MBTiles files from several folders\n\n1.0\n---\n\n* Initial version", "description_content_type": null, "docs_url": null, "download_url": "http://pypi.python.org/pypi/django-mbtiles/", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/makinacorpus/django-mbtiles", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "django-mbtiles", "package_url": "https://pypi.org/project/django-mbtiles/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-mbtiles/", "project_urls": { "Download": "http://pypi.python.org/pypi/django-mbtiles/", "Homepage": "https://github.com/makinacorpus/django-mbtiles" }, "release_url": "https://pypi.org/project/django-mbtiles/1.3/", "requires_dist": null, "requires_python": null, "summary": "Serve maps from MBTiles files using Django", "version": "1.3" }, "last_serial": 1790148, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "73e3966dea8f97d6ec010ba5afb992fe", "sha256": "71bf2d9d3ea245e5d923cff340fac521dd452b9ee2f3fcfa07f3624ecac094c6" }, "downloads": -1, "filename": "django-mbtiles-1.0.tar.gz", "has_sig": false, "md5_digest": "73e3966dea8f97d6ec010ba5afb992fe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 41240, "upload_time": "2012-02-28T15:19:15", "url": "https://files.pythonhosted.org/packages/59/d1/034fa3128510608cd538dc50a3e531aedb3fb7436ec900ffa12fd7e3d006/django-mbtiles-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "73480badec3dc3c735a4497c2c5bbc55", "sha256": "92da4dea81df2f77d199e8746861c2543c08f64594215429e54d75126afd8afc" }, "downloads": -1, "filename": "django-mbtiles-1.1.zip", "has_sig": false, "md5_digest": "73480badec3dc3c735a4497c2c5bbc55", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 55636, "upload_time": "2013-09-11T14:58:06", "url": "https://files.pythonhosted.org/packages/2d/ce/b5c2df29625fd70d58d757e5c3dd1220dea0cea248fb3ce9609241842ac2/django-mbtiles-1.1.zip" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "4f4d14e001669e7bc39ddec42c2ae04a", "sha256": "cabf79b47ff9362761673336c8b1fd5efb8afa159e23e067aa6597af260b9075" }, "downloads": -1, "filename": "django-mbtiles-1.1.1.zip", "has_sig": false, "md5_digest": "4f4d14e001669e7bc39ddec42c2ae04a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 55946, "upload_time": "2013-09-11T15:01:16", "url": "https://files.pythonhosted.org/packages/58/13/9d3dad3dcf03ca8fda91d5bd6cf5712213cf111757eef1f66e38783da52d/django-mbtiles-1.1.1.zip" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "30cc8a12fa020ef004f272bf285e8f22", "sha256": "4d0d8b408d0c87c1b5a392bcadacd898aa2a91812a0550cd29c0751987335e61" }, "downloads": -1, "filename": "django-mbtiles-1.2.zip", "has_sig": false, "md5_digest": "30cc8a12fa020ef004f272bf285e8f22", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 55812, "upload_time": "2013-09-13T10:21:24", "url": "https://files.pythonhosted.org/packages/63/66/70b008a44af090d32493f12e088fc4fea72b06b571e1299617d2a03ae400/django-mbtiles-1.2.zip" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "8a357617b83335983e13e2ecdff140d0", "sha256": "8db462dc4207038c8e826207f96dddfa1031d83f8dca2c069fb053300b8fec3b" }, "downloads": -1, "filename": "django-mbtiles-1.2.1.zip", "has_sig": false, "md5_digest": "8a357617b83335983e13e2ecdff140d0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 56235, "upload_time": "2013-09-16T16:14:51", "url": "https://files.pythonhosted.org/packages/83/84/5716e8b82d449aa1be55ed6567fa8a15e7c12cc8b72e5d48aceebc903b39/django-mbtiles-1.2.1.zip" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "3e02b905c91f28ec110e45dcc9435194", "sha256": "496c3daeeec8ac4b68561f1a1a994c21082fdfe2febd2426b0c4372115b86597" }, "downloads": -1, "filename": "django-mbtiles-1.3.zip", "has_sig": false, "md5_digest": "3e02b905c91f28ec110e45dcc9435194", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 56630, "upload_time": "2013-09-18T08:07:46", "url": "https://files.pythonhosted.org/packages/fb/8d/b09b15a01cb250e89e1ca39e11b21c45a7c3011cfc053c98352bbb2ba3fe/django-mbtiles-1.3.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3e02b905c91f28ec110e45dcc9435194", "sha256": "496c3daeeec8ac4b68561f1a1a994c21082fdfe2febd2426b0c4372115b86597" }, "downloads": -1, "filename": "django-mbtiles-1.3.zip", "has_sig": false, "md5_digest": "3e02b905c91f28ec110e45dcc9435194", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 56630, "upload_time": "2013-09-18T08:07:46", "url": "https://files.pythonhosted.org/packages/fb/8d/b09b15a01cb250e89e1ca39e11b21c45a7c3011cfc053c98352bbb2ba3fe/django-mbtiles-1.3.zip" } ] }