{ "info": { "author": "Lx Yu", "author_email": "i@lxyu.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3" ], "description": "Shorter\n=======\n\nSimple flask app to create a short url service.\n\nCreates a robust url shorten service with zero config.\n\n\nUsage\n-----\n\nUse pip to install shorter:\n\n.. code:: bash\n\n $ pip install shorter\n\nRun with 'shorter':\n\n.. code:: bash\n\n $ shorter\n\nSimple test:\n\n.. code:: bash\n\n $ curl --form \"url=http://google.com\" localhost:5000\n cpYNkF\n $ curl localhost:5000/cpYNkF\n \n
You should be redirected automatically to target URL: http://google.com. If not click the link.\n\nYou may also try visit it using a browser.\n\n\nDeploy\n------\n\nDeploy with gunicorn is easy:\n\n.. code:: bash\n\n $ gunicorn -w 4 -b 127.0.0.1:5000 shorter:app\n\nCustomize\n---------\n\nUse a `shorter_config.py` to customize database uri:\n\n.. code:: python\n\n # shorter_config.py example\n SQLALCHEMY_DATABASE_URI = \"sqlite:///shorter.db\"", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": "url short shorter flask", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "shorter", "package_url": "https://pypi.org/project/shorter/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/shorter/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/shorter/0.1.2/", "requires_dist": null, "requires_python": null, "summary": "Robust url shorten service with zero config.", "version": "0.1.2" }, "last_serial": 977076, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "8e3ce40e5cd342caa386d4fe7d580bc2", "sha256": "e6ff7ae9a1b7a288bf924f26c469a057f6deb994e3ce7605a81ef395bd586caf" }, "downloads": -1, "filename": "shorter-0.1.1.tar.gz", "has_sig": false, "md5_digest": "8e3ce40e5cd342caa386d4fe7d580bc2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2573, "upload_time": "2014-01-22T11:40:43", "url": "https://files.pythonhosted.org/packages/36/81/27cf341487b6b01b6f6a5d48b636372ebc76414bbce20332c07191622382/shorter-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "d5db0f7fa6e4e126b64d82f4fa0b6be7", "sha256": "7629a8f9dbea08130659998b5bb9c55385a49fbfedc7438cf10c4c8fba9ec183" }, "downloads": -1, "filename": "shorter-0.1.2.tar.gz", "has_sig": false, "md5_digest": "d5db0f7fa6e4e126b64d82f4fa0b6be7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2789, "upload_time": "2014-01-22T12:50:03", "url": "https://files.pythonhosted.org/packages/ae/c2/e5ccd844c3de0d538f6f7562fb870db880b584fdc3d77b8b1877b9c57905/shorter-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d5db0f7fa6e4e126b64d82f4fa0b6be7", "sha256": "7629a8f9dbea08130659998b5bb9c55385a49fbfedc7438cf10c4c8fba9ec183" }, "downloads": -1, "filename": "shorter-0.1.2.tar.gz", "has_sig": false, "md5_digest": "d5db0f7fa6e4e126b64d82f4fa0b6be7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2789, "upload_time": "2014-01-22T12:50:03", "url": "https://files.pythonhosted.org/packages/ae/c2/e5ccd844c3de0d538f6f7562fb870db880b584fdc3d77b8b1877b9c57905/shorter-0.1.2.tar.gz" } ] }