ckanext-transmute
Pipeline for data validation and conversion using schemas.
Read the documentation for a full user guide.
Quickstart
Install the extension
pip install ckanext-transmute
Add transmute to the list of enabled plugins in the CKAN config file.
Transform data using inline schema
ckanapi action tsm_transmute root=example \
data:'{"greeting": "hello"}' \
schema:'{
"root": "example",
"types": {
"example": {
"fields": {
"message": {
"validate_missing": true,
"validators": [
[
"tsm_concat",
"$greeting",
", ",
"$name",
"!"
]
],
"weight": 2
},
"name": {
"default": "transmute"
},
"greeting": {
"default": "Hi"
}
},
"post-fields": {
"greeting": {
"remove": true
},
"name": {
"remove": true
}
}
}
}
}'
Developer installation
Install the extension
git clone https://github.com/DataShades/ckanext-transmute.git
cd ckanext-transmute
pip install -e '.[dev]'
Run tests
pytest
License
Metadata
Release files for ckanext-transmute 2.1.2
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 | |
|---|---|---|---|---|
| ckanext_transmute-2.1.2.tar.gz | 32.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ckanext_transmute-2.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 67.2 kB
Release files / ckanext_transmute-2.1.2.tar.gz
| Download URL | ckanext_transmute-2.1.2.tar.gz |
|---|---|
| Size | 32.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
19f61660cd7515f9e9b48a2b27f07ee3c05bd748187b2050ccce8595704a4526
|
|
BLAKE2b-256 checksum How to use checksums |
d330af9c8d73a7d9429a942c86ab09c95b7abc75120ce5b21556e37a1431207e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / ckanext_transmute-2.1.2-py3-none-any.whl
| Download URL | ckanext_transmute-2.1.2-py3-none-any.whl |
|---|---|
| Size | 34.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
514287e6346bbd1cdf32c41226701cb9095abbd79c57f6ba587ee3765016780f
|
|
BLAKE2b-256 checksum How to use checksums |
a0dbc25663533b2e8f51a875d36ee3fd59cf094e05787f232df337545c8a1d75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Security for ckanext-transmute 2.1.2
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.