Some helpful web dev utilities
Project description
Atm largeblue.util just has an emailer utitity for sending emails, which wraps the zope.sendmail functionality, plus a batch utility which can be used to batch search results / listings etc.:
>>> from largeblue.util.interfaces import IEmail, IBatch >>> from zope.component import getUtility
The package configures the two utilities so they’re lookable-upable (after all zcml registrations have been parsed) under:
>>> getUtility(IEmail) <class 'largeblue.util.emailer.Email'> >>> getUtility(IBatch) <class 'largeblue.util.batch.Batch'>
You’ll need to configure your own smtpMailer & queuedDelivery utilities (these should be done manually for each site / instance - see the comment in configure.zcml).
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
largeblue.util-0.1.tar.gz
(8.5 kB
view details)
File details
Details for the file largeblue.util-0.1.tar.gz
.
File metadata
- Download URL: largeblue.util-0.1.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ca7ade131b5513e6b75be7a8b51de9a5b52c51d469367158d95f46bb873be65 |
|
MD5 | 51fe3f71c7c17b77bb7fba3fbce5adb2 |
|
BLAKE2b-256 | bc315c032d07ad41d24cde124598b62b6078d79cae03399aaf2c2070d3ccf9a4 |