Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Generate attribution and license messages from RDF metadata

Project Description

libcredit aims to simplify extracting attribution information for creative works from RDF metadata and formatting at as human-readable credit line in various contexts.

RDF metadata

Attribution is retrieved from RDF data by looking for predefined core properties in the graph. The properties include a subset of Dublin Core, Creative Commons, XHTML vocabularies and other site-specific properties (Open Graph, Flickr, etc.).

The process used to extract a credit line from the metadata is documented here (and you are welcome to contribute thoughts there, as well as code to this library):

Some things described in that process have not yet been implemented, as indicated by open issues:

### CopyRDF addon for Firefox

CopyRDF firefox addon developed by converts RDFa metadata found in various media hosting platforms to RDF. See the addon’s README for a list of tested websites and usage instructions:

Implementation and usage

libcredit is currently written for Python and JavaScript. See files for instructions and usage examples for the libcredit implementations in these languages.

The language-specific implementations are distributed as individual files, but all are maintained in single repository at github:


Copyright 2013 Commons Machinery

Distributed under an GPLv2 license, please see LICENSE in the top dir.


Release History

Release History

This version
History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date (20.1 kB) Copy SHA256 Checksum SHA256 Source Dec 17, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting