Skip to main content

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.



  • removed Travis-CI configuration


  • translation update


  • updated “get_duration” function to directly accept a timedelta object
  • added dict formatter function (mainly used for tests)
  • use keywords arguments in “request.has_permission” call to use request cache


  • updated doctests for last Pygments release


  • package version mismatch


  • make “object_data” TALES extension return None instead of an empty string when no data is available


  • added Beaker’s cache management functions and vocabulary
  • always make a registered utility class to provide it’s registered interface
  • added HTTPMethodField schema field, a tuple used to combine an HTTP method and an URL in a single property


  • updated Gitlab-CI settings to remove Travis-CI


  • updated Travis configuration


  • updated WSGI environment decorator to prevent storing null values into request environment


  • updated request’s WSGI property decorator to be able to handle caching functions with arguments
  • extracted object data renderer into a dedicated function
  • updated adapter_config decorator arguments names


  • always add “context” attribute to request when creating a new request


  • changed format of “capture*” context managers to also get result of initial function call


  • renamed testing decorator caller argument


  • added testing requirement for Pyramid ZCML


  • 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


  • updated doctests


  • updated doctests


  • updated doctests


  • updated doctests


  • added distribution check


  • small refactoring to add “get_timestamp” function to “” module
  • small updates in “url” and “zodb” modules
  • added venusian decorators testing helpers
  • completed doctests


  • Pylint upgrade


  • updated doctest


  • added Fanstatic resource type to define link “data” attributes, with new doctests
  • added new “data” function to format data attributes
  • Pylint code cleanup


  • updated doctests
  • when registering a class adapter, automatically make this class implement the adapter “provided” interface
  • added testing helpers


  • added doctests


  • renamed arguments and variables to avoid shadowing arguments names
  • updated private Gitlab integration


  • added synonyms to “adapter_config” arguments names (‘required’ and ‘adapts’ for ‘context’, and ‘provided’ for ‘provides’)


  • corrected “timestamp” TALES extension
  • added generic IDataManager interface definition to PyAMS_utils, so it can be used in any package without using PyAMS_form


  • initial release

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyams-utils, version 1.5.2
Filename, size File type Python version Upload date Hashes
Filename, size pyams_utils-1.5.2-py3.5.egg (268.6 kB) File type Egg Python version 3.5 Upload date Hashes View
Filename, size pyams_utils-1.5.2-py3.6.egg (265.3 kB) File type Egg Python version 3.6 Upload date Hashes View
Filename, size pyams_utils-1.5.2-py3.7.egg (265.7 kB) File type Egg Python version 3.7 Upload date Hashes View
Filename, size pyams_utils-1.5.2-py3.8.egg (266.2 kB) File type Egg Python version 3.8 Upload date Hashes View
Filename, size pyams_utils-1.5.2-py3.9.egg (265.8 kB) File type Egg Python version 3.9 Upload date Hashes View
Filename, size pyams_utils-1.5.2-py3-none-any.whl (156.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pyams_utils-1.5.2.tar.gz (95.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page