ztfy.utils 0.3.6
ZTFY utility functions and classes for Zope3
Latest Version: 0.3.10
Contents
What is ztfy.utils ?
ztfy.utils is a set of classes and functions which can be used to handle many small operations.
- Internal sub-packages include :
- date : convert dates to unicode ISO format, parse ISO datetime, convert date to datetime
- request : get current request, get request annotations, get and set request data via annotations
- security : get unproxied value of a given object ; can be applied to lists or dicts
- timezone : convert datetime to a given timezone ; provides a server default timezone utility
- traversing : get object parents until a given interface is implemented
- unicode : convert any text to unicode for easy storage
- protocol : utility functions and modules for several nerwork protocols
- catalog : TextIndexNG index for Zope catalog and hurry.query "Text" query item
- text : simple text operations and text to HTML conversion
- html : HTML parser and HTML to text converter
- file : file upload data converter
- tal : text and HTML conversions for use from within TAL
How to use ztfy.utils ?
A set of ztfy.utils usage are given as doctests in ztfy/utils/doctests/README.txt
Changelog
0.3.6
- corrected code and translations in MissingPrincipal class
- added permissions on TextIndexNG index
0.3.5
- re-add IList and IDict interfaces forgotten from bad merge :-(
0.3.4
- better check for missing requests
0.3.3
- Added "fanstatic:" TALES expression
0.3.2
- Mark ztfy.utils.security functions and classes as deprecated
0.3.1
- Updated signature in ztfy.utils.catalog.index to match last hurry.query release
0.3
- Switched to ZTK-1.1.2 and Python 2.6
- Added "getAge" function in date module
- Added session module and TALES adapter to get/set session values
- Check None value in catalog.getObjectId(...) and catalog.getObject(...) methods
0.2.1
- Added 'site.locateAndRegister' facility function
- Update ServerTimezoneUtility parent classes
0.2
- Added 'data' namespace to access request data
0.1
- Initial release
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| ztfy.utils-0.3.6-py2.6.egg (md5) | Python Egg | 2.6 | 2012-02-04 | 84KB | 244 |
| ztfy.utils-0.3.6.tar.gz (md5) | Source | 2012-02-04 | 30KB | 237 | |
- Author: Thierry Florac
- Home Page: http://www.ztfy.org
- Keywords: ZTFY utilities for Zope3
- License: ZPL
- Categories
- Package Index Owner: tflorac
- DOAP record: ztfy.utils-0.3.6.xml
