{ "info": { "author": "kalkehcoisa", "author_email": "kalkehcoisa@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: Pyramid", "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "#. TODO: Adjust this README to the new project. Right now it demands a lot of packages, in the future we intend to reduce them to a minimum.\n\npy-clean-image-crop-uploader (pyCICU)\n================================\n.. image:: https://d2weczhvl823v0.cloudfront.net/asaglimbeni/django-datetime-widget/trend.png\n :target: https://bitdeli.com/free\n.. image:: https://pypip.in/v/pycicu/badge.png\n :target: https://crate.io/packages/pycicu\n.. image:: https://pypip.in/d/pycicu/badge.png\n :target: https://crate.io/packages/pycicu\n \n``pycicu`` is a tool to upload an image via Ajax and crop it using `Jcrop\n`_. It provides a simple workflow: first one, using modal,\n(by `twitter bootstrap `_) the image can be uploaded and cropped.\nSecond one, you can see the image cropping preview in the form and finally submit the result.\n\n``pycicu`` is perfect when you have to upload images and it's necessary to have a specific portion of image. \nIt'll be easy to configure and to use.\nYou can use different configurations, with fixed aspect ratio or minimal image size.\n\nIt works with jQuery = 1.8.3 and twitter bootstrap.\n\nScreenshot:\n\n#. Modal window with upload button:\n\n.. image:: http://asaglimbeni.github.com/clean-image-crop-uploader/images/screenshot1.jpg\n\n#. Modal window with crop area:\n\n.. image:: http://asaglimbeni.github.com/clean-image-crop-uploader/images/screenshot2.jpg\n\n#. Form with preview\n\n.. image:: http://asaglimbeni.github.com/clean-image-crop-uploader/images/screenshot3.jpg\n\nInstallation\n------------\n\n#. Install using pip. For example::\n\n pip install pycicu\n\n\nDependencies\n------------\n* jQuery = 1.8.3\n* Twitter-Bootstrap\n\n* Pillow >= 1.5\n* deform >= 2.0a2\n* colander >= 1.0b1\n* pyramid_chameleon >= 0.1\n* SQLAlchemy >= 0.8.3\n\nConfiguration\n-------------\n#. Add into url.py ::\n\n (r'^ajax-upload/', include('startproject.cicu.urls'))\n\n#. Create your model-form and set CicuUploaderInput widget to your imageField ::\n\n from cicu.widgets import CicuUploaderInput\n\n class yourCrop(forms.ModelForm):\n class Meta:\n model = yourModel\n cicuOptions = {\n 'ratioWidth': '600', #fix-width ratio, default 0\n 'ratioHeight':'400', #fix-height ratio , default 0\n 'sizeWarning': 'False', #if True the crop selection have to respect minimal ratio size defined above. Default 'False'\n }\n widgets = {\n 'image': CicuUploaderInput(options=cicuOptions)\n }\n\n#. Download `twitter bootstrap `_ to your static file folder.\n\n#. Add in your form template links to jquery, bootstrap, form.media::\n\n \n ....\n \n \n \n {{ form.media }}\n\n ....\n \n\n\nRun the example\n---------------\n\nTo run the example inside this package follow these commands::\n\n > cd ./example/\n > python manage.py syncdb\n > python manage.py migrate # only if you use South!!!\n > python manage.py collectstatic\n > python manage.py runserver domain:8000\n\nGo to examples :\n\n#. Free crop : \n\n#. Fixed aspect ratio: \n\n#. Fixed aspect ratio with minimal size: ", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": "web pylons pyramid upload image crop", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "pycicu", "package_url": "https://pypi.org/project/pycicu/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pycicu/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/pycicu/0.1.6/", "requires_dist": null, "requires_python": null, "summary": "PyClean Image Crop Uploader (pycicu) provides AJAX file upload and image CROP functionalitiesusing Pyramid. It uses Modal from twitter-bootstrap. This is a fork of clean-image-crop-uploader.", "version": "0.1.6" }, "last_serial": 985022, "releases": { "0.0.5": [ { "comment_text": "", "digests": { "md5": "f4a282850b92f12e0416a84ab5796729", "sha256": "0a90535d4c587f8fe0e1da2f277344e05d36cff4eab04916802466d458e4e63e" }, "downloads": -1, "filename": "pycicu-0.0.5.tar.gz", "has_sig": false, "md5_digest": "f4a282850b92f12e0416a84ab5796729", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 37541, "upload_time": "2014-01-24T11:02:01", "url": "https://files.pythonhosted.org/packages/c4/d6/0e5c458a4b4169d616bc8d55a9a55651b938ebe6e09161d6e3ccccecceff/pycicu-0.0.5.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "f0198a6f921d7496298c54313774d5f4", "sha256": "465b14930eb748c92620c769e8eca758a9db732bbf50531d7b3ddf621b9bf492" }, "downloads": -1, "filename": "pycicu-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f0198a6f921d7496298c54313774d5f4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38326, "upload_time": "2014-01-24T14:44:42", "url": "https://files.pythonhosted.org/packages/00/0d/26739ccdd0196703e3299c70b050e03ad8bad074f7568dccce40cb4375e4/pycicu-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "901c5cd244c2397f42411c632333296d", "sha256": "2f4ff6dc48149aeba6e402e61a9f9a3883c0187c1097ca70f62a4e8bc42bd564" }, "downloads": -1, "filename": "pycicu-0.1.1.tar.gz", "has_sig": false, "md5_digest": "901c5cd244c2397f42411c632333296d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38295, "upload_time": "2014-01-24T15:11:06", "url": "https://files.pythonhosted.org/packages/a1/9d/7db141d2d32bca1501ae53ce80941bd629c51e0b17cfa13632288b7837b3/pycicu-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "cb3a2bb82f2d3dabe03cb55910ae4f5e", "sha256": "8964431fd185e3bacf61b285cd5bb05484ac234d307a92543da108c92e8a1005" }, "downloads": -1, "filename": "pycicu-0.1.2.tar.gz", "has_sig": false, "md5_digest": "cb3a2bb82f2d3dabe03cb55910ae4f5e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38298, "upload_time": "2014-01-24T15:13:54", "url": "https://files.pythonhosted.org/packages/6c/da/4771a5db08bee0e7cdebdb06cb9a462c6a7c3e257d971a0eaa3c3c1f8789/pycicu-0.1.2.tar.gz" } ], "0.1.2.1": [ { "comment_text": "", "digests": { "md5": "bc65baf7585aaaa8c06962c3e6b6c54d", "sha256": "d21c9147eb7c30811d69959659cebdd26cfeb553473f5ad0d1990376dd7cf803" }, "downloads": -1, "filename": "pycicu-0.1.2.1.tar.gz", "has_sig": false, "md5_digest": "bc65baf7585aaaa8c06962c3e6b6c54d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38302, "upload_time": "2014-01-24T15:21:12", "url": "https://files.pythonhosted.org/packages/a7/74/0d23e020f7db7ac6d986ac4ea34f5e61c789a210540192729a3759a92eee/pycicu-0.1.2.1.tar.gz" } ], "0.1.2.2": [ { "comment_text": "", "digests": { "md5": "d079e968076af98e32f457a3ee5410da", "sha256": "5806768402642773e9bb00fa2ddb0bd4387a063e356fddb1ada1fe26c67a80d2" }, "downloads": -1, "filename": "pycicu-0.1.2.2.tar.gz", "has_sig": false, "md5_digest": "d079e968076af98e32f457a3ee5410da", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38301, "upload_time": "2014-01-24T15:23:04", "url": "https://files.pythonhosted.org/packages/bf/9b/21ed80737cd3049afffadc3c5f2e3024f87e5a528ead33dfe2f3868e9b3d/pycicu-0.1.2.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "710b38a41166f0f5b3a146b03f0ef02c", "sha256": "1703798bbbb47dee446541c9ba5775d482d45778fca55200597faf5388269a54" }, "downloads": -1, "filename": "pycicu-0.1.3.tar.gz", "has_sig": false, "md5_digest": "710b38a41166f0f5b3a146b03f0ef02c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38295, "upload_time": "2014-01-24T15:28:22", "url": "https://files.pythonhosted.org/packages/5d/62/6d6901cc7862dd831bf3458d8a15328162e20a37e7aea9d77f0b5c88e48c/pycicu-0.1.3.tar.gz" } ], "0.1.3.1": [ { "comment_text": "", "digests": { "md5": "caa4907919c5107d48041bb8b4283d31", "sha256": "718425e491625fd781c7442e75a2166f34cb9d3a0ff6a749241f909daf658abe" }, "downloads": -1, "filename": "pycicu-0.1.3.1.tar.gz", "has_sig": false, "md5_digest": "caa4907919c5107d48041bb8b4283d31", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38306, "upload_time": "2014-01-24T15:35:35", "url": "https://files.pythonhosted.org/packages/de/a3/171666bc5af221638fe220eb9d46055598e89a13a5805f2eb9596f7283fd/pycicu-0.1.3.1.tar.gz" } ], "0.1.3.2": [ { "comment_text": "", "digests": { "md5": "d8b6c9db835a19ed27712809206e6160", "sha256": "07a751e4a0cde81d3aeea6a95eb0d387953221b2d67060f3deeb1f52bf48c0b3" }, "downloads": -1, "filename": "pycicu-0.1.3.2.tar.gz", "has_sig": false, "md5_digest": "d8b6c9db835a19ed27712809206e6160", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38326, "upload_time": "2014-01-24T16:12:05", "url": "https://files.pythonhosted.org/packages/03/4a/4085a113598e814934276bf4ae2fd43cd0ed94ee2ae6cbc53753777a5c48/pycicu-0.1.3.2.tar.gz" } ], "0.1.3.3": [ { "comment_text": "", "digests": { "md5": "06a14be3a2e4a1277f0e6c202df88035", "sha256": "003ac7d351881f8e4e4c1ae45f8fefd44a279605ca52ea2617e9207c99f47920" }, "downloads": -1, "filename": "pycicu-0.1.3.3.tar.gz", "has_sig": false, "md5_digest": "06a14be3a2e4a1277f0e6c202df88035", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38605, "upload_time": "2014-01-24T16:26:57", "url": "https://files.pythonhosted.org/packages/81/92/7652c4b8fef7a3c75c096d12e6a01a514efb485d97e45819c434dba3a5e8/pycicu-0.1.3.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "6112811844b4046517de47dd93a21d8a", "sha256": "6f08070d58eeacee76ba54f1620c5f3f44550378d095859249b30eb6cf1a38d6" }, "downloads": -1, "filename": "pycicu-0.1.4.tar.gz", "has_sig": false, "md5_digest": "6112811844b4046517de47dd93a21d8a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38602, "upload_time": "2014-01-24T17:04:31", "url": "https://files.pythonhosted.org/packages/1a/17/e9109be923ecb930bd86b402e7af68abb9f06ba9c800cd76e5924b56627f/pycicu-0.1.4.tar.gz" } ], "0.1.4.1": [ { "comment_text": "", "digests": { "md5": "a2c5ad3cf76c29a48b4d58822881e475", "sha256": "50dea9d5091d2ee2ca6db68c2fde4ba0efa05470ebb91bf1b86eca5a18416a72" }, "downloads": -1, "filename": "pycicu-0.1.4.1.tar.gz", "has_sig": false, "md5_digest": "a2c5ad3cf76c29a48b4d58822881e475", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38632, "upload_time": "2014-01-24T17:24:09", "url": "https://files.pythonhosted.org/packages/c8/56/a759a716a9cfc3ffc214e4570a3ab1724cc21e3ba73fd9921e0a3b7d9ccb/pycicu-0.1.4.1.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "de1eda554d4ef2f83b809577589c9569", "sha256": "3ba22a1ce363d881d5476e23d99887ae1fe4909f69c5d19db376dfa7e154e5bc" }, "downloads": -1, "filename": "pycicu-0.1.5.tar.gz", "has_sig": false, "md5_digest": "de1eda554d4ef2f83b809577589c9569", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38712, "upload_time": "2014-01-27T16:19:54", "url": "https://files.pythonhosted.org/packages/5b/6b/a348af766b9cbaf1830ac7652e5eb2afcc11167741ff765fb2c3b18fdf4c/pycicu-0.1.5.tar.gz" } ], "0.1.5.2": [ { "comment_text": "", "digests": { "md5": "0b57715cf49ffdd459b9cfdca462bd20", "sha256": "92f7836d038de91b0102a55a0a73b5331e36aee33a4e31a18a45527ccfe5c489" }, "downloads": -1, "filename": "pycicu-0.1.5.2.tar.gz", "has_sig": false, "md5_digest": "0b57715cf49ffdd459b9cfdca462bd20", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39247, "upload_time": "2014-01-28T20:03:14", "url": "https://files.pythonhosted.org/packages/c9/5a/47e38db75f50acaf0608932d36a116a2a41692cca8466a369a3485289b1e/pycicu-0.1.5.2.tar.gz" } ], "0.1.5.3": [ { "comment_text": "", "digests": { "md5": "b53148332c51315145665e1803595647", "sha256": "a916a587071aae9db51246320fe24ae6bd4886214dd36e1968c72bbafbc4705d" }, "downloads": -1, "filename": "pycicu-0.1.5.3.tar.gz", "has_sig": false, "md5_digest": "b53148332c51315145665e1803595647", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39235, "upload_time": "2014-01-28T20:05:14", "url": "https://files.pythonhosted.org/packages/de/2b/38bb76a99be59829509397e9ef5a789a0eef2357673aa49f16de99ab0c19/pycicu-0.1.5.3.tar.gz" } ], "0.1.5.4": [ { "comment_text": "", "digests": { "md5": "0254ef618040da26368f0eb5b09af189", "sha256": "5b30bcd662028140d0692d70a7f28d1c4095225718046b6129ea2063ce2c52f5" }, "downloads": -1, "filename": "pycicu-0.1.5.4.tar.gz", "has_sig": false, "md5_digest": "0254ef618040da26368f0eb5b09af189", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39230, "upload_time": "2014-01-28T20:26:50", "url": "https://files.pythonhosted.org/packages/2a/a8/6505eeac6bea6d99d4eb55d52bef29cc943183a942b6cb148b8df0d54830/pycicu-0.1.5.4.tar.gz" } ], "0.1.5.5": [ { "comment_text": "", "digests": { "md5": "69a76a3fcf9b63dedeb3d5887d6c9b8f", "sha256": "df10e3663fa0f62422a2c7ad9c5ce66452dd708896bf524b66ad77951f555e82" }, "downloads": -1, "filename": "pycicu-0.1.5.5.tar.gz", "has_sig": false, "md5_digest": "69a76a3fcf9b63dedeb3d5887d6c9b8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39335, "upload_time": "2014-01-28T20:31:21", "url": "https://files.pythonhosted.org/packages/12/53/f511578581d863c36e290596ef23d057dce9a707290a71e6eb03ad813c0e/pycicu-0.1.5.5.tar.gz" } ], "0.1.5.6": [ { "comment_text": "", "digests": { "md5": "ce8855d098c8d847f73df0b68ff637a0", "sha256": "7a8ad140a19241a854379bc48f163de4be6e3cb81054777ad821900c4eae2c78" }, "downloads": -1, "filename": "pycicu-0.1.5.6.tar.gz", "has_sig": false, "md5_digest": "ce8855d098c8d847f73df0b68ff637a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39385, "upload_time": "2014-01-28T20:44:46", "url": "https://files.pythonhosted.org/packages/a6/ca/4d95c6ef885ad89a9adf6bed11590d7bb1e44e9fe02aa8875ac3f650d3a6/pycicu-0.1.5.6.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "2b53e6e201346b280e4e5691c849dc03", "sha256": "df8292a5e88c609ecfcaf68c2278b7e0edcfdc81194e045f39f5f0a0d44fa2f3" }, "downloads": -1, "filename": "pycicu-0.1.6.tar.gz", "has_sig": false, "md5_digest": "2b53e6e201346b280e4e5691c849dc03", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39351, "upload_time": "2014-01-29T10:59:41", "url": "https://files.pythonhosted.org/packages/9e/d4/467db62e4b256eba03bead825164ff819770a4497dc98089b5c4808cbd87/pycicu-0.1.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2b53e6e201346b280e4e5691c849dc03", "sha256": "df8292a5e88c609ecfcaf68c2278b7e0edcfdc81194e045f39f5f0a0d44fa2f3" }, "downloads": -1, "filename": "pycicu-0.1.6.tar.gz", "has_sig": false, "md5_digest": "2b53e6e201346b280e4e5691c849dc03", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39351, "upload_time": "2014-01-29T10:59:41", "url": "https://files.pythonhosted.org/packages/9e/d4/467db62e4b256eba03bead825164ff819770a4497dc98089b5c4808cbd87/pycicu-0.1.6.tar.gz" } ] }