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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file pycali-0.1.tar.gz.

File metadata

  • Download URL: pycali-0.1.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for pycali-0.1.tar.gz
Algorithm Hash digest
SHA256 35fce483c3e1198cb6d10767308c8447d67937d105d5b249f4fca4031d013cde
MD5 32d0a52341f24b96cc4cb27a95d4f03f
BLAKE2b-256 0febceedc04551f691b65c879f51e4ce6512a1edc63d6b08577fce3a385af393

See more details on using hashes here.

File details

Details for the file pycali-0.1-py3-none-any.whl.

File metadata

  • Download URL: pycali-0.1-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for pycali-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5204684ba599fbb239214a718a48a2cdac447a6780fd42ce8097827810e88fc0
MD5 004304398327ba3342c0bf1f0c7b5732
BLAKE2b-256 c890bb2738c5a42df73dfd0a514f307abb20e19139b7dcb9b85acd294dd75627

See more details on using hashes here.

Supported by

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