Skip to main content

US Metadata Plugin for CKAN

Project description

ckanext-usmetadata

Github Actions PyPI version

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ckanext-usmetadata-0.3.3.tar.gz (125.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ckanext_usmetadata-0.3.3-py3-none-any.whl (135.7 kB view details)

Uploaded Python 3

File details

Details for the file ckanext-usmetadata-0.3.3.tar.gz.

File metadata

  • Download URL: ckanext-usmetadata-0.3.3.tar.gz
  • Upload date:
  • Size: 125.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for ckanext-usmetadata-0.3.3.tar.gz
Algorithm Hash digest
SHA256 2f4f6606350d5100e814b59da3e3e1204c557f9b30543e51bb5c5e68a823e6ea
MD5 1842b7ea3b81828afba8ad4451feb72b
BLAKE2b-256 b640263e438bac472c8c619017523a8931abb05da11c982ae7c5a05a47e38af8

See more details on using hashes here.

File details

Details for the file ckanext_usmetadata-0.3.3-py3-none-any.whl.

File metadata

File hashes

Hashes for ckanext_usmetadata-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8c4e1c89f8983351ca97ec1db6990379c084b6a89759d18044612e2b02f8bdef
MD5 518714d3a984980c646cbe4b2114caa0
BLAKE2b-256 ce55d38bc4c0dac658060dca798c457d3354d2a4b35c43071a84bb4da57d48bf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page