Skip to main content

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.3

  • updated doctests for Python 3.12

2.1.2

  • updated doctests

  • updated Gitlab-CI for Python 3.12 support

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


Download files

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

Source Distribution

pyams_form-2.1.3.tar.gz (240.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyams_form-2.1.3-py3-none-any.whl (309.6 kB view details)

Uploaded Python 3

File details

Details for the file pyams_form-2.1.3.tar.gz.

File metadata

  • Download URL: pyams_form-2.1.3.tar.gz
  • Upload date:
  • Size: 240.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for pyams_form-2.1.3.tar.gz
Algorithm Hash digest
SHA256 fc84407571ce54fadc8775c0528001905f6b581e94dae19bdf708bfb21654f3a
MD5 9c78f4b2e29ffd749f8f7e84d1502edf
BLAKE2b-256 d8ddfe0645422426f237f8a1e3c268747e7735059858a45ea51dd8f26596012d

See more details on using hashes here.

File details

Details for the file pyams_form-2.1.3-py3-none-any.whl.

File metadata

  • Download URL: pyams_form-2.1.3-py3-none-any.whl
  • Upload date:
  • Size: 309.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for pyams_form-2.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5789cfe717398ef44cf34a5f3bab0f43ccf84c3656ca537d5e5c93ce8af7c485
MD5 8cc5ace4e033d0dcb99168b4268ee279
BLAKE2b-256 6e783f0b83c7dc83d5e77a100f012820054406a1faeca99476140d100ba3234a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page