Skip to main content

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.2 (2010-10-20)

  • support hurry.resource 0.10

1.4.3.1 (2010-06-24)

  • Using Raphael-1.4.3.

Download

Release files for hurry.raphael 1.4.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hurry.raphael 1.4.3.2
File Size Uploaded
hurry.raphael-1.4.3.2.zip 58.2 kB Details

Release files / hurry.raphael-1.4.3.2.zip

Download URL hurry.raphael-1.4.3.2.zip
Size 58.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d4a99a59f764d0e3a11bd2918c47cb20588bf7bcae05a1dcad78938ffe4693c9
BLAKE2b-256 checksum
How to use checksums
88b8b7966d2d0910ce8e4b6f110e041c7e8b1e7527eb9a2559fd31860c766009
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.4.3.2 This release

1 release file

1.4.3.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page