# HG changeset patch # User Thierry Florac # Date 1437578794 -7200 # Node ID d4c28f4078cdac97b90ea9a99e8eb5e1170f8ca6 # Parent 60b0a6b21a1228770b94a92232aa9721cac4b660 Version 0.1.1 diff -r 60b0a6b21a12 -r d4c28f4078cd buildout.cfg --- a/buildout.cfg Wed Jul 15 11:20:55 2015 +0200 +++ b/buildout.cfg Wed Jul 22 17:26:34 2015 +0200 @@ -82,4 +82,4 @@ eggs = pyams_utils [test] [versions] -pyams_utils = 0.1.0 +pyams_utils = 0.1.1 diff -r 60b0a6b21a12 -r d4c28f4078cd docs/HISTORY.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/HISTORY.txt Wed Jul 22 17:26:34 2015 +0200 @@ -0,0 +1,6 @@ +Changelog +========= + +0.1.1 +----- + - corrected cookies management in XML-RPC authenticated transport diff -r 60b0a6b21a12 -r d4c28f4078cd docs/README.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/README.txt Wed Jul 22 17:26:34 2015 +0200 @@ -0,0 +1,30 @@ +=================== +pyams_utils package +=================== + +.. contents:: + +What is pyams_utils ? +===================== + +pyams_utils is a set of classes and functions which can be used to provide many small services and +handle common operations in the context of a Pyramid application. + +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 + - 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 pyams_utils ? +======================== + +A set of pyams_utils usages are given as doctests in pyams_utils/doctests/README.txt diff -r 60b0a6b21a12 -r d4c28f4078cd setup.py --- a/setup.py Wed Jul 15 11:20:55 2015 +0200 +++ b/setup.py Wed Jul 22 17:26:34 2015 +0200 @@ -25,7 +25,7 @@ README = os.path.join(DOCS, 'README.txt') HISTORY = os.path.join(DOCS, 'HISTORY.txt') -version = '0.1.0' +version = '0.1.1' long_description = open(README).read() + '\n\n' + open(HISTORY).read() tests_require = [ diff -r 60b0a6b21a12 -r d4c28f4078cd src/pyams_utils.egg-info/PKG-INFO --- a/src/pyams_utils.egg-info/PKG-INFO Wed Jul 15 11:20:55 2015 +0200 +++ b/src/pyams_utils.egg-info/PKG-INFO Wed Jul 22 17:26:34 2015 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: pyams-utils -Version: 0.1.0 +Version: 0.1.1 Summary: Utility functions and classes for PyAMS Home-page: http://www.ztfy.org Author: Thierry Florac @@ -41,149 +41,9 @@ Changelog ========= - 0.4.11 - ------ - - added "encode" and "decode" functions in "ztfy.utils.unicode" module (with updated doctests) - - 0.4.10 - ------ - - added configuration directives to remove static dependencies with "ztfy.skin" and "zopyx.txng3.core" - - updated Buildout's bootstrap - - 0.4.9 - ----- - - added "ztfy.utils.decorator" module with "@deprecated" decorator - - 0.4.8 - ----- - - remove security proxy in ITransactionManager adapter - - 0.4.7 - ----- - - added new "component" registry utility module - - added date and datetime display formats - - added "keep_chars" argument in translateString function - - 0.4.6 - ----- - - added ISet interface with permissions on zc.set.Set class - - 0.4.5 - ----- - - make current participation request optional in "indexObject()" function - - 0.4.4 - ----- - - added "allow_none" and "headers" arguments in XML-RPC "getClient()" methods - - 0.4.3 - ----- - - change test for date types in tztime/gmtime functions (because datetime - inherits from date!) - - 0.4.2 - ----- - - small correction in getHumanSize() function - - added dates formatting functions - - added check between date and datetime types in timezone module - - 0.4.1 - ----- - - use request locale formatter in getHumanSize function - - 0.4.0 + 0.1.1 ----- - - move custom schema fields widgets to ZTFY.skin package - - 0.3.14 - ------ - - added legend on ZEO connection properties edit form - - force usage of "escapeSlashes" argument when checking new content name - - 0.3.13 - ------ - - added ZEO connection interface, utility and tools - - added "ztfy.utils.container" utility module - - added a persistent utility to store ZEO connection settings - - added "TextLine list" schema field and widget - - added request and session cached properties - - added Python 2.7 compatibility code and timeout parameter to XML-RPC - protocol helper - - changed request "data:" TAL namespace to basic HTTP request so it can be used - in views called via JSON-RPC or XML-RPC - - 0.3.12 - ------ - - updated package source layout - - 0.3.11 - ------ - - added dotted decimal schema field, not handling locales :-/ - - 0.3.10 - ------ - - upgraded for ztfy.jqueryui 0.6.0 - - added Color schema field and widget - - added StringLine schema field - - added "text:translate" TAL adapter - - moved ITransactionManager adapter from ztfy.scheduler package - - 0.3.9 - ----- - - added HTTP client based on httplib2, handling authentication and proxies - - 0.3.8 - ----- - - corrected encodings vocabulary - - 0.3.7 - ----- - - added encodings vocabulary - - 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 + - corrected cookies management in XML-RPC authenticated transport Keywords: Pyramid PyAMS utilities Platform: UNKNOWN