diff -r 000000000000 -r c8e21d7dd685 src/pyams_utils.egg-info/PKG-INFO --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/pyams_utils.egg-info/PKG-INFO Wed Dec 05 12:45:56 2018 +0100 @@ -0,0 +1,204 @@ +Metadata-Version: 2.1 +Name: pyams-utils +Version: 0.1.24 +Summary: Utility functions and classes for PyAMS +Home-page: http://www.ztfy.org +Author: Thierry Florac +Author-email: tflorac@ulthar.net +License: ZPL +Description: =================== + 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: + - registry: local registry management tools + - adapter: custom adapters and annotations + - 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 + - session: to store and get properties values from current session + - timezone: convert datetime to a given timezone ; provides a server default timezone utility + - traversing: custom traverser utility supporting namespaces + - unicode: convert any text to unicode for easy storage + - protocol: utility functions and modules for several nerwork protocols + - text: simple text operations and text to HTML conversion + - html: HTML parser and HTML to text converter + - file: file upload data converter + - tales: custom "extension:" TALES expression using adapters + + + How to use pyams_utils ? + ======================== + + A set of pyams_utils usages are given as doctests in pyams_utils/doctests/README.txt + + You will also a whole set of documentations into the "docs" directory, available on + `ReadTheDocs `_ + + + Changelog + ========= + + 0.1.24 + ------ + - added Pygments utilities + + 0.1.23 + ------ + - added function to check if TCP port is already opened + - added "truncate" TALES extension + - updated Fanstatic package docstring + + 0.1.22 + ------ + - updated Fanstatic's external resource declaration to handle resources types not based on URLs + + 0.1.21 + ------ + - added "display_context" property to request + - updated 'timestamp' TALES extension to specify optional ISO output format + + 0.1.20 + ------ + - added support for server's locale configuration + - added 'need_resource' TALES extension to include Fanstatic resource from template + + 0.1.19 + ------ + - updated "br" TALES extension to add custom start and end tags + + 0.1.18 + ------ + - added default JSON encoder to serialize date and datetime objects (required for PyAMS_apm package) + - added JS text renderer + - use "yield from" in container's ISublocations adapters + + 0.1.17.1 + -------- + - update "br" TALES extension to disallow empty context + + 0.1.17 + ------ + - added functions to get unique or random members from iterator + + 0.1.16 + ------ + - updated annotation adapter factory to use a registered object factory if given factory is an + interface + - added "parent_selector" predicate for IObjectMoved/IObjectAdded events + - added "is_interface" function to check if an object is an interface + - added IRelativeURL interface, default adapter and TALES "relative_url" extension to get + content's URL based on current display context + - added "cache_key" and "timestamp" TALES extensions + - removed configuration factory interfaces and use standard object factory + + 0.1.15 + ------ + - added "inherit_from" attribute to IInheritInfo interface + - added helper to get a persistent adapter through context's annotations + - added "canonical_url" function, interface and TALES extension + - updated custom PyAMS traverser to notify BeforeTraverseEvent on last traversed object + + 0.1.14 + ------ + - updated request_property decorator cache key + - updated base site root ACL to grant 'public' permission to everyone + - use object ID in default cache key adapter + - add cache key adapters for string and persistent objects + + 0.1.13 + ------ + - added site root factory interface + - updated site factory to use new factory interface utility + + 0.1.12 + ------ + - added "request_selector" subscriber predicate + - updated ZEO connection timeout arguments for ZEO 5.x + - remove INewLocalSite event subscribers; database upgrade is now only done through command line script, and + utilities providing ISiteGenerations can be ordered + - removed static configuration manager interface + - make sure that requests created manually support annotations in get/set request data functions + + 0.1.11 + ------ + - moved PyAMS documentation to "PyAMS User Guide" package + - added "inherit" interface and module to handle inheritance between located components easier + - added exception handling when trying to get or set request annotations + - added property annotation to define volatile attributes on persistent classes + + 0.1.10 + ------ + - added ZODB connection class and vocabulary based on Pyramid's settings + - updated DocFieldProperty to correctly handle attributes documentation + - small updates in registry management functions + + 0.1.9 + ----- + - added "NullAdapter" class to be able to remove a default adapter for a given context + - added "get_global_registry" function + + 0.1.8 + ----- + - updated TALES extensions interfaces + - added validation method and exception for email schema field + + 0.1.7 + ----- + - added mail address schema field + + 0.1.6 + ----- + - updated exceptions messages translations + - added 'query' parameter to 'absolute_url' function + + 0.1.5 + ----- + - refactored request and session properties management + - added check for multi-adapter lookup on IHTMLRenderer interface in 'html' TALES extension + - update docstrings + + 0.1.4 + ----- + - added "condition" optional argument to "get_parent" traversing helper to retrieve a parent only if given function + returns a "True" value when called with parent as argument + - added annotation for vocabulary registry + - added 'prefix' argument to 'request_property' and 'session_property' decorators + - handle POSError in 'query_utility' registry function + - updated unit tests + - updated documentation + + 0.1.3 + ----- + - corrected XML-RPC client for Python 3 + - added container's "find_objects_*" functions based on ISubLocations interface + + 0.1.2 + ----- + - imports cleanup + - moved IIntIds related modules from pyams_base package + + 0.1.1 + ----- + - corrected cookies management in XML-RPC authenticated transport + + 0.1.0 + ----- + - initial release + +Keywords: Pyramid PyAMS utilities +Platform: UNKNOWN +Classifier: License :: OSI Approved :: Zope Public License +Classifier: Development Status :: 4 - Beta +Classifier: Programming Language :: Python +Classifier: Framework :: Zope3 +Classifier: Topic :: Software Development :: Libraries :: Python Modules +Provides-Extra: test