PyAMS generic modules
Project description
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 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; source code is available on Gitlab and pushed to Github.
What is PyAMS_utils?
PyAMS_utils is a large set of small generic modules used to handle PyAMS applications.
These modules provide several decorators used to declare object factories, adapters, utilities and vocabularies; they also provide a large set of adapters, utilities and predicates related to many common operations like caching, dates management, data API, text conversions, request properties…, as well as custom schema fields.
When included into Pyramid’s configuration, this package also register several Zope packages through ZCML, typically to automatically inclure DublinCore extensions or IntIDs management.
Most PyAMS_utils modules are documented using doctests in the /doctests/ sub-directory.
Changelog
1.3.0
updated PyAMS registry management to only use Pyramid registry (using “hook_zca”)
local registry should only be used to handle local utilities, and not any kind of components!
updated doctests to use hooked ZCA
1.2.8
updated doctests
1.2.7
updated doctests
1.2.6
updated doctests
1.2.5
updated doctests
1.2.4
added distribution check
1.2.3
small refactoring to add “get_timestamp” function to “pyams_utils.date” module
small updates in “url” and “zodb” modules
added venusian decorators testing helpers
completed doctests
1.2.2
Pylint upgrade
1.2.1
updated doctest
1.2.0
added Fanstatic resource type to define link “data” attributes, with new doctests
added new “data” function to format data attributes
Pylint code cleanup
1.1.4
updated doctests
when registering a class adapter, automatically make this class implement the adapter “provided” interface
added testing helpers
1.1.3
added doctests
1.1.2
renamed arguments and variables to avoid shadowing arguments names
updated private Gitlab integration
1.1.1
added synonyms to “adapter_config” arguments names (‘required’ and ‘adapts’ for ‘context’, and ‘provided’ for ‘provides’)
1.1.0
corrected “timestamp” TALES extension
added generic IDataManager interface definition to PyAMS_utils, so it can be used in any package without using PyAMS_form
1.0.0
initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for pyams_utils-1.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fcf8efc3047ffaf5dc9aacbfd176fdd1fcbc8ee289fa896bbcf006ce3c7d8b5 |
|
MD5 | 1c7c074e94b49e8d39ea0e2524f6bceb |
|
BLAKE2b-256 | 5c9d096f058eed91b1e29367852a148f2df08084afe1f44ca493308e9439a395 |