No project description provided
Project description
ckanmirror
A simple command-line utility that enables incremental mirroring of a nominated package from a CKAN instance. All CKAN resources associated with the package will be downloaded, along with their associated metadata. Resources linked from previous versions of the package are not changed, so this tool can be used to build up an archive of a CKAN package over time.
Getting started
Install the tool:
pip install ckanmirror
In a directory you wish the CKAN package to be mirrored to, write your config into a file named ckanmirror.json
:
{
'apikey': '<your CKAN API key>',
'remote': 'https://ckan.example.com',
'package_id': '<CKAN package ID>',
}
... then, from that directory, simply run ckanmirror
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ckanmirror-0.2.0.tar.gz
.
File metadata
- Download URL: ckanmirror-0.2.0.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.11.4 Darwin/22.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 559c7ee78dee2307c099c1a6f932aa60cedb507dabd931085e3e52c7caa3c176 |
|
MD5 | 5fd304785906de3d0728f3e97cab3ec6 |
|
BLAKE2b-256 | 431457261d968b95f9374a0e9ffa4b58a59f78d322f91ad1ed15f20fb08c431b |
File details
Details for the file ckanmirror-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: ckanmirror-0.2.0-py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.11.4 Darwin/22.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe95dc678c11ad0087ada73c6b80531f6209f68f00e01a84d3d352ab3507398c |
|
MD5 | 83d6e98c8dd2543d36e6b252696e4c71 |
|
BLAKE2b-256 | 932d63406810b0c800ca31004b252cb0ff0c1dbd324363d989a56e4b2939ccfc |