US Metadata Plugin for CKAN
Project description
ckanext-usmetadata
This CKAN Extension expands CKAN to offer a number of custom fields related to the DCAT-US Schema
Installation
Add ckanext-usmetadata
to your requirements.txt, and then pip install
Then in your CKAN .ini file, add usmetadata
to your ckan.plugins line:
ckan.plugins = (other plugins here...) usmetadata
Requirements
This extension is compatible with these versions of CKAN.
CKAN version | Compatibility |
---|---|
<=2.9 | no |
2.10 | yes |
Development
You may also install by cloning the git repo, then running ''python setup.py develop'' from the root of your source directory, which will install an egg link so that you can modify the code and see results localhost:5000.
Clean up any containers and volumes.
$ make down
Open a shell to run commands in the container.
$ docker-compose exec ckan bash
If you're unfamiliar with docker-compose, see our cheatsheet and the official docs.
For additional make targets, see the help.
$ make help
Testing
They follow the guidelines for testing CKAN extensions.
To run the extension tests, start the containers with make up
, then:
$ make test
Lint the code.
$ make lint
Matrix builds
In order to support multiple versions of CKAN, or even upgrade to new versions
of CKAN, we support development and testing through the CKAN_VERSION
environment variable.
$ make CKAN_VERSION=2.9 test
Credit / Copying
Credit to the original owner of the repo. Everything here is built on top of the original foundation.
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 ckanext-usmetadata-0.3.2.tar.gz
.
File metadata
- Download URL: ckanext-usmetadata-0.3.2.tar.gz
- Upload date:
- Size: 125.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f7947e895f1f3805170c3f5e250613658c4d761dcc2efe412bbeb728e4bb414 |
|
MD5 | cc121968e56de19d4ab9f086a91c3652 |
|
BLAKE2b-256 | 2777c67e2f8273938088dad2e58a28f509a2414b9bb01a442579c402e238c19c |
File details
Details for the file ckanext_usmetadata-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: ckanext_usmetadata-0.3.2-py3-none-any.whl
- Upload date:
- Size: 135.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c9dded9fb172eb5f48a93d1728b3f841efa2f039e64550ebc53479daf725af2 |
|
MD5 | 869dfe842b3897017d167d983f9feed9 |
|
BLAKE2b-256 | fc5f3347b5ffb4cceb67e229bcbe19267ed985e084cb0ac061a11f350bd25726 |