{ "info": { "author": "David Gara\u00f1a", "author_email": "", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Thumbor URL Aliases plugin\n==========================\n.. image:: https://travis-ci.org/bluekiri/thumbor-aliases.svg?branch=master\n**thumbor_aliases** let's you create custom urls to redirect your most-used request\nusing a friendly url.\n\nImagine that your company decides that all thumbnails should go to ``100x100/smart``.\n\nWouldn't be awesome to just name this url: ``thumbnail``? So, if you need to change\nit later, you can even just modify the alias to point to ``200x200/smart`` instead,\nwithout having to change your application code.\n\n\nInstall\n^^^^^^^^^^\nBefore installing, be sure you're using Python2.7 (Python3 isn't supported yet).\n\nInstall it by using pip::\n\n $ pip install thumbor-aliases\n \nEasy, right?\n\nConfigure\n^^^^^^^^^\nCreate, if not done yet, your thumbor config file::\n\n $ thumbor-config > config.cfg\n \nAnd enable **thumbor_aliases** plugin on community extensions. This can be done by\njust adding next lines at the end of configuration file::\n\n COMMUNITY_EXTENSIONS = [\n 'thumbor_aliases',\n ...\n ]\n\nBy default it will use the ``yaml_file`` storage handler, which reads a file located on ``~/aliases.yml``.\n\nIn case you want to change the file location, you can set the config variable: ``ALIASES_STORAGE_FILE`` ::\n\n ALIASES_STORAGE_FILE = \"~/your_custom_filename.yml\"\n \nThe YAML file should follow next format::\n\n alias: \"url/to/redirect\"\n \nFor example::\n\n thumbnail: \"100x100/smart\"\n header: \"800x200/smart\"\n \nAnd in order to finally execute the app and let the magic happen, run next command::\n\n $ thumbor --conf=your_thumbor_config.cfg -a tc_core.app.App", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/dgarana/thumbor-aliases", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "thumbor-aliases", "package_url": "https://pypi.org/project/thumbor-aliases/", "platform": "any", "project_url": "https://pypi.org/project/thumbor-aliases/", "project_urls": { "Homepage": "http://github.com/dgarana/thumbor-aliases" }, "release_url": "https://pypi.org/project/thumbor-aliases/0.0.3/", "requires_dist": null, "requires_python": "", "summary": "Thumbor URL Aliases", "version": "0.0.3" }, "last_serial": 4837477, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "cafeb533d39c7ec1bc9ab7ea2efd3387", "sha256": "4d0b3c63d46566d17f02db54cef5c1467833de437db1467d12ca5ec0d23f2c81" }, "downloads": -1, "filename": "thumbor_aliases-0.0.1.tar.gz", "has_sig": false, "md5_digest": "cafeb533d39c7ec1bc9ab7ea2efd3387", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2737, "upload_time": "2018-08-08T07:53:21", "url": "https://files.pythonhosted.org/packages/c4/7c/239b2977834aa201880c2b462895bc46da83aabf5330e858c6d1d496cf32/thumbor_aliases-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "6a9f3ff87375dc2a514726e3f8d648dd", "sha256": "eaadc324f327132c3e576c0ec158faa4986237eac9c9e710eb5dec581b82ea15" }, "downloads": -1, "filename": "thumbor_aliases-0.0.2.tar.gz", "has_sig": false, "md5_digest": "6a9f3ff87375dc2a514726e3f8d648dd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3584, "upload_time": "2018-08-08T08:16:52", "url": "https://files.pythonhosted.org/packages/fc/2f/65aaaf3421b80ed64d33ef3abf98ced478615b040c479f2ae2b610842d6b/thumbor_aliases-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "b2b76e663366e31523e0233e7dd1345f", "sha256": "0488dc2243e840bb70b798153d4d7e8ade7d86367d66043bfb2d6edc378f3be7" }, "downloads": -1, "filename": "thumbor_aliases-0.0.3.tar.gz", "has_sig": false, "md5_digest": "b2b76e663366e31523e0233e7dd1345f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3618, "upload_time": "2019-02-18T23:45:57", "url": "https://files.pythonhosted.org/packages/d2/e1/095fd8d266de33f5c93c9113247ca1bd7211bf2ec8b395248330f3b07001/thumbor_aliases-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b2b76e663366e31523e0233e7dd1345f", "sha256": "0488dc2243e840bb70b798153d4d7e8ade7d86367d66043bfb2d6edc378f3be7" }, "downloads": -1, "filename": "thumbor_aliases-0.0.3.tar.gz", "has_sig": false, "md5_digest": "b2b76e663366e31523e0233e7dd1345f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3618, "upload_time": "2019-02-18T23:45:57", "url": "https://files.pythonhosted.org/packages/d2/e1/095fd8d266de33f5c93c9113247ca1bd7211bf2ec8b395248330f3b07001/thumbor_aliases-0.0.3.tar.gz" } ] }