Skip to main content

Tests

ckanext-event-audit

This extension will capture and retain a comprehensive record of all changes within a CKAN app.

Read the documentation for a full user guide.

Quick start

  1. Install the extension from PyPI. The events dashboard is optional and needs ckanext-tables, which the dashboard extra installs. pip install -e '.[dashboard]'

  2. Enable the plugin in your CKAN configuration file (e.g. ckan.ini or production.ini). The events dashboard is built on ckanext-tables, so tables must be enabled as well, or the dashboard page will fail with a TemplateNotFound error:

    ckan.plugins = ... tables event_audit ...

  3. Run DB migrations:

    ckan db upgrade -p event_audit

    ckan db pending-migrations only lists the pending migrations, unless you add --apply.

  4. Configure the extension up to your needs and you're ready to go. See the documentation for more details about the configuration options, and read the security notes before storing payloads and results.

Developer installation

To install ckanext-event-audit for development, activate your CKAN virtualenv and do:

pip install -e '.[dev]'

To build the documentation, install the docs extras and run mkdocs:

pip install -e '.[docs,dev]'
mkdocs serve

Tests

To run the tests, do:

pytest --ckan-ini=test.ini

License

AGPL

Metadata

Release files for ckanext-event-audit 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 ckanext-event-audit 2.0.0
File Size Uploaded
ckanext_event_audit-2.0.0.tar.gz 80.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ckanext-event-audit 2.0.0
File Interpreter ABI Platform
ckanext_event_audit-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 185.0 kB

Release files / ckanext_event_audit-2.0.0.tar.gz

Download URL ckanext_event_audit-2.0.0.tar.gz
Size 80.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e7e5a71bf0e3f877d713eaa19b661d903acd9ee85f414f707a86ddad83da407c
BLAKE2b-256 checksum
How to use checksums
cb8d622e742ed6f9d281f565b5e0bf2005e701d30bc673cb1f087595f4b02c48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

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

Download URL ckanext_event_audit-2.0.0-py3-none-any.whl
Size 104.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
27d22d03fc875115607970e45e3df6b21cc0119367fd34ef2854ed092115274f
BLAKE2b-256 checksum
How to use checksums
7101dee2e78f812aec81454479c452a1fd90cb26e046062799d782aa6e088b72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.2.14

2 release files

1.2.9

2 release files

1.2.8

2 release files

1.2.7

2 release files

1.2.6

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.0

2 release files

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