{ "info": { "author": "Josh VanderLinden", "author_email": "codekoala at gmail dot com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Communications", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "``django-reploc`` is a project that allows you to install a Google Map on your\nsite to display and filter \"representatives\" for your site. These\nrepresentatives may be dealers/vendors for your products, your friends or\nbusiness associates, or just places you've been and want to advertise. I built\nthe application to be a dealer locator, but I realize the value in an\napplication like this and tried to make it as generic as possible.\n\nFeatures\n========\n\n* Unlimited number of representatives.\n* Unlimited number of locations _per_ representative.\n* Automatic latitude/longitude determination for locations. If there's a\n problem determining the coordinates to the address, you can enter them\n manually.\n* Locations can have \"attributes.\" This is a way of specifying, for example,\n which locations carry which lines of your products.\n* You can decide whether you want to use JavaScript or Python to do the heavy\n lifting.\n* Users can search for locations within a radius of an address they specify.\n* Offer your users driving directions to various representative locations.\n\nRequirements\n============\n\n``django-reploc`` requires at least Django 1.0. For automatic coordinate\ndetermination, ``django-reploc`` requires the ``geopy`` library. This can be\ninstalled using ``easy_install geopy``. The application also requires that you\nhave a Google Maps API key. To get one of those, simply go to `the Google Maps\nAPI page `_ and fill out the\nnecessary information. Finally, ``django-reploc`` relies heavily upon jQuery\nin order to operate. I used the latest version of jQuery, which is currently\n1.2.6.\n\nInstallation\n============\n\nDownload ``django-reploc`` using *one* of the following methods:\n\neasy_install\n------------\n\nYou can download the package from the `CheeseShop\n`_ or use::\n\n easy_install django-reploc\n\nto download and install ``django-reploc``.\n\npip\n---\n\nInstall ``django-reploc`` using::\n\n pip install -U django-reploc\n\nPackage Download\n----------------\n\nDownload the latest ``.tar.gz`` file from the downloads section and extract it\nsomewhere you'll remember. Use ``python setup.py install`` to install it.\n\nClone From Source Control\n-------------------------\n\nYou can get the latest copy of the source code from any of the these official\nrepositories::\n\n hg clone http://bitbucket.org/codekoala/django-reploc\n hg clone http://django-reploc.googlecode.com/hg django-reploc\n git clone http://github.com/codekoala/django-reploc.git\n\nVerifying Installation\n----------------------\n\nThe easiest way to ensure that you have successfully installed Pendulum is to\nexecute a command such as::\n\n python -c \"import reploc; print reploc.get_version()\"\n\nIf that displays the version of ``django-reploc`` that you tried to install,\nyou're good to roll. If you see something other than that, you probably need\nto check your ``PYTHONPATH`` environment variable.\n\nConfiguration\n=============\n\nFirst of all, you must add this project to your list of ``INSTALLED_APPS`` in\n``settings.py``::\n\n INSTALLED_APPS = (\n 'django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.sites',\n ...\n 'reploc',\n ...\n )\n\nNext you should add the context processor to your\n``TEMPLATE_CONTEXT_PROCESSORS`` setting so the templates have access to the\nGoogle Maps API key. You don't really need this step if you're going to put\nthe API key straight into your template.\n\n::\n\n TEMPLATE_CONTEXT_PROCESSORS = (\n 'django.core.context_processors.auth',\n 'django.core.context_processors.i18n',\n 'django.core.context_processors.media',\n 'reploc.context_processors.representatives',\n )\n\nDefine your Google Maps API key in your ``settings.py`` file::\n\n GOOGLE_MAPS_KEY = 'sdfsafasfdasfdasdf'\n\nAdditionally, you may specify whether you would like the grunt work (distance\ncalculations and whatnot) handled by JavaScript or Python::\n\n REPLOC_USE_JS = False\n\nThis will probably never be used much, but it's there just in case. The\napplication defaults to using JavaScript.\n\nRun ``python manage.py syncdb``. This creates a few tables in your database\nthat are necessary for operation.\n\nNext, you should add an entry to your main ``urls.py`` file. For example::\n\n from django.conf.urls.defaults import *\n\n from django.contrib import admin\n admin.autodiscover()\n\n urlpatterns = patterns('',\n (r'^admin/(.*)', admin.site.root),\n (r'^locator/', include('reploc.urls')),\n )\n\nFinally, you'll probably want to copy the media files that I use in\n``django-reploc``, unless you have some of your own. Those files can be found\nin the ``/media/`` directory of the project. There are really only two files\nthat you should need to copy to your media directory:\n``reploc/media/js/jquery-1.3.1.min.js`` and ``reploc/media/img/ajax.gif`` (see\nhttp://code.google.com/p/django-reploc/source/browse/#hg%2Freploc%2Fmedia\nfor the specific files). Alternatively, you may just override the templates to\nuse whatever you want. I make no guarantees that the application will still\nwork if you do that though ;)\n\nUsage\n=====\n\nAs soon as you have all of the configuration taken care of, simply fire up your\nsite (or restart it) and jump into the Django administration interface. You\ncan add locations straight from the \"Add Representative\" page if you'd like.\nWhen you're done, head on over to http://www.yourwebsite.com/locator/ (or\nwhatever it happens to be in your case) to see the application in action.\n\nUpdating Location Coordinates\n-----------------------------\n\nI've created a utility to help you update the location coordinates if you feel\nthe need. They should be updated each time you save a location, but if you\nwant to update all of the locations in one swing, you can use the command\n``python manage.py reploc_update_coords``.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://bitbucket.org/codekoala/django-reploc/", "keywords": "django,dealers,vendors,representatives,locator,map", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "django-reploc", "package_url": "https://pypi.org/project/django-reploc/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-reploc/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://bitbucket.org/codekoala/django-reploc/" }, "release_url": "https://pypi.org/project/django-reploc/0.1.1-pre1/", "requires_dist": null, "requires_python": null, "summary": "A simple way for people to find representative locations on your Django-powered Web site.", "version": "0.1.1-pre1" }, "last_serial": 235665, "releases": { "0.1.0-pre1": [ { "comment_text": "", "digests": { "md5": "4cf6581920966a443ff928b9465cf1b9", "sha256": "14a92035c08ac95c01b7f0e6e5fef063d592c228a7ecaf79b390328e87752c57" }, "downloads": -1, "filename": "django-reploc-0.1.0-pre1.tar.bz2", "has_sig": true, "md5_digest": "4cf6581920966a443ff928b9465cf1b9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8179, "upload_time": "2008-11-09T07:23:08", "url": "https://files.pythonhosted.org/packages/bb/d4/fad018b7b56a80fd32cd2ef7e9c699446fab5dd7dfc1cb18549bcd9733ff/django-reploc-0.1.0-pre1.tar.bz2" }, { "comment_text": "", "digests": { "md5": "78a4172e342181e8e7716309dbfc5d6b", "sha256": "1f184218a124a0fc9251cf6b6b84a1f55e55e4ab403d2cf9dd0f40b7f224611d" }, "downloads": -1, "filename": "django-reploc-0.1.0-pre1.tar.gz", "has_sig": true, "md5_digest": "78a4172e342181e8e7716309dbfc5d6b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8581, "upload_time": "2008-11-09T07:23:04", "url": "https://files.pythonhosted.org/packages/9f/c0/50ed9aaeede589d9f7f41c749e69a187cdfa69ab868ebb830a6b2ff6ce08/django-reploc-0.1.0-pre1.tar.gz" }, { "comment_text": "", "digests": { "md5": "8f386d402e66c10beef5da1f4634a1a5", "sha256": "d5ef4cd8ebde4273068c8b29b7d5d949f96719993c2e594beb7078d2ac4d7e3a" }, "downloads": -1, "filename": "django-reploc-0.1.0-pre1.zip", "has_sig": true, "md5_digest": "8f386d402e66c10beef5da1f4634a1a5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12566, "upload_time": "2008-11-09T07:23:12", "url": "https://files.pythonhosted.org/packages/84/79/24dd3baa50c1b254cf25c3269d2513b27c6d5b49aa9b5e5f8fc77e75618a/django-reploc-0.1.0-pre1.zip" } ], "0.1.0-pre2": [ { "comment_text": "", "digests": { "md5": "434a17e17f31ee0538baf79f2be491ba", "sha256": "d9e4c634a11ee791c29a85bb0e43a3e71180fa9275f7f5c31112ae989d2f9879" }, "downloads": -1, "filename": "django-reploc-0.1.0-pre2.tar.bz2", "has_sig": true, "md5_digest": "434a17e17f31ee0538baf79f2be491ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8326, "upload_time": "2008-11-11T14:49:59", "url": "https://files.pythonhosted.org/packages/8c/db/3c09aa203163f0894d9b8848782654cfd33d54e45074eff4a4376d14bbe3/django-reploc-0.1.0-pre2.tar.bz2" }, { "comment_text": "", "digests": { "md5": "9b6aec29abbbed0d0292a6bc178b75fb", "sha256": "73ac5e06e1f24f8a5347ee9be2977b52a576b9b9f8507560b425dea02688223f" }, "downloads": -1, "filename": "django-reploc-0.1.0-pre2.tar.gz", "has_sig": true, "md5_digest": "9b6aec29abbbed0d0292a6bc178b75fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8758, "upload_time": "2008-11-11T14:49:54", "url": "https://files.pythonhosted.org/packages/04/a3/e9835657a98aeea86a67791ef6e94b0991c09d3a45cea46aee71ab38249a/django-reploc-0.1.0-pre2.tar.gz" }, { "comment_text": "", "digests": { "md5": "773cc4f9fbc60c8ee08d36291fa06a6b", "sha256": "c5476e1228928c4c98a303e474d9bf856894998781b0edcdcda7a4cb28925dbf" }, "downloads": -1, "filename": "django-reploc-0.1.0-pre2.zip", "has_sig": true, "md5_digest": "773cc4f9fbc60c8ee08d36291fa06a6b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12841, "upload_time": "2008-11-11T14:50:03", "url": "https://files.pythonhosted.org/packages/ed/9f/832c09a9ef436360fc3df86e7c03c4278d2e1a6941c47c9fefc35b90175c/django-reploc-0.1.0-pre2.zip" } ], "0.1.0-pre3": [ { "comment_text": "", "digests": { "md5": "0be76d55fa25f92d78735afcad88f125", "sha256": "649ef119815d83b7860a52541d5490428bbfba481c61a73e0bb252c4df78c827" }, "downloads": -1, "filename": "django-reploc-0.1.0-pre3.tar.bz2", "has_sig": true, "md5_digest": "0be76d55fa25f92d78735afcad88f125", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 45178, "upload_time": "2009-02-06T15:21:58", "url": "https://files.pythonhosted.org/packages/88/93/2ee9e040b28a1ead061c634c2172b42c540fca21f21ae2b716f6cc9e2a56/django-reploc-0.1.0-pre3.tar.bz2" }, { "comment_text": "", "digests": { "md5": "ec336f21c9684046ac4af260fb5ab06d", "sha256": "4f6329f687c648ef1d119ff77a8c47eaae08d1681fead653057270d870e3335f" }, "downloads": -1, "filename": "django-reploc-0.1.0-pre3.tar.gz", "has_sig": true, "md5_digest": "ec336f21c9684046ac4af260fb5ab06d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 65585, "upload_time": "2009-02-06T15:21:54", "url": "https://files.pythonhosted.org/packages/d8/1a/fb806dd7e40a00c7c88abd948c2339527dac7369598c84414cce1291f248/django-reploc-0.1.0-pre3.tar.gz" }, { "comment_text": "", "digests": { "md5": "ff9bf9a244ccef482870df3bf9856a6b", "sha256": "9e5e9570b6f5d752ff89ec7b1cc5c9427af50744221422c702bd7bbbfea435a0" }, "downloads": -1, "filename": "django-reploc-0.1.0-pre3.zip", "has_sig": true, "md5_digest": "ff9bf9a244ccef482870df3bf9856a6b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 70001, "upload_time": "2009-02-06T15:22:04", "url": "https://files.pythonhosted.org/packages/66/61/6201663226440417d53473e7e471686142e61d6540cc736ba0811ca0195e/django-reploc-0.1.0-pre3.zip" } ], "0.1.1-pre1": [ { "comment_text": "", "digests": { "md5": "de9ecb5c09eabb8de4b44766668e11bb", "sha256": "0198f5ae53aa7688eaff800443f7811ea3c5d8880538b0f6695c93681829835e" }, "downloads": -1, "filename": "django-reploc-0.1.1-pre1.tar.gz", "has_sig": false, "md5_digest": "de9ecb5c09eabb8de4b44766668e11bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39168, "upload_time": "2010-12-31T06:11:05", "url": "https://files.pythonhosted.org/packages/ba/3d/c48ccd24221e701bcb2afcdb7af2fceba7255dddc054ebd332351264db5b/django-reploc-0.1.1-pre1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "de9ecb5c09eabb8de4b44766668e11bb", "sha256": "0198f5ae53aa7688eaff800443f7811ea3c5d8880538b0f6695c93681829835e" }, "downloads": -1, "filename": "django-reploc-0.1.1-pre1.tar.gz", "has_sig": false, "md5_digest": "de9ecb5c09eabb8de4b44766668e11bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39168, "upload_time": "2010-12-31T06:11:05", "url": "https://files.pythonhosted.org/packages/ba/3d/c48ccd24221e701bcb2afcdb7af2fceba7255dddc054ebd332351264db5b/django-reploc-0.1.1-pre1.tar.gz" } ] }