About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
  • License: Freeware
  • Last update: 6 years ago
  • Total downloads: 57
  • Price: Free |
  • Operating system: Linux
  • Publisher: Jeroen Michiel
See full specifications

linux default iconhurry.raphael Publisher's description

This library packages Raphael_ for `hurry.resource`_. It is aware of Raphael's structure and different modes (normal, minified).

This library packages Raphael_ for `hurry.resource`_. It is aware of Raphael's
structure and different modes (normal, minified).

.. _`hurry.resource`: http://pypi.python.org/pypi/hurry.resource
.. _Raphael: http://raphaeljs.com/

How to use?

You can import Raphael from ``hurry.raphael`` and ``.need`` it where you want
these resources to be included on a page::

from hurry import raphael

.. in your page or widget rendering code, somewhere ..


This requires integration between your web framework and ``hurry.resource``,
and making sure that the original resources (shipped in the ``raphael-build``
directory in ``hurry.raphael``) are published to some URL.

The package has already been integrated for Grok_ and Zope 3. If you depend
on the `hurry.zoperesource`_ package in your ``setup.py``, the above example
should work out of the box. Make sure to depend on the `hurry.zoperesource`_
package in your ``setup.py``.
For grok, depending on `megrok.resource`_ should do it

.. _`hurry.zoperesource`: http://pypi.python.org/pypi/hurry.zoperesource
.. _`megrok.resource`: http://pypi.python.org/pypi/megrok.resource
.. _Grok: http://grok.zope.org

Preparing hurry.raphael before release

This section is only relevant to release managers of ``hurry.raphael``.

When releasing ``hurry.raphael``, an extra step should be taken. Follow the
regular package `release instructions`_, but before egg generation (``python
setup.py register sdist upload``) first execute ``bin/raphaelprepare``. This
will download the Raphael library and place it in the egg. (The version number
is currently hardcoded in the hurry.raphael.prepare module).

.. _`release instructions`: http://grok.zope.org/documentation/how-to/releasing-software

System Requirements:

No special requirements.
Program Release Status:
Program Install Support: Install and Uninstall

Is hurry.raphael your software?

Manage your software

Most Popular

linux default icon GDB 7.4
GDB, the GNU Project debugger, allows you to see what is going on `inside' another program while it... Read more
linux default icon Coral 0.9.1
Coral is a tool and a development platform to create and transform models and modeling languages.
linux default icon Forum Paid Plus Script 6.1
Forum Paid Pay Per Post Exchange is targeted at forum owners who wish to...
linux default icon sdo 0.6.5
Converts oracle SDO_GEOMETRY objects to WKT and GeoJSON.
linux default icon Get Paid Plus Script 6.1
Get Paid Plus Script

Related Category

» Other (877)
» Tools & Editors (359)
» Web Development (146)