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
-
Install the extension from
PyPI. The events dashboard is optional and needs ckanext-tables, which thedashboardextra installs.pip install -e '.[dashboard]' -
Enable the plugin in your CKAN configuration file (e.g.
ckan.iniorproduction.ini). The events dashboard is built on ckanext-tables, sotablesmust be enabled as well, or the dashboard page will fail with aTemplateNotFounderror:ckan.plugins = ... tables event_audit ... -
Run DB migrations:
ckan db upgrade -p event_auditckan db pending-migrationsonly lists the pending migrations, unless you add--apply. -
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
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)
| File | Size | Uploaded | |
|---|---|---|---|
| ckanext_event_audit-2.0.0.tar.gz | 80.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|