Skip to main content

iaweb.privacy

Tests Meta

This package implements collective.privacy rules for IMIO web projects.

Installing it loads the minimal rule (rules/minimal.zcml, basic cookies). The other rules are opt-in: include the files you need from your own package, for example <include package="iaweb.privacy.rules" file="analytics.zcml" />.

File Rules
minimal.zcml all_basic_cookies
analytics.zcml basic_analytics
embed.zcml show_genetic_embed
media.zcml show_youtube_media_embed, show_vimeo_media_embed
multilingual.zcml language_preference
social.zcml show_facebook_share, show_twitter_share
all.zcml All of the above, except minimal.zcml

Version 2.x supports Plone 6.1 on Python 3.10 to 3.13, and Plone 6.2 on Python 3.10 to 3.14. For older Plone versions, use iaweb.privacy 1.0a2.

Installation

Add iaweb.privacy to the dependencies of your project (pyproject.toml, or requirements.txt with the Plone constraints), install it, restart Plone and activate the add-on in Site Setup > Add-ons. This also installs collective.privacy.

Development

Requires uv. This installs Plone 6.2.3 in .venv (use PLONE_VERSION=6.1.6 make install for another version), checks out the plone62 branch of collective.privacy in sources/ (see mx.ini) and installs the prek git hook:

make install
make start          # Plone on http://localhost:8080 (admin / admin)

Create a Classic UI site from the browser, then activate iaweb.privacy.

Tests

Tests run through tox, as the CI does:

make test                                   # Plone 6.2.3
uvx --with tox-uv tox -e py312-plone61      # one Plone / Python combination
make test-all                               # lint, every combination, dependencies

Without tox:

.venv/bin/zope-testrunner --test-path=src -s iaweb.privacy

Lint

make check          # format then lint (pyupgrade, isort, black, zpretty, flake8...)

Translations

make i18n           # rebuild the iaweb.privacy and collective.privacy catalogs

.editorconfig, .flake8, .gitignore, .pre-commit-config.yaml, tox.ini, .github/ and the tool sections of pyproject.toml are generated by plone.meta: change .meta.toml, then run uvx --from plone.meta config-package --no-commit --branch current ..

Contribute

License

The project is licensed under the GPLv2.

Contributors

  • Martin Peeters, mpeeters [original author]

Changelog

2.0.0 (2026-11-19)

  • Breaking: replace the pkg_resources namespace of iaweb with a PEP 420 native namespace. Support Plone 6.1 only on Python 3.10 to 3.13, and Plone 6.2 on Python 3.10 to 3.14. Use 1.0a2 for older Plone versions. [remdub]

  • Import INonInstallable from plone.base instead of the alias Plone 6.2 deprecates, and port the setup tests from portal_quickinstaller to get_installer. [remdub]

  • Include the CMFCore permissions in configure.zcml, so the package also loads when it is included before Plone (zcml_package_includes). [remdub]

  • Fix rules/all.zcml, which included a nonexistent medial.zcml. [remdub]

  • Configure the package with plone.meta 2.12.0 (test matrix on Plone 6.2.3 and 6.1), move its metadata to pyproject.toml, convert the documentation to Markdown and run the development environment on Plone 6.2.3 with uv instead of buildout. Drop the broken update_locale console script. [remdub]

1.0a2 (2022-01-19)

  • SUP-21477: Change default cookies texts [laulaz]

1.0a1 (2021-12-13)

  • Initial release. [mpeeters]

Metadata

Release files for iaweb.privacy 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iaweb.privacy 2.0.0
File Size Uploaded Provenance Actions
iaweb_privacy-2.0.0.tar.gz 22.2 kB Without provenance Details for iaweb_privacy-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for iaweb.privacy 2.0.0
File Interpreter ABI Platform Actions
iaweb_privacy-2.0.0-py3-none-any.whl Python 3 none any Details for iaweb_privacy-2.0.0-py3-none-any.whl

Total release size: 53.1 kB

Release files / iaweb_privacy-2.0.0.tar.gz

Download URL iaweb_privacy-2.0.0.tar.gz
Size 22.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4a31ec24edb616a6d061bd848ebde7dc0aae0c52c176969bf9a705414d9f39e7
BLAKE2b-256 checksum
How to use checksums
4d842e32db936c4ac8af502503fae46eb023689cdaa1de6d864f4d63921c9859
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / iaweb_privacy-2.0.0-py3-none-any.whl

Download URL iaweb_privacy-2.0.0-py3-none-any.whl
Size 30.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b42bb48183f6be7c3e58aff6bdd64ac1facd110f53c00813a7e31360e7665509
BLAKE2b-256 checksum
How to use checksums
fb93269b869b30703f9d5bef7c7193546867aa84b23f51927709063bdf4770a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for iaweb.privacy 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page