You can import Slimbox from hurry.slimbox and .need it where you want these resources to be included on a page:
from hurry.slimbox import slimbox .. in your page or widget rendering code, somewhere .. slimbox.need()
This requires integration between your web framework and hurry.resource, and making sure that the original resources 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.
This section is only relevant to release managers of hurry.slimbox.
When releasing hurry.slimbox, 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/slimboxprepare. This will download the Slimbox library and place it in the egg. (The version number is currently hardcoded in the hurry.slimbox.prepare module).
TODO: Figure out how to actually get changelog content.
Changelog content for this version goes here.