{ "info": { "author": "AmrAnwar", "author_email": "amranwar945@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "=====\ndjango-thumb\n=====\n\ndjango-thumb is a simple Django app contains 2 models fields \nto generate images from videos and write on images\n\nVisit the github repo https://github.com/AmrAnwar/django-thumb for more info.\n\nQuick start\n-----------\n\n1. Add \"thumb\" to your INSTALLED_APPS setting like this::\n\n INSTALLED_APPS = [\n ...\n 'thumb',\n ]\n\n2. Add the STATIC_ROOT, MEDIA_ROOT and MEDIA_URL in setting like:\n STATIC_ROOT = os.path.join(BASE_DIR, \"static\")\n MEDIA_ROOT = 'media'\n MEDIA_URL = '/media/'\n\n3. Add the MEDIA path to your urlpatterns in urls.py like:\n ...\n from django.conf.urls.static import static\n from django.conf import settings\n\n urlpatterns = [\n ...\n ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)\n\n3. Run `python manage.py collectstatic ` to create the static fields in your root.\n\n4. now you can use the app model fields like:\n from thumb import ImageThumbnailField, VideoThumbnailField\n\n5. in VideoThumbnailField you have to give the video field name if it's not named as `video`:\n my_video = models.FileField()\n thumb = VideoThumbnailField(video_field_name=\"my_video\")\n\n6. test the Thumbnail Fields in the admin page http://127.0.0.1:8000/admin/\n \n\n### Visit https://github.com/AmrAnwar/django-thumb for more info.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/AmrAnwar/django-thumb", "keywords": "", "license": "BSD License", "maintainer": "", "maintainer_email": "", "name": "django-thumb", "package_url": "https://pypi.org/project/django-thumb/", "platform": "", "project_url": "https://pypi.org/project/django-thumb/", "project_urls": { "Homepage": "https://github.com/AmrAnwar/django-thumb" }, "release_url": "https://pypi.org/project/django-thumb/1.0.2/", "requires_dist": null, "requires_python": "", "summary": "A simple Django model fields to generate images from videos or write on images", "version": "1.0.2" }, "last_serial": 4006148, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "f353f36c804ac3cd4c401d1c7ef7d766", "sha256": "d7ec48cdc1715014eb5c49efbf0f9509a3d7f2e800e75a3baff9d128ebce17b4" }, "downloads": -1, "filename": "django_thumb-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "f353f36c804ac3cd4c401d1c7ef7d766", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 192098, "upload_time": "2018-06-23T02:39:43", "url": "https://files.pythonhosted.org/packages/ec/40/787b4862fc9a0c0a3988eaee2997d0da165152d4ad86007585c42b9f4ded/django_thumb-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "30ac9062f4b6796e8c6a55c27760f24b", "sha256": "3a0ab408b818a7ae8c5180f4d97dd75a637a6593efe3483cf2fb632db5435425" }, "downloads": -1, "filename": "django-thumb-1.0.0.tar.gz", "has_sig": false, "md5_digest": "30ac9062f4b6796e8c6a55c27760f24b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 182305, "upload_time": "2018-06-23T02:39:45", "url": "https://files.pythonhosted.org/packages/aa/35/d8b467bcc71feefe4d54eecf694c9e0dcd668fae4d3a715fe6c9c66ea01a/django-thumb-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "15fb55bc2f5dc9d48071d8ad0dd69c84", "sha256": "764cc2ece2f3dc5a18a3e8fdb213099a7d948aa8eb58a767b1c49279405b4046" }, "downloads": -1, "filename": "django_thumb-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "15fb55bc2f5dc9d48071d8ad0dd69c84", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 192092, "upload_time": "2018-06-23T03:56:46", "url": "https://files.pythonhosted.org/packages/19/24/bdad5a3368e09251795926731a8f1af31d5b178163f07b0bac9e4ac47e4c/django_thumb-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ffcbbff5caf740befd3c90cdb4a1828d", "sha256": "b82908eee3d5af5df075d456517086823f7ff0f2cbb023c2dfa6b5e4bee49d98" }, "downloads": -1, "filename": "django-thumb-1.0.1.tar.gz", "has_sig": false, "md5_digest": "ffcbbff5caf740befd3c90cdb4a1828d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 182305, "upload_time": "2018-06-23T03:56:48", "url": "https://files.pythonhosted.org/packages/95/56/8be5212786fed3e66efa3859c47f8a50abd392c6d187aa1d6ba3cbaa3dd1/django-thumb-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "1cb1447a89de76f8010a5b87c94bc2f9", "sha256": "57503b537ac58242b7f89dd4d88208abda91ebfb7b47b0749c2a092282454e49" }, "downloads": -1, "filename": "django-thumb-1.0.2.tar.gz", "has_sig": false, "md5_digest": "1cb1447a89de76f8010a5b87c94bc2f9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 182328, "upload_time": "2018-06-27T06:21:18", "url": "https://files.pythonhosted.org/packages/1b/f7/e0b4969d240168b9c140bae72e4a58ea796314190c974703c3eddb11f7f6/django-thumb-1.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1cb1447a89de76f8010a5b87c94bc2f9", "sha256": "57503b537ac58242b7f89dd4d88208abda91ebfb7b47b0749c2a092282454e49" }, "downloads": -1, "filename": "django-thumb-1.0.2.tar.gz", "has_sig": false, "md5_digest": "1cb1447a89de76f8010a5b87c94bc2f9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 182328, "upload_time": "2018-06-27T06:21:18", "url": "https://files.pythonhosted.org/packages/1b/f7/e0b4969d240168b9c140bae72e4a58ea796314190c974703c3eddb11f7f6/django-thumb-1.0.2.tar.gz" } ] }