PyAMS forms management package
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. Complete doctests are available in the doctests folder.
What is PyAMS_form?
PyAMS_form is a fork of z3c.form package; it provides the same features to generate HTML forms based on schema interfaces, but adapted to the Pyramid framework for use with Chameleon templates.
It is also adding a few features, with custom form-related viewlets managers and AJAX forms.
** Package API is also converted to common Python standards, using snake_case for variables and methods.
Changelog
2.1.1
updated OrderedSelect selected terms getter
2.1.0
added final decorator to form content getter (using only adapters)
added form groups getter method
2.0.2
added mising interfaces attributes
2.0.1
updated Buildout configuration
2.0.0
migrated to Pyramid 2.0
1.8.1
small templates updates
1.8.0
added support for optional factory argument when using form_and_handler decorator
added optional notify argument to form extract_data method; you can set this argument to False when you don’t want to generate extra events on a manual data extraction
1.7.4
reverted doctest
1.7.3
added support for Python 3.10 and 3.11
updated doctests
1.7.2
cancelled doctest update
1.7.1
updated get_forms method to only get inner forms which are really implementing inner forms interfaces; this can be useful to include inner viewlets which are not forms into a parent form
1.7.0
added interfaces support for form content and form fields adapters
added form update events
added support for Python 3.10
1.6.5
cancelled doctest update
1.6.4
small updates in default AJAX form renderer
reified form edit permission getter
1.6.3
changed test in AJAX add form to check changes against None instead of boolean false value to handle use case where created object is an empty container
1.6.2
updated doctests for zope.schema package >= 6.1.1, where boolean schema fields are automatically set as required
1.6.1
updated doctests
1.6.0
added optional ajax_require_csrf argument to ajax_form_config decorator
1.5.0
updated sequence widget behaviour to be able to extract data from single value using a separator
updated default AJAX renderer to merge outputs of inner forms renderers
1.4.3
version mismatch
1.4.2
added missing “context” argument to permission check
added missing widget factory for text lines list field
removed unused interface
1.4.1
Gitlab-CI pylint test update
1.4.0
removed support for Python < 3.7
updated Bytes schema field to FileWidget data converter
1.3.1
updated Gitlab-CI configuration
1.3.0
look for actions in finished state to get AJAX renderers
updated Gitlab-CI configuration
removed Travis-CI configuration
1.2.1
interfaces description updates
code cleanup
1.2.0
added support for inner sub-forms and tab-forms in groups manager
1.1.0
small updates in forms API
use form’s “finished_state” attribute to store executed action and changes
automatically use objects factories in add forms
updated “adapter_config” decorator arguments names
updated access to Pyramid’s global registry
updated doctests
1.0.4
included edge case fix to handle missing values which are not None but that work as None (merged from z3c.form)
1.0.3
updated doctests using ZCA hook
1.0.2
code refactoring to reduce duplications
1.0.1
updated doctests
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 Distribution
File details
Details for the file pyams_form-2.1.1.tar.gz
.
File metadata
- Download URL: pyams_form-2.1.1.tar.gz
- Upload date:
- Size: 240.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59da9e524d2a034f36996b201befb22827a3fda1e5a8f2f12cbbbc9257f63be7 |
|
MD5 | 77ef19850a2cd163562c9bfa415416ae |
|
BLAKE2b-256 | c83af14128c41906d3a8e44db324f6dcf19cb3570f4a10281664169207c6bb9e |
File details
Details for the file pyams_form-2.1.1-py3-none-any.whl
.
File metadata
- Download URL: pyams_form-2.1.1-py3-none-any.whl
- Upload date:
- Size: 308.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ed0e2587257686d5571ac8bb4b80e1e26302c50474cd1e113ae936be1b347a8 |
|
MD5 | 45449fb17faf4d9120d6a5f02e7a89f2 |
|
BLAKE2b-256 | 5a15932f719b6879571304e2a3984be3f053efd075e284a9391a33775e3af81d |