{ "info": { "author": "Suleyman Melikoglu", "author_email": "suleyman@melikoglu.info", "bugtrack_url": null, "classifiers": [], "description": "django-leaderboard\n==================\n\nA Django leaderboard (scoreboard) app, using redis as its backend. This app is a wrapper for the python-leaderboard api https://github.com/agoragames/python-leaderboard\n\nThe app uses Redis KVS for its back-end and stores the scores on its 'sorted set' data structure, which keeps the data ordered and allows us to retrieve, update and delete scores efficiently. \n\nWith this app, you can get the leaderboard with pagination, create scores, update or delete them. Even get rankings around the given score.\n\nFeatures\n--------\n\n * RESTful api for creating, updating, deleting and retrieving high scores or scores around the user\n * Standard view for displaying high scores with pagination\n\nNot implemented features\n------------------------\n\n * delete method for the api\n\nRequirements\n------------\n\nPython leaderboards module `pip install leaderboard`, note that this module will install redis and hiredis modules as its dependancy\ndjangorestframework `pip install djangorestframework` for providing the rest behavior. \n\nInstallation\n------------\n\n * Add the `django_leaderboard` folder to your path.\n * Add `django_leaderboard` to APPS list in settings.py\n * Make sure that your redis server is running.\n * Add following lines to your urls.py file.\n * Run `python manage.py runserver` to test it out.\n\n url(r'^leaderboard/', include('django_leaderboard.urls')),\n # auth support for rest framework\n url(r'^restframework', include('djangorestframework.urls', namespace='djangorestframework'))\n \nUsage\n-----\n\nThanks to `djangorestframeword`, you can just visit `http://localhost:8000/leaderboard/api//` to create, update or get the leaderboard.\n\nOther urls are `http://localhost:8000/leaderboard/api//user//` for scores around the user, and `http://localhost:8000/leaderboard/api///` for pagination. Please see `urls.py` to see the full list or urls.\n\nTo create new ranking using the api, send a POST request to `http://localhost:8000/leaderboard/api//`. Game identifier is the key to determine your game to the system. it can be anything. Parameters are `user_id`and `score`. \nTo see the html table of leaderboard, go to `http://localhost:8000/leaderboard/highscores//` page.\n\nExample\n-------\n\nThere is an example project in the source to make it easy to start.\n\nContributions\n-------------\n\nPlease feel free to contribute.", "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/laplacesdemon/django-leaderboard", "keywords": null, "license": "BSD licence, see LICENCE.txt", "maintainer": null, "maintainer_email": null, "name": "django-leaderboard", "package_url": "https://pypi.org/project/django-leaderboard/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-leaderboard/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/laplacesdemon/django-leaderboard" }, "release_url": "https://pypi.org/project/django-leaderboard/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "A Django leaderboard (scoreboard) app, using redis as its backend", "version": "0.1.0" }, "last_serial": 789959, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "53a02a0b854750be0758afa5335816cd", "sha256": "1249940e6fc30febf6d49b8f58f542b68dd7f2e01d109ee3efa739833d90fed3" }, "downloads": -1, "filename": "django-leaderboard-0.1.0.tar.gz", "has_sig": false, "md5_digest": "53a02a0b854750be0758afa5335816cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5113, "upload_time": "2012-09-18T17:22:12", "url": "https://files.pythonhosted.org/packages/b0/db/46004243fcefdb362f1b617631b286e7dcaac007747611c05959bdd8c169/django-leaderboard-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "53a02a0b854750be0758afa5335816cd", "sha256": "1249940e6fc30febf6d49b8f58f542b68dd7f2e01d109ee3efa739833d90fed3" }, "downloads": -1, "filename": "django-leaderboard-0.1.0.tar.gz", "has_sig": false, "md5_digest": "53a02a0b854750be0758afa5335816cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5113, "upload_time": "2012-09-18T17:22:12", "url": "https://files.pythonhosted.org/packages/b0/db/46004243fcefdb362f1b617631b286e7dcaac007747611c05959bdd8c169/django-leaderboard-0.1.0.tar.gz" } ] }