Skip to main content

Pyramid views for PyAMS_file 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. Doctests are available in the doctests source folder.

What is PyAMS file views?

PyAMS file is a package dedicated to files management, including images.

This package is adding views and content providers and a management interface to manage files and images through dedicated forms widgets which are integrated into PyAMS_skin and PyAMS_zmi packages (but using PyAMS_zmi is not a requirement).

Changelog

2.2.0

  • added support for CSS ‘style’ argument to “picture” TALES extension

2.1.0

  • added automatic lazy loading to pictures

2.0.6

  • updated Gitlab-CI for Python 3.11 and 3.12

2.0.5

  • added check on file content-type to display editor action

2.0.4

  • handle files without filename when getting thumbnails

  • replaced datetime.utcnow() with datetime.now(timezone.utc)

2.0.3

  • added thumbnail ID in file input widget template

2.0.2

  • added margin on content-type label in file input widget

2.0.1

  • updated modal forms title

2.0.0

  • upgraded to Pyramid 2.0

1.4.5

  • renamed doctests interfaces and classes for last PyAMS_skin version

  • get Bootstrap devices icons from PyAMS_skin package

  • added support for Python 3.11

1.4.4

  • small error in package requirements

1.4.3

  • set widget as deletable if widget or field is not required

  • updated image preview template

1.4.2

  • updated file widgets templates

1.4.1

  • packaging version issue

1.4.0

  • added support for Python 3.10

  • moved TALES extensions from PyAMS_file package

1.3.0

  • added image preview

1.2.1

  • added file modifier form mixin class to handle buttons selection in forms in display mode

  • updated language getter attribute in I18n file widget

1.2.0

  • added base class for responsive selections forms

  • added frame border in images selection forms

  • updated order of selections forms actions

1.1.2

  • added missing “context” argument to permission check

1.1.1

  • packaging mismatch…

1.1.0

  • removed support for Python < 3.7

  • added image size in crop and selection templates

1.0.2

  • updated Gitlab-CI configuration

  • removed Travis-CI configuration

1.0.1

  • updated “required” attribute of file input widgets

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_file_views-2.2.0.tar.gz (420.4 kB view details)

Uploaded Source

Built Distribution

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

pyams_file_views-2.2.0-py3-none-any.whl (527.1 kB view details)

Uploaded Python 3

File details

Details for the file pyams_file_views-2.2.0.tar.gz.

File metadata

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

File hashes

Hashes for pyams_file_views-2.2.0.tar.gz
Algorithm Hash digest
SHA256 2d0fed0c01d6f5c44396a2a07255f0fd8bdde83f58971273c0147430a77df90d
MD5 a6630198d7ed349359355e8f88f77bf7
BLAKE2b-256 230db337ab712a5faa493c0bf54d65deb33c4fdd241a3216a7da1f302b5bf81e

See more details on using hashes here.

File details

Details for the file pyams_file_views-2.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pyams_file_views-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a773bdfbdf98b1b9d98594d5326122f4e45f562a416560671ccbfa21e8dd3324
MD5 7e6e9a4ffbd5f58a8c4b11203b1cea5f
BLAKE2b-256 34dff6ccbb651ef40369f47021a9789b35c4a30b906d2bd1ebd734924cd9589c

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