{ "info": { "author": "Vladimir Udartsev", "author_email": "v.udartsev@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 2.2", "Intended Audience :: Developers", "License :: Aladdin Free Public License (AFPL)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Database", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "# django-geodata\nDjango app to add GEO data [Countries, Cities, Time Zones, Geo Points and their Polygons in geoJSON format.]\n\n## Install\n1) Download Django app packege:\n`pip require django-geodata`\n\n***\n2) Add to your django `settings.py` file database connection settings for **geodata** table: \n\n DATABASE_ROUTERS = ['geodata.databaserouter.GeodataRouter']\n DATABASE_APPS_MAPPING = {'geodata': 'geodata'}\n DATABASES = {\n 'geodata': {\n 'ENGINE': 'django.contrib.gis.db.backends.postgis',\n 'NAME': 'geodata',\n 'USER': 'postgres',\n 'PASSWORD': 'Postgres911!',\n 'HOST': 'localhost',\n 'PORT': '5432'\n }\n***\n3) In `settings.py` register **geodata** in Django Apps list:\n\n INSTALLED_APPS = [\n \t'geodata'\n ]\n\n***\n4) Add to your django `urls.py`:\n\n urlpatterns = [\n path('api/', include('geodata.urls')),\n ]\n\n***\n5) Seed geo data for example Russia (contry code = RU) data or use US, GB, FR, DE or other valid country code\n`python manage.py seedcountry RU` \n\n***\n6) `python manage.py runserver`\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/udartsev/django-geodata", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "django-geodata", "package_url": "https://pypi.org/project/django-geodata/", "platform": "", "project_url": "https://pypi.org/project/django-geodata/", "project_urls": { "Homepage": "https://github.com/udartsev/django-geodata" }, "release_url": "https://pypi.org/project/django-geodata/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "Django app to add GEO data [Countries, Cities, Time Zones, Geo Points and their Polygons in geoJSON format.]", "version": "0.1.1" }, "last_serial": 5884734, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "26fb9dd9856c84f5c98368b69399aebf", "sha256": "3bc306808d91a0014a67467efec9d780c78275ad96db4ff93f90866a19b17c18" }, "downloads": -1, "filename": "django_geodata-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "26fb9dd9856c84f5c98368b69399aebf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2831, "upload_time": "2019-09-25T10:35:02", "url": "https://files.pythonhosted.org/packages/bc/ed/427f24c302a429d9af167487f02173af0e777d6a3ce605fb2b6de5aa08b9/django_geodata-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a1c7ab9ee7826aac9449c1e24c15cc49", "sha256": "085571af286590966f63892d9da5b1f4720aba0e5d999b25900340e3426fd0c1" }, "downloads": -1, "filename": "django-geodata-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a1c7ab9ee7826aac9449c1e24c15cc49", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2631, "upload_time": "2019-09-25T10:35:04", "url": "https://files.pythonhosted.org/packages/50/28/98aaaddba71c0716db6617ee173a98a4cba99fca7cabbad4fc0bc268ce62/django-geodata-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "bfcae3a620d6b6c3a437330c57460f32", "sha256": "ff9873268d489c048d368fe763777ad67073279d273c62e8514f7898fe7f61c1" }, "downloads": -1, "filename": "django_geodata-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "bfcae3a620d6b6c3a437330c57460f32", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2876, "upload_time": "2019-09-25T11:18:55", "url": "https://files.pythonhosted.org/packages/f0/76/8ddd793b67e400b7fe800b382bf6a03b82678dd92bcd52c658c9c7a12e59/django_geodata-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e4b68d4aefb6e12e2ccb5184b89a5c9f", "sha256": "326050ce68e9ab79f9660789d29e876133c5c862dbd60c52684ce468cd515468" }, "downloads": -1, "filename": "django-geodata-0.1.1.tar.gz", "has_sig": false, "md5_digest": "e4b68d4aefb6e12e2ccb5184b89a5c9f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2692, "upload_time": "2019-09-25T11:18:56", "url": "https://files.pythonhosted.org/packages/83/84/2c9356dda32c22fcab3f352a28a4f2b76d4a5fb68d30773044a858d90f5f/django-geodata-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bfcae3a620d6b6c3a437330c57460f32", "sha256": "ff9873268d489c048d368fe763777ad67073279d273c62e8514f7898fe7f61c1" }, "downloads": -1, "filename": "django_geodata-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "bfcae3a620d6b6c3a437330c57460f32", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2876, "upload_time": "2019-09-25T11:18:55", "url": "https://files.pythonhosted.org/packages/f0/76/8ddd793b67e400b7fe800b382bf6a03b82678dd92bcd52c658c9c7a12e59/django_geodata-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e4b68d4aefb6e12e2ccb5184b89a5c9f", "sha256": "326050ce68e9ab79f9660789d29e876133c5c862dbd60c52684ce468cd515468" }, "downloads": -1, "filename": "django-geodata-0.1.1.tar.gz", "has_sig": false, "md5_digest": "e4b68d4aefb6e12e2ccb5184b89a5c9f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2692, "upload_time": "2019-09-25T11:18:56", "url": "https://files.pythonhosted.org/packages/83/84/2c9356dda32c22fcab3f352a28a4f2b76d4a5fb68d30773044a858d90f5f/django-geodata-0.1.1.tar.gz" } ] }