Skip to main content

Defines a partial order over licenses

Project description

CaLi

Build Status

A python package that defines a partial order over licenses

Introduction

CaLi is a lattice-based model for license orderings. This repository contains a python package that implements this model.

Our code uses the ODRL CaLi ordering ⟨A, DL, CL, C⟩ such that:

  • A is the set of 72 actions of ODRL (e.g., cc:Distribution, cc:ShareAlike),
  • DL is the deontic lattice Undefined <= Permissions <= Duty <= Prohibition (actions can be either permitted, obliged, prohibited or not specified; in this deontic lattice, the undefined status is the least restrictive and the prohibited one the most restrictive),
  • CL and
  • C are sets of constraints.

CaLi online demonstrator Is an exemple of license compliant search engine using CaLi model.

Installation

Installation in a virtualenv is recommended.

Assuming you already have python 3 and pip installed

pip install pycali

this will automatically install rdflib used to manipulate RDF.

Getting started

This section shows how to create a CaLi ordering with ease.

Load a vocabulary


Load a deontic lattice

Define constraints

Load licenses

Instanciate a CaLi Ordering

Browse the CaLi Ordering

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

pycali-0.1.tar.gz (8.0 kB view hashes)

Uploaded Source

Built Distribution

pycali-0.1-py3-none-any.whl (14.0 kB view hashes)

Uploaded Python 3

Supported by

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