Skip to main content

Django Dublin Core Resource

A Django model and admin interface to manage metadata about your resources using standard Dublin Core (DC) schema.

The approach taken by this app is to centralise all your resource metadata into a single table.

Data Models

  • AbstractDublinCoreResource
    • an abstract Django Model that replicate the Dublin Core schema
    • each DC element (dc:) is represented by a field
    • some DC terms (dcterms:) are also included
    • makes use of ControlledTermField for links to controlled vocabularies
  • DublinCoreResource
    • inherit from AbstractDublinCoreResource
  • DublinCoreAgent
    • represents a person or organisation
  • DublinCoreRights
    • represents Rights statements that can be shared among your resources

Features

  • One centralised table for all your resource
  • Standard Dublin Core elements/fields
  • Lookup values into authority lists / controlled vocabularies
  • Inline description of all fields
  • Extensible model
  • [TODO] optional integration with Wagtail Image gallery and Documents
  • [TODO] smart bulk import/update from CSV
  • [TODO] advanced input validations
  • [TODO] API / export into various standard formats
  • [TODO] support for file attachment / upload
  • [TODO] support for bibliographic citation parsing / extraction
  • [TODO] support for EDTF dates
  • [TODO] use Creative Commons best practices and schema for the rights

Set up

Installation

First install django-controlled-vocabulary.

Then install the django-dublincore-resource app:

pip install django-dublincore-resource

Add the app to the INSTALLED_APPS list in your Django settings.py file:

INSTALLED_APPS = [
    ...
    'dublincore_resource',
    ...
]

Run the schema migrations:

./manage.py migrate

Configuration

The following settings vars are defined by default but can be overridden in your Django settings.py.

By default this app provides a DublinCoreResource model that inherit from the abstract AbstractDublinCoreResource model. Set the following to False to define your own model.

# Set to True to disable the DublinCoreResource model and define your own
DUBLINCORE_RESOURCE_ABSTRACT_ONLY = False
# The path where resource file are uploaded, relative to your MEDIA path
DUBLINCORE_RESOURCE_UPLOAD_PATH = 'uploads/dublin_core/'

Metadata

Release files for django-dublincore-resource 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-dublincore-resource 0.1.4
File Size Uploaded
django-dublincore-resource-0.1.4.tar.gz 8.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-dublincore-resource 0.1.4
File Interpreter ABI Platform
django_dublincore_resource-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 21.9 kB

Release files / django-dublincore-resource-0.1.4.tar.gz

Download URL django-dublincore-resource-0.1.4.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d9834b2124884097e499761f25e73fd043538d5244f99c946fe8fa94f807d08b
BLAKE2b-256 checksum
How to use checksums
1d8aacc7227e16d463505df20503efe2c8ecb25ab9f94eb6e2adc126c16046ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.10 CPython/3.8.2 Linux/5.4.0-40-generic

Release files / django_dublincore_resource-0.1.4-py3-none-any.whl

Download URL django_dublincore_resource-0.1.4-py3-none-any.whl
Size 13.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fce142928e51cc4f53e4e8e2a2e48756f47abbfbbb34f17a21bb5cb5eeb3b357
BLAKE2b-256 checksum
How to use checksums
b6a0129aa4c520a9a080da3e326b429d0473e4dfbb227a9c79113045bea59eb3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.10 CPython/3.8.2 Linux/5.4.0-40-generic

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page