Skip to main content

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): https://github.com/commonsmachinery/credit-metadata-best-practices

Some things described in that process have not yet been implemented, as indicated by open issues: https://github.com/commonsmachinery/libcredit/issues?state=open

### 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:

https://github.com/commonsmachinery/copyrdf-addon/blob/master/README.md

Implementation and usage

libcredit is currently written for Python and JavaScript. See README.language.md 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: https://github.com/commonsmachinery/libcredit

License

Copyright 2013 Commons Machinery http://commonsmachinery.se/

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

Contact: dev@commonsmachinery.se

Release files for libcredit.py 0.2.1

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

Source distribution (sdist)

Source distribution for libcredit.py 0.2.1
File Size Uploaded
libcredit.py-0.2.1.tar.gz 20.1 kB Details

Release files / libcredit.py-0.2.1.tar.gz

Download URL libcredit.py-0.2.1.tar.gz
Size 20.1 kB
Tags Source
SHA-256 checksum
How to use checksums
14267262f778c3cc7132cbae556f7ca426c45e64501fd3f309a58a15afd5232e
BLAKE2b-256 checksum
How to use checksums
bc6016442892416c93ff7aaa01eed46f83546c609c67c6921b0a2d04be12f7c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.1 This release

1 release file

0.1.0

1 release file

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