hurry.resource style resources for jqPlot.
Project description
hurry.jqplot
Introduction
This library packages jqPlot for hurry.resource. It is aware of jqPlot’s structure and different modes (normal, minified).
How to use?
You can import jqPlot from hurry.jqplot and .need it where you want these resources to be included on a page:
from hurry.jqplot import jqplot .. in your page or widget rendering code, somewhere .. jqplot.need()
This requires integration between your web framework and hurry.resource, and making sure that the original resources (shipped in the jqplot-build directory in hurry.jqplot) 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.jqplot before release
This section is only relevant to release managers of hurry.jqplot.
When releasing hurry.jqplot, 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/jqplotprepare. This will download the jqPlot library and place it in the egg. (The version number is currently hardcoded in the hurry.jqplot.prepare module).
CHANGES
0.9.7.2 (2010-10-19)
support hurry.resource 0.10
0.9.7.1 (2010-06-29)
Using jqPlot-0.9.7.
Download
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file hurry.jqplot-0.9.7.2.zip
.
File metadata
- Download URL: hurry.jqplot-0.9.7.2.zip
- Upload date:
- Size: 183.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7cdf1ff3049ccb99c889e17b4bdeba5513ed6ca53d9852da0a702cbc11576a8 |
|
MD5 | 057676c9c23cecb85fc119797ef0c221 |
|
BLAKE2b-256 | eb982fea64a3119db400824669223a75755a702421d3c1d9b2daf9701a34015a |