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

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-1.8.1.tar.gz (239.6 kB view details)

Uploaded Source

Built Distributions

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

pyams_form-1.8.1-py3.11.egg (497.2 kB view details)

Uploaded Egg

pyams_form-1.8.1-py3.10.egg (435.3 kB view details)

Uploaded Egg

pyams_form-1.8.1-py3.9.egg (433.8 kB view details)

Uploaded Egg

pyams_form-1.8.1-py3.8.egg (434.0 kB view details)

Uploaded Egg

pyams_form-1.8.1-py3.7.egg (432.8 kB view details)

Uploaded Egg

pyams_form-1.8.1-py3-none-any.whl (308.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyams_form-1.8.1.tar.gz
Algorithm Hash digest
SHA256 ae856bb7be3c8ceac558887aa4265d820efd9c06a4a864700487625ab2bb0917
MD5 821aa741aa214eff825fe9d40f270622
BLAKE2b-256 d0c854e52bd849ec438e420fcd914fa4aeb3e3f89dd1013a0d5d39481664aaba

See more details on using hashes here.

File details

Details for the file pyams_form-1.8.1-py3.11.egg.

File metadata

  • Download URL: pyams_form-1.8.1-py3.11.egg
  • Upload date:
  • Size: 497.2 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pyams_form-1.8.1-py3.11.egg
Algorithm Hash digest
SHA256 725aa7fdbc960e406fe24b19c8b8d429cec85ac75dad74c852f6cb07a0b8f7de
MD5 e87104539e4253dedade8a09c1dd692f
BLAKE2b-256 3e5c6a0993b270c74bd6bfa0cfe64b7a3c28d05992d19040bbdd2efa5876af5f

See more details on using hashes here.

File details

Details for the file pyams_form-1.8.1-py3.10.egg.

File metadata

  • Download URL: pyams_form-1.8.1-py3.10.egg
  • Upload date:
  • Size: 435.3 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for pyams_form-1.8.1-py3.10.egg
Algorithm Hash digest
SHA256 6df453da84a8034d1f8df710f56088ffacd53f928cbbdc386f00b2b8a25bcc7d
MD5 605ff36026807f2cce5f922e9beb576f
BLAKE2b-256 d8da8be38aca6e226b53d80a190ff1e5ed01c405cfec3d5f9f9bd435a9fc0a31

See more details on using hashes here.

File details

Details for the file pyams_form-1.8.1-py3.9.egg.

File metadata

  • Download URL: pyams_form-1.8.1-py3.9.egg
  • Upload date:
  • Size: 433.8 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for pyams_form-1.8.1-py3.9.egg
Algorithm Hash digest
SHA256 9d30241221eab0d910c43a3ffe9e31dad43c2242c35285b8543eba5f0594a49f
MD5 5311458ce52609838b213cfe7b5e4162
BLAKE2b-256 70d357e86de4e9573fb7533dc6c02ece87917973586b1f5e9f3cbf8200b42f83

See more details on using hashes here.

File details

Details for the file pyams_form-1.8.1-py3.8.egg.

File metadata

  • Download URL: pyams_form-1.8.1-py3.8.egg
  • Upload date:
  • Size: 434.0 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.17

File hashes

Hashes for pyams_form-1.8.1-py3.8.egg
Algorithm Hash digest
SHA256 b1ddaf01638239f50adbc41a947614ae690969c98dddc862a83c3c2434eda9f6
MD5 fdb575dd69c53aea9a51905f76cebab7
BLAKE2b-256 412f1ed6e7d296116afa461eeb9ee221b32e073148b7e858d14177288fd4151f

See more details on using hashes here.

File details

Details for the file pyams_form-1.8.1-py3.7.egg.

File metadata

  • Download URL: pyams_form-1.8.1-py3.7.egg
  • Upload date:
  • Size: 432.8 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for pyams_form-1.8.1-py3.7.egg
Algorithm Hash digest
SHA256 a0c10bab780c0afdf5ce010923aa9fd603b83591e6a8ce8097e45551bbfa2313
MD5 fe70aa7f4638debeb23cc26d673018f6
BLAKE2b-256 17a23893a2068aafd130fc50320c136c2ffcad943cd9b229e9952c37f005f485

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyams_form-1.8.1-py3-none-any.whl
  • Upload date:
  • Size: 308.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for pyams_form-1.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1dd323002928fa905b26488891d0d46c2d096d60bbc82d5a7d8ca114c05b8f68
MD5 4374f81dd5cd400c6dcdf9030e1d17d0
BLAKE2b-256 f9ee1b9fa3e2e82f8c96142b64138deaa56d330707857ee636c8e1bf0a29597b

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