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 grapefruit

How to install grapefruit

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install grapefruit
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.1a3 Available View build log
Windows (64-bit)
0.1a3 Available View build log
Mac OS X (10.5+)
0.1a3 Available View build log
0.1a3 Available View build log
Linux (32-bit)
0.1a3 Available View build log
0.1a3 Available View build log
Linux (64-bit)
0.1a3 Available View build log
0.1a3 Available View build log
 
Author
License
Apache License 2.0
Dependencies
Depended by
Imports
Lastest release
version 0.1a3 on Jan 5th, 2011

Installing

From the sources:

Download the latest grapefruit library from:

http://code.google.com/p/grapefruit/

Untar the source distribution and run:

$ python setup.py build
$ python setup.py install

Testing

With setuptools installed:

$ python setup.py test

Without setuptools installed:

$ python grapefruit_test.py

Getting the code

View the trunk at:

http://grapefruit.googlecode.com/svn/trunk/

Check out the latest development version anonymously with:

$ svn checkout http://grapefruit.googlecode.com/svn/trunk/ GrapeFruit

Documentation

You can download a compiled version of the documentation at:

http://http://code.google.com/p/grapefruit/downloads/list?q=label:Type-Docs

The documentation is generated from reStructuredText sources by Sphinx. If you need to build it, go into the doc folder and run:

System Message: WARNING/2 (<string>, line 54)

Literal block expected; none found.

make <builder>

Or, if you're running windows:

System Message: WARNING/2 (<string>, line 58)

Literal block expected; none found.

makedoc.cmd

License

System Message: WARNING/2 (<string>, line 66)

Literal block expected; none found.

Copyright (c) 2008, Xavier Basty

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

2008-06-15 - Released 0.1a3 - Added Gradient

2008-06-01 - Fixed overflow in alpha blending.

2008-05-29 - Added Saturate/Desaturate. - Added MonochromeScheme - Added the mode parameter to the generation methods to choose the color wheel use for the generation (ryb/rgb).

2008-05-28 - Added the RGB<->RYB hue conversion. - Added an angle parameter to the tetrad scheme to control the shape of the rectangle.

2008-05-27 - Released 0.1a2

2008-05-24

  • Fixed the HSL->RGB conversion

System Message: WARNING/2 (<string>, line 104)

Bullet list ends without a blank line; unexpected unindent.

(the modulo in the hue conversion was 60 instead of 6.0!) Updated the unit tests (which were wrong!)

2008-05-24

Released 0.1a1 - Convert the documentation to Sphinx - Completed the unit tests - Fixed some stupid typos

2008-05-22

  • Refactored pretty much everything to more standard "Python coding style".
  • Replaced the global variables by Color properties.
  • Moved the module functions to static methods of Color.
  • Completed the CIE white point dictionary to include all the standard

System Message: WARNING/2 (<string>, line 120)

Bullet list ends without a blank line; unexpected unindent.

illuminants. - Added doctest for all the functions. - Fixed the conversions factors to get better results (more exact and more symmetric). - Changed the range of the L component from [0~1] to [0~100] (as it should have been). - Added packaging data and setup. - Changed the structure of the unit tests.

2008-05-08

Released 0.1a0 - Initial checkin of grapefruit

Subscribe to package updates

Last updated Jan 5th, 2011

Download Stats

Last month:1

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.