|
1 Metadata-Version: 1.0 |
|
2 Name: ztfy.utils |
|
3 Version: 0.3.12 |
|
4 Summary: ZTFY utility functions and classes for Zope3 |
|
5 Home-page: http://www.ztfy.org |
|
6 Author: Thierry Florac |
|
7 Author-email: tflorac@ulthar.net |
|
8 License: ZPL |
|
9 Description: ================== |
|
10 ztfy.utils package |
|
11 ================== |
|
12 |
|
13 .. contents:: |
|
14 |
|
15 What is ztfy.utils ? |
|
16 ==================== |
|
17 |
|
18 ztfy.utils is a set of classes and functions which can be used to handle many small operations. |
|
19 |
|
20 Internal sub-packages include : |
|
21 - date : convert dates to unicode ISO format, parse ISO datetime, convert date to datetime |
|
22 - request : get current request, get request annotations, get and set request data via annotations |
|
23 - security : get unproxied value of a given object ; can be applied to lists or dicts |
|
24 - timezone : convert datetime to a given timezone ; provides a server default timezone utility |
|
25 - traversing : get object parents until a given interface is implemented |
|
26 - unicode : convert any text to unicode for easy storage |
|
27 - protocol : utility functions and modules for several nerwork protocols |
|
28 - catalog : TextIndexNG index for Zope catalog and hurry.query "Text" query item |
|
29 - text : simple text operations and text to HTML conversion |
|
30 - html : HTML parser and HTML to text converter |
|
31 - file : file upload data converter |
|
32 - tal : text and HTML conversions for use from within TAL |
|
33 |
|
34 |
|
35 How to use ztfy.utils ? |
|
36 ======================= |
|
37 |
|
38 A set of ztfy.utils usage are given as doctests in ztfy/utils/doctests/README.txt |
|
39 |
|
40 |
|
41 Changelog |
|
42 ========= |
|
43 |
|
44 0.3.11 |
|
45 ------ |
|
46 - added dotted decimal schema field, not handling locales :-/ |
|
47 |
|
48 0.3.10 |
|
49 ------ |
|
50 - upgraded for ztfy.jqueryui 0.6.0 |
|
51 - added Color schema field and widget |
|
52 - added StringLine schema field |
|
53 - added "text:translate" TAL adapter |
|
54 - moved ITransactionManager adapter from ztfy.scheduler package |
|
55 |
|
56 0.3.9 |
|
57 ----- |
|
58 - added HTTP client based on httplib2, handling authentication and proxies |
|
59 |
|
60 0.3.8 |
|
61 ----- |
|
62 - corrected encodings vocabulary |
|
63 |
|
64 0.3.7 |
|
65 ----- |
|
66 - added encodings vocabulary |
|
67 |
|
68 0.3.6 |
|
69 ----- |
|
70 - corrected code and translations in MissingPrincipal class |
|
71 - added permissions on TextIndexNG index |
|
72 |
|
73 0.3.5 |
|
74 ----- |
|
75 - re-add IList and IDict interfaces forgotten from bad merge :-( |
|
76 |
|
77 0.3.4 |
|
78 ----- |
|
79 - better check for missing requests |
|
80 |
|
81 0.3.3 |
|
82 ----- |
|
83 - Added "fanstatic:" TALES expression |
|
84 |
|
85 0.3.2 |
|
86 ----- |
|
87 - Mark ztfy.utils.security functions and classes as deprecated |
|
88 |
|
89 0.3.1 |
|
90 ----- |
|
91 - Updated signature in ztfy.utils.catalog.index to match last hurry.query release |
|
92 |
|
93 0.3 |
|
94 --- |
|
95 - Switched to ZTK-1.1.2 and Python 2.6 |
|
96 - Added "getAge" function in date module |
|
97 - Added session module and TALES adapter to get/set session values |
|
98 - Check None value in catalog.getObjectId(...) and catalog.getObject(...) methods |
|
99 |
|
100 0.2.1 |
|
101 ----- |
|
102 - Added 'site.locateAndRegister' facility function |
|
103 - Update ServerTimezoneUtility parent classes |
|
104 |
|
105 0.2 |
|
106 --- |
|
107 - Added 'data' namespace to access request data |
|
108 |
|
109 0.1 |
|
110 --- |
|
111 - Initial release |
|
112 |
|
113 Keywords: ZTFY utilities for Zope3 |
|
114 Platform: UNKNOWN |
|
115 Classifier: License :: OSI Approved :: Zope Public License |
|
116 Classifier: Development Status :: 4 - Beta |
|
117 Classifier: Programming Language :: Python |
|
118 Classifier: Framework :: Zope3 |
|
119 Classifier: Topic :: Software Development :: Libraries :: Python Modules |