{ "info": { "author": "Tobias Lorenz", "author_email": "tobias.lorenz@bitlabstudio.com", "bugtrack_url": null, "classifiers": [], "description": "Django Tinylinks\n================\n\nA Django application that adds an URL shortener to your site similar to bit.ly.\n\nInstallation\n------------\n\nYou need to install the following prerequisites in order to use this app::\n\n pip install django\n pip install requests\n\nWhen using Python 2.6, you will also need to install importlib.\n\nIf you want to install the latest stable release from PyPi::\n\n $ pip install django-tinylinks\n\nIf you feel adventurous and want to install the latest commit from GitHub::\n\n $ pip install -e git://github.com/bitmazk/django-tinylinks.git#egg=tinylinks\n\nAdd ``tinylinks`` to your ``INSTALLED_APPS``::\n\n INSTALLED_APPS = (\n ...,\n 'tinylinks',\n )\n\nAdd the ``tinylinks`` URLs to your ``urls.py``::\n\n urlpatterns = [\n url(r'^s/', include('tinylinks.urls')),\n ]\n\nDon't forget to migrate your database::\n\n ./manage.py migrate tinylinks\n\nSettings\n--------\n\nTINYLINK_LENGTH\n+++++++++++++++\n\nDefault: 6\n\nInteger representing the number of characters for your tinylinks. This setting\nis used when the app suggests a new tinylink. Regardless of this setting users\nwill be able to create custom tinylinks with up to 32 characters.\n\n\nTINYLINK_CHECK_INTERVAL\n+++++++++++++++++++++++\n\nDefault: 10\n\nNumber of minutes between two runs of the check command. This number should be\nbig enough so that one run can complete before the next run is scheduled.\n\nTINYLINK_CHECK_PERIOD\n+++++++++++++++++++++\n\nDefault: 300\n\nNumber of minutes in which all URLs should have been updated at least\nonce. If this is 300 it means that within 5 hours we want to update all URLs.\n\nIf ``TINYLINK_CHECK_INTERVAL`` is 10 it means that we will run the command\nevery 10 minutes. Combined with a total time of 300 minutes, this means that we\ncan execute the command 300/10=30 times during one period.\n\nNow we can devide the total number of URLs by 30 and on each run we will\nupdate the X most recent URLs. After 10 runs, we will have updated all URLs.\n\nUsage\n-----\n\nJust visit the root URL of the app. Let's assume you hooked the app into your\n``urls.py`` at `s/`, then visit `yoursite.com/s/`. You will see your tinylist\noverview. Go to `yoursite.com/s/create/` to see a form to submit a new long URL.\n\nAfter submitting, you will be redirected to a new page which shows the\ngenerated short URL. If you want this URL to have a different short URL, just\nchange the short URL to your liking.\n\nNow visit `yoursite.com/s/yourshorturl` and you will be redirected to your long\nURL.\n\nContribute\n----------\n\nIf you want to contribute to this project, please perform the following steps\n\n.. code-block:: bash\n\n # Fork this repository\n # Clone your fork\n mkvirtualenv -p python2.7 django-tinylinks\n make develop\n\n git co -b feature_branch master\n # Implement your feature and tests\n git add . && git commit\n git push -u origin feature_branch\n # Send us a pull request for your feature branch\n\nIn order to run the tests, simply execute ``tox``. This will install two new\nenvironments (for Django 1.8 and Django 1.9) and run the tests against both\nenvironments.\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bitmazk/django-tinylinks", "keywords": "django", "license": "The MIT License", "maintainer": "", "maintainer_email": "", "name": "django-tinylinks", "package_url": "https://pypi.org/project/django-tinylinks/", "platform": "OS Independent", "project_url": "https://pypi.org/project/django-tinylinks/", "project_urls": { "Homepage": "https://github.com/bitmazk/django-tinylinks" }, "release_url": "https://pypi.org/project/django-tinylinks/0.7.1/", "requires_dist": null, "requires_python": "", "summary": "A reusable Django app that adds a link shortener like bit.ly to your site.\n", "version": "0.7.1" }, "last_serial": 2899746, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "f5ae718edebc8cec70de082d0855eaf2", "sha256": "34de73f3f7ee153cad3be1cd04d3c463b70006544bd58ce13f8955198a14bb40" }, "downloads": -1, "filename": "django-tinylinks-0.1.tar.gz", "has_sig": false, "md5_digest": "f5ae718edebc8cec70de082d0855eaf2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10018, "upload_time": "2012-11-12T01:16:27", "url": "https://files.pythonhosted.org/packages/a8/65/cb839517684f255431f8f75f4bbfb6a08d9da016a32ac6df99be940f23a8/django-tinylinks-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "7dd08ca0a9650fe48f6f3ba4a064ac7f", "sha256": "42d558d9bafa7ff4e3ae9a1281d4261c4b5c4186d0d07620e6a0e98f8638f644" }, "downloads": -1, "filename": "django-tinylinks-0.2.tar.gz", "has_sig": false, "md5_digest": "7dd08ca0a9650fe48f6f3ba4a064ac7f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9896, "upload_time": "2012-11-12T03:35:32", "url": "https://files.pythonhosted.org/packages/c5/b7/3925b8f5b4f50159ea60ca5413a28841991ed3c89a797d4bdcd241edb1ee/django-tinylinks-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "d9aafd43ea29c127a1c527048642a3bc", "sha256": "0800a0f4b50d996ac8e23a3b93c445d90781d0dc248b5e80a7b5049d38e4f693" }, "downloads": -1, "filename": "django-tinylinks-0.3.tar.gz", "has_sig": false, "md5_digest": "d9aafd43ea29c127a1c527048642a3bc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16312, "upload_time": "2012-12-05T01:39:53", "url": "https://files.pythonhosted.org/packages/69/41/da86124125a996721bd7c900bcbd637fa2be7bd9a4f1adeaa2d89e372b05/django-tinylinks-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "5711b908205c3a2eb44a141aee922aa6", "sha256": "2af98543e22f3a89a216e6abf4304eecab15f06bb3b235ecb605a3e65060ebc5" }, "downloads": -1, "filename": "django-tinylinks-0.4.tar.gz", "has_sig": false, "md5_digest": "5711b908205c3a2eb44a141aee922aa6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16314, "upload_time": "2012-12-05T01:40:34", "url": "https://files.pythonhosted.org/packages/16/be/7f429321270abf4bd26868ba2877ea5ec0f250319d1fb1affc98896a2fca/django-tinylinks-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "73f09cb5d769e352d6ce8859ce514120", "sha256": "0555d86cb57cbe44c4184a128f3d73f88f8537ba25f875edabfacc7c96704061" }, "downloads": -1, "filename": "django-tinylinks-0.5.tar.gz", "has_sig": false, "md5_digest": "73f09cb5d769e352d6ce8859ce514120", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16951, "upload_time": "2013-03-18T02:19:56", "url": "https://files.pythonhosted.org/packages/6b/c2/1ca46e95526125b21bc14c7c245ac80b9e7f5adcfd39087071d5f2be3f79/django-tinylinks-0.5.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "347600a63af9bdbe5b771a29fd940cb5", "sha256": "28349a0e247941d28c68e45f9e4acfa0dcb40d27e4922cb88998384bc523f5b5" }, "downloads": -1, "filename": "django-tinylinks-0.5.1.tar.gz", "has_sig": false, "md5_digest": "347600a63af9bdbe5b771a29fd940cb5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18655, "upload_time": "2014-03-14T07:29:13", "url": "https://files.pythonhosted.org/packages/0b/10/66a5f18a019d2783c7a1c0074c04f102330e1d152c0722ba257285748f05/django-tinylinks-0.5.1.tar.gz" } ], "0.5.2": [ { "comment_text": "", "digests": { "md5": "c4003595b4205ff7faf7e74c450c6ea8", "sha256": "e9bd6a83c45c7e7b8a4475a649621065f743de253a1198fe10a5a2937304d37c" }, "downloads": -1, "filename": "django-tinylinks-0.5.2.tar.gz", "has_sig": false, "md5_digest": "c4003595b4205ff7faf7e74c450c6ea8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18750, "upload_time": "2014-04-14T14:02:29", "url": "https://files.pythonhosted.org/packages/61/e7/18035ccc0d2d079088225393a8ee45c26806019280522a6ccbf50cdc1257/django-tinylinks-0.5.2.tar.gz" } ], "0.5.3": [ { "comment_text": "", "digests": { "md5": "5ab0e4f4b6f96fc62900206d1e8036aa", "sha256": "e668a0843fff52d30a03e6813d7cddd5a0838a50ba1aca3f85b0e1234c2ed771" }, "downloads": -1, "filename": "django-tinylinks-0.5.3.tar.gz", "has_sig": false, "md5_digest": "5ab0e4f4b6f96fc62900206d1e8036aa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18798, "upload_time": "2014-04-14T14:24:05", "url": "https://files.pythonhosted.org/packages/a1/52/f334765661351d9c1e64072ea0f1994534c0d60a46e4ff36c90286b6c39a/django-tinylinks-0.5.3.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "5b164da805f5c4122febde08b61119d9", "sha256": "7adf4867b12d16e77abce204322300fb4cc7440ec315f1c2f4082d4987baf476" }, "downloads": -1, "filename": "django-tinylinks-0.6.tar.gz", "has_sig": false, "md5_digest": "5b164da805f5c4122febde08b61119d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18852, "upload_time": "2014-09-16T06:11:20", "url": "https://files.pythonhosted.org/packages/70/52/2626f31b396c9db94889a5b42012e14c23a671650232885eb29ae7091cb5/django-tinylinks-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "14190ff05c8e29e69a66390c736f53e1", "sha256": "dc9f3cf67093b2789ef6df457e67778bb9aafb506115fb5e498a698c0f015941" }, "downloads": -1, "filename": "django-tinylinks-0.7.tar.gz", "has_sig": false, "md5_digest": "14190ff05c8e29e69a66390c736f53e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17756, "upload_time": "2016-05-16T10:30:53", "url": "https://files.pythonhosted.org/packages/18/78/85b25482ce701bf98909cb26070141e60596772ea94789b527cdb2efc700/django-tinylinks-0.7.tar.gz" } ], "0.7.1": [ { "comment_text": "", "digests": { "md5": "421b71bc3e947accabd810167c077a3c", "sha256": "71321268b303b0ee8afdaf4d57220895e3ea38f09cea1b9eff91cde455c0400c" }, "downloads": -1, "filename": "django-tinylinks-0.7.1.tar.gz", "has_sig": false, "md5_digest": "421b71bc3e947accabd810167c077a3c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17767, "upload_time": "2017-05-26T07:11:16", "url": "https://files.pythonhosted.org/packages/9e/b0/3c7b0a6997526f61db1e2f9b6c71ac73f916df893d69d3e768f4d0763bf8/django-tinylinks-0.7.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "421b71bc3e947accabd810167c077a3c", "sha256": "71321268b303b0ee8afdaf4d57220895e3ea38f09cea1b9eff91cde455c0400c" }, "downloads": -1, "filename": "django-tinylinks-0.7.1.tar.gz", "has_sig": false, "md5_digest": "421b71bc3e947accabd810167c077a3c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17767, "upload_time": "2017-05-26T07:11:16", "url": "https://files.pythonhosted.org/packages/9e/b0/3c7b0a6997526f61db1e2f9b6c71ac73f916df893d69d3e768f4d0763bf8/django-tinylinks-0.7.1.tar.gz" } ] }