Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install js.jquery-jcrop

How to install js.jquery_jcrop

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install js.jquery-jcrop
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
Linux (32-bit)
Linux (64-bit)
0.9.12 Available View build log
 
License
BSD
Imports
Lastest release
version 0.9.12 on Jan 9th, 2014

js.jquery_jcrop

Introduction

This library packages jCrop for fanstatic.

This requires integration between your web framework and fanstatic, and making sure that the original resources (shipped in the resources directory in js.jquery_jcrop) are published to some URL.

Packaging

The packaging is stored on GitHub at https://github.com/davidjb/js.jquery_jcrop. If you happen to come across a bug that corresponds to packaging, then please report it here. Pull requests are more than welcome if you're fixing something yourself -- the more help the better!

Any other bugs that relate to the library itself should be directed to the original developers.

Updating this package

In order to obtain a newer version of jCrop for this library, do the following:

git clone https://github.com/davidjb/js.jquery_jcrop.git
pushd js.jquery_jcrop/js/jquery_jcrop/resources
wget https://github.com/tapmodo/Jcrop/tarball/v0.9.10 -O jcrop.tgz
tar xf jcrop.tgz --strip=2
rm -rf *.php *.html demo_files jcrop.tgz jquery.min.js
popd
#Edit changelog, setup.py for versions, etc
git commit -a -m "Updated for release 0.9.10"
git push

If you're doing this out in your own fork of the GitHub repository, then send through a pull request so everyone can benefit.

Usage

You can import jquery_jcrop from js.jquery_jcrop and need it where you want these resources to be included on a page:

>>> from js.jquery_jcrop import jquery_jcrop
>>> jquery_jcrop.need()

and this will automatically include all the jCrop CSS and JavaScript resources for you. We also provide a minified version of the resources for when you want to move your code into production and reduce page weight. These latter libraries are automagically included for you thanks to Fanstatic when you turn on minification.

CHANGES

0.9.12 (2013-02-13)
  • Updated to new version of library. [davidjb]
0.9.10 (2012-11-02)
  • Initial release.

Subscribe to package updates

Last updated Jan 9th, 2014

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.