Skip to main content

A triplestore wrapper for Python.

Project description

Tripper

Triplestore wrapper for Python providing a simple and consistent interface to a range of triplestore backends - the best ride when handling any triplestore.

PyPI Documentation CI tests DOI

Basic concepts

Tripper provides a simple and consistent interface to a range of triplestore backends. It strives for simplicity and is modelled after rdflib (with a few simplifications).

In Tripper:

  • All IRIs are represented by Python strings. Example: "http://emmo.info/emmo#Atom"

  • Blank nodes are strings starting with "_:". Example: "_:bnode1"

  • Literals are constructed with tripper.Literal. Example: tripper.Literal(3.14, datatype=XSD.float)

To make it easy to work with IRIs, provide Tripper a set of pre-defined namespaces, like XSD.float. New namespaces can be defined with the tripper.Namespace class.

A triplestore wrapper is created with the tripper.Triplestore class.

Documentation

Installation

Tripper has by itself no dependencies outside the standard library, but the triplestore backends may have specific dependencies.

The package can be installed from PyPI using pip:

pip install tripper

License and copyright

All files in this repository are licensed under the MIT license. If not stated otherwise in the top of the files, they have copyright © 2022 SINTEF.

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

tripper-0.2.7.tar.gz (67.8 kB view details)

Uploaded Source

Built Distribution

tripper-0.2.7-py3-none-any.whl (44.7 kB view details)

Uploaded Python 3

File details

Details for the file tripper-0.2.7.tar.gz.

File metadata

  • Download URL: tripper-0.2.7.tar.gz
  • Upload date:
  • Size: 67.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for tripper-0.2.7.tar.gz
Algorithm Hash digest
SHA256 a2073bd5ae67cb751421e90337652fa67819ee05f1ad285405321a85604e4da0
MD5 d0c96e29b6b46f449663553186b2e2d6
BLAKE2b-256 ead3703b41c3c63f7648d6431248874f45f1c09b83b27f22de38439ab8087eaf

See more details on using hashes here.

File details

Details for the file tripper-0.2.7-py3-none-any.whl.

File metadata

  • Download URL: tripper-0.2.7-py3-none-any.whl
  • Upload date:
  • Size: 44.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for tripper-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 90a4eb88279ef31d8ac4b535060a5815763c8a8cc7416cccea94c614e8ef54f8
MD5 702109627d3e995975ea0aaa73b0ef05
BLAKE2b-256 0981d727930c4c0dabfb5c6787c5e177e08125a999156d0b5efb08f36ad64077

See more details on using hashes here.

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