Describe your resources with a Dublin Core schema
Project description
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.
Most DC elements accepts only a single value to keep things simple.
Data Models
- AbstractDublinCoreResource
- an abstract Django Model that replicate the Dublin Core schema
- each DC element is represented by a field
- some DC terms 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
- Extensible model
- [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 CC schema for the rights
Set up
Installation
pip install django-dublincore-resource
./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/'
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
Built Distribution
Close
Hashes for django-dublincore-resource-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82ae25b0a57f522a3624992bf227989f3a405d78b70904a91a293aa68c879ff5 |
|
MD5 | 50d25c1b2e7665288280a94591936bc5 |
|
BLAKE2b-256 | df7a5097599992d75b1970e51d5267c14ea7ba5200773227999d49bc49c2b57f |
Close
Hashes for django_dublincore_resource-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d035c5ea4686897f8b8ce0dec2b420c4277ec77c7015efdd0d986159992a0228 |
|
MD5 | 0fa9387e5ef88de5bedbe9ba44a8068e |
|
BLAKE2b-256 | 673c3faed192839561d47e032ddf123a444659ea6cce05ce4e0742872168bb06 |