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

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.1.tar.gz (36.5 kB view details)

Uploaded Source

Built Distribution

tripper-0.2.1-py3-none-any.whl (27.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tripper-0.2.1.tar.gz
Algorithm Hash digest
SHA256 d50a0e26d8cb1421199224a971f8aacc25cb7a6fe4c0786643649df09e44f9b2
MD5 624869c82dbe6d7afa9ce0c66843f367
BLAKE2b-256 877aba90eadc371e4487c7a1a5a329aebb083e799e6c91deccaa74bda4e67802

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tripper-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5b75cb4845883a1f4d4287618ffc592ccda2d21b4290b15090ebb66e4743c193
MD5 934105fc9c4300e69e3cc091df909a99
BLAKE2b-256 6086de383d0b65026f41204f7e42da26c202811bcb70b91ca2657f88201be1ff

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