# HG changeset patch # User Thierry Florac # Date 1593462765 -7200 # Node ID d2a70e493aa85b64ac0563742a0fb4388d8fb909 # Parent 82836485546c08a59d3c6ce4ceb3bc07f7cabecb Version 0.1.36 diff -r 82836485546c -r d2a70e493aa8 .gitlab-ci.yml --- a/.gitlab-ci.yml Mon Jun 29 18:21:30 2020 +0200 +++ b/.gitlab-ci.yml Mon Jun 29 22:32:45 2020 +0200 @@ -29,7 +29,7 @@ - pip install anybadge - mkdir ./coverage - ./bin/test --coverage coverage | tee ./coverage/coverage.log - - GLOBAL_COVER=$(/bin/grep -e '^[[:space:]]*[[:digit:]]\+[[:space:]]\+[[:digit:]]\+\%' ./coverage/coverage.log | + - GLOBAL_COVER=$(grep -e '^[[:space:]]*[[:digit:]]\+[[:space:]]\+[[:digit:]]\+\%' ./coverage/coverage.log | awk 'BEGIN { lines=0; cov=0 } { lines = lines + $1; cov = cov + $1 * $2 / 100 } END { printf "%.2f", cov / lines * 100 }') diff -r 82836485546c -r d2a70e493aa8 buildout.cfg --- a/buildout.cfg Mon Jun 29 18:21:30 2020 +0200 +++ b/buildout.cfg Mon Jun 29 22:32:45 2020 +0200 @@ -1,7 +1,6 @@ [buildout] eggs-directory = eggs extends = http://download.ztfy.org/pyams/pyams-dev.cfg -find-links = http://download.ztfy.org/eggs socket-timeout = 3 versions = versions @@ -66,4 +65,4 @@ eggs = pyams_utils [test] [versions] -pyams_utils = 0.1.35 +pyams_utils = 0.1.36 diff -r 82836485546c -r d2a70e493aa8 docs/HISTORY.txt --- a/docs/HISTORY.txt Mon Jun 29 18:21:30 2020 +0200 +++ b/docs/HISTORY.txt Mon Jun 29 22:32:45 2020 +0200 @@ -1,6 +1,13 @@ Changelog ========= +0.1.36 +------ + - added multiple mail addresses schema field + - added pyams_utils.list.unique_iter_max() function to get items out of an iterable containing + the biggest value for a given key + - small decorators updates + 0.1.35 ------ - Pylint code cleanup and GitLab-CI integration updates diff -r 82836485546c -r d2a70e493aa8 docs/README.txt --- a/docs/README.txt Mon Jun 29 18:21:30 2020 +0200 +++ b/docs/README.txt Mon Jun 29 22:32:45 2020 +0200 @@ -15,9 +15,11 @@ see PyAMS_content package), but many features are generic and can be used inside any kind of web application. +All PyAMS documentation is available on `ReadTheDocs `_ -What is PyAMS_utils ? -===================== + +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. @@ -36,9 +38,3 @@ - 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 whole set of PyAMS documentation is available on `ReadTheDocs `_ diff -r 82836485546c -r d2a70e493aa8 setup.py --- a/setup.py Mon Jun 29 18:21:30 2020 +0200 +++ b/setup.py Mon Jun 29 22:32:45 2020 +0200 @@ -25,7 +25,7 @@ README = os.path.join(DOCS, 'README.txt') HISTORY = os.path.join(DOCS, 'HISTORY.txt') -version = '0.1.35' +version = '0.1.36' long_description = open(README).read() + '\n\n' + open(HISTORY).read() tests_require = [ diff -r 82836485546c -r d2a70e493aa8 src/pyams_utils.egg-info/PKG-INFO --- a/src/pyams_utils.egg-info/PKG-INFO Mon Jun 29 18:21:30 2020 +0200 +++ b/src/pyams_utils.egg-info/PKG-INFO Mon Jun 29 22:32:45 2020 +0200 @@ -1,22 +1,35 @@ Metadata-Version: 2.1 Name: pyams-utils -Version: 0.1.35 +Version: 0.1.36 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 + PyAMS_utils package =================== .. contents:: - What is pyams_utils ? - ===================== + What is PyAMS + ============= + + PyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications + and content management with the Pyramid framework. - pyams_utils is a set of classes and functions which can be used to provide many small services and + **PyAMS** is actually mainly used to manage web sites through content management applications (CMS, + see PyAMS_content package), but many features are generic and can be used inside any kind of web + application. + + All PyAMS documentation is available on `ReadTheDocs `_ + + + 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: @@ -35,18 +48,16 @@ - 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.36 + ------ + - added multiple mail addresses schema field + - added pyams_utils.list.unique_iter_max() function to get items out of an iterable containing + the biggest value for a given key + - small decorators updates + 0.1.35 ------ - Pylint code cleanup and GitLab-CI integration updates diff -r 82836485546c -r d2a70e493aa8 src/pyams_utils.egg-info/SOURCES.txt --- a/src/pyams_utils.egg-info/SOURCES.txt Mon Jun 29 18:21:30 2020 +0200 +++ b/src/pyams_utils.egg-info/SOURCES.txt Mon Jun 29 22:32:45 2020 +0200 @@ -49,10 +49,10 @@ src/pyams_utils.egg-info/not-zip-safe src/pyams_utils.egg-info/requires.txt src/pyams_utils.egg-info/top_level.txt -src/pyams_utils/doctests/README.txt -src/pyams_utils/doctests/dates.txt -src/pyams_utils/doctests/request.txt -src/pyams_utils/doctests/unicode.txt +src/pyams_utils/doctests/README.rst +src/pyams_utils/doctests/dates.rst +src/pyams_utils/doctests/request.rst +src/pyams_utils/doctests/unicode.rst src/pyams_utils/interfaces/__init__.py src/pyams_utils/interfaces/data.py src/pyams_utils/interfaces/inherit.py