ckanext-iso19115
Export dataset into ISO 19115 XML.
Requirements
Compatibility with core CKAN versions:
| CKAN version | Compatible? |
|---|---|
| 2.9 | yes |
| 2.10 | yes |
Installation
To install ckanext-iso19115:
-
Install it into virtualenv:
pip install ckanext-iso19115
-
Add
iso19115to theckan.plugins.
Config settings
None at present
# Storage path for pre-compiled schema definition
# (optional, default: somewhere inside system's tempdir).
ckanext.iso19115.misc.cache_dir = /var/data/iso19115_cache
CLI
Clear compiled schema caches:
ckan -c /path/to/ckan.ini iso19115 cache clear
Usage
Customize the way of mapping dataset into ISO 19115 by implementing IIso18115 interface.
from ckanext.iso19115.interfaces import IIso19115
class Iso19115(p.SingletonPlugin):
p.implements(IIso19115, inherit=True)
def iso19115_metadata_converter(self, data_dict: dict[str, Any]):
return Converter(data_dict)
Converter must be defined as a sub-class of
ckanext.iso19115.converter.Converter. It already contains some basic logic
that can be used as a starting point for extension.
API
iso19115_package_show
Export dataset into ISO 19115 JsonML.
Format can be changed using format parameter of the action. Possible alternatives:
- xml
iso19115_package_check
Check if the dataset can be rendered as a valid ISO 19115 document
Tests
To run the tests, do:
pytest
License
Metadata
Release files for ckanext-iso19115 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ckanext_iso19115-0.2.4.tar.gz | 378.5 kB | Without provenance | Details for ckanext_iso19115-0.2.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ckanext_iso19115-0.2.4-py3-none-any.whl | Python 3 | none | any | Details for ckanext_iso19115-0.2.4-py3-none-any.whl |
Total release size: 966.9 kB
Release files / ckanext_iso19115-0.2.4.tar.gz
| Download URL | ckanext_iso19115-0.2.4.tar.gz |
|---|---|
| Size | 378.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d094d3996c587cefe3d1f4a06ff2b1e334f11ed0ae203b15783df12e7837de6c
|
|
BLAKE2b-256 checksum How to use checksums |
f64dbc0601814d97dbc2ed37bde9d4ee79c6bb2ac654dcd582b0b490f640be96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.16
|
Release files / ckanext_iso19115-0.2.4-py3-none-any.whl
| Download URL | ckanext_iso19115-0.2.4-py3-none-any.whl |
|---|---|
| Size | 588.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
852e45abc0091c9a1863be3a8c31fae74099c6590af2ffef8ea7beb7913f348e
|
|
BLAKE2b-256 checksum How to use checksums |
a1738f9722b4f83ae35106101363d810a628bd1e9648edc112507fb3fc371a0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.16
|
Security for ckanext-iso19115 0.2.4
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.