Skip to main content

hurry.resource style resources for Raphael.

Project description

hurry.raphael

Introduction

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

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 ..

raphael.need()

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

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).

CHANGES

1.4.3.1 (2010-06-24)

  • Using Raphael-1.4.3.

Download

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hurry.raphael-1.4.3.1.zip (58.1 kB view details)

Uploaded Source

File details

Details for the file hurry.raphael-1.4.3.1.zip.

File metadata

File hashes

Hashes for hurry.raphael-1.4.3.1.zip
Algorithm Hash digest
SHA256 6c5dfbfc76d6e73862b03522231376b3a0a4ca40d9c1fdc29af8f336678fc3f2
MD5 f3b3bc3b77fe2a629d8f6af9e7482465
BLAKE2b-256 c62ca9d291cae0d7402879ad589c6a6d45295c320e5ef17da201a04942564384

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page