cgiFileUpload-0.1.5dev
توضیحات
file import via CGI
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cgiFileUpload-0.1.5dev |
| نام | cgiFileUpload |
| نسخه کتابخانه | 0.1.5dev |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Robert Sudwarts |
| ایمیل نویسنده | robert.sudwarts@gmail.com |
| آدرس صفحه اصلی | https://bitbucket.org/RobertSudwarts/cgi_file_upload/ |
| آدرس اینترنتی | https://pypi.org/project/cgiFileUpload/ |
| مجوز | MIT |
CGI Image Thumbnailer
============================
*Author* Robert Sudwarts
For uploading files via web interface.
Basic scope of the problem
---------------------------
Functionality for:
* uploading large files using buffered chunks
* scaling down large images
Package Components
---------------------
#. upload.writefile() accepts a FieldStorage instance and writes in
buffered chunks to the specified directory.
#. Image files can be written 'as is' or scaled to a specified size and
[at the same time] as a thumbnail image of a specified size.
#. A `Thumb` class to check for existence of thumbnail/create/delete etc
Change Log
------------
* v.0.1.5 when scaling image to thumbnail image is given file extension .jpg
* v.0.1.4 added "Pillow>=2.0.0" as a dependency to setup.py.
This package is required instead of PIL
* v.0.1.3 added conditional 'scale' to writefile() so that this package can be used for all types of files (not just images)
نحوه نصب
نصب پکیج whl cgiFileUpload-0.1.5dev:
pip install cgiFileUpload-0.1.5dev.whl
نصب پکیج tar.gz cgiFileUpload-0.1.5dev:
pip install cgiFileUpload-0.1.5dev.tar.gz