Save and restore state of packages, resources, groups, etc.
Read the documentation for a full user guide.
Compatibility with core CKAN versions:
CKAN version | Compatible? |
---|---|
2.9 | no |
2.10 | yes |
2.11 | yes |
master | yes |
Install the extension
pip install ckanext-snap
Add snap
to the list of enabled CKAN plugins.
Create snapshot using snap_snapshot_create
API action:
ckanapi action snap_snapshot_create target_id=<PACKAGE_ID> target_type=package
Install the
git clone https://github.com/DataShades/ckanext-snap.git
cd ckanext-snap
pip install -e '.[dev]'
Run tests:
pytest