leukeleu-thumbor-multidir
=========================
Thumbor file loader that checks multiple paths
Introduction
------------
[Thumbor](https://github.com/globocom/thumbor/wiki) is a smart imaging service.
It enables on-demand crop, resizing and flipping of images.
By default, the Thumbor file loader only loads images from a single path.
Using this loader, multiple paths can be specified. The first path that contains
the requrest image is then used.
Usage
-----
To enable this loader, add the following to `thumbor.conf`:
LOADER = 'tc_multidir.loader'
Then, configure the paths to check for the image:
# List of paths to check for file to load (required)
TC_MULTIDIR_PATHS = ['/home/media', '/mnt/media']
Raw data
{
"_id": null,
"home_page": "https://github.com/leukleu/leukeleu-thumbor-multidir",
"name": "leukeleu-thumbor-multidir",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "thumbor file loader multiple source directories",
"author": "Jaap Roes",
"author_email": "jroes@leukeleu.nl",
"download_url": "https://files.pythonhosted.org/packages/c3/66/e4c9510e5cdb5c0abc4b8cad08f9df665208fce833dc0308c13845b682cd/leukeleu-thumbor-multidir-1.0.0.dev0.tar.gz",
"platform": null,
"description": "leukeleu-thumbor-multidir\n=========================\n\nThumbor file loader that checks multiple paths\n\nIntroduction\n------------\n\n[Thumbor](https://github.com/globocom/thumbor/wiki) is a smart imaging service. \nIt enables on-demand crop, resizing and flipping of images.\n\nBy default, the Thumbor file loader only loads images from a single path. \nUsing this loader, multiple paths can be specified. The first path that contains \nthe requrest image is then used.\n\nUsage\n-----\n\nTo enable this loader, add the following to `thumbor.conf`:\n\n LOADER = 'tc_multidir.loader'\n\nThen, configure the paths to check for the image:\n\n # List of paths to check for file to load (required)\n TC_MULTIDIR_PATHS = ['/home/media', '/mnt/media']\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Thumbor file loader that support multiple source paths",
"version": "1.0.0.dev0",
"split_keywords": [
"thumbor",
"file",
"loader",
"multiple",
"source",
"directories"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a308749cebfc9787b1890414e43f326ce0d548e8506781beac2f5ef0d5c23fd0",
"md5": "72364be7b56b177cb6bd866737886500",
"sha256": "9cc7478e44de68f2c1811a6d29f8929b6b549cd5cc5dbea68be53e7aba3b3c34"
},
"downloads": -1,
"filename": "leukeleu_thumbor_multidir-1.0.0.dev0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "72364be7b56b177cb6bd866737886500",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 3636,
"upload_time": "2023-03-15T10:54:46",
"upload_time_iso_8601": "2023-03-15T10:54:46.589752Z",
"url": "https://files.pythonhosted.org/packages/a3/08/749cebfc9787b1890414e43f326ce0d548e8506781beac2f5ef0d5c23fd0/leukeleu_thumbor_multidir-1.0.0.dev0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c366e4c9510e5cdb5c0abc4b8cad08f9df665208fce833dc0308c13845b682cd",
"md5": "57aecbdc23bec32a205be8bca9a93027",
"sha256": "4b18b1cd124cba57205500b63b12b66b01f9742ccce637c81a56fe3f29a5f2b3"
},
"downloads": -1,
"filename": "leukeleu-thumbor-multidir-1.0.0.dev0.tar.gz",
"has_sig": false,
"md5_digest": "57aecbdc23bec32a205be8bca9a93027",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 75079,
"upload_time": "2023-03-15T10:54:48",
"upload_time_iso_8601": "2023-03-15T10:54:48.323269Z",
"url": "https://files.pythonhosted.org/packages/c3/66/e4c9510e5cdb5c0abc4b8cad08f9df665208fce833dc0308c13845b682cd/leukeleu-thumbor-multidir-1.0.0.dev0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-03-15 10:54:48",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "leukleu",
"github_project": "leukeleu-thumbor-multidir",
"lcname": "leukeleu-thumbor-multidir"
}