Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wikier/ldpy

LDP Client for Python. Very prototypical, initially written to cross-testing Apache Marmotta reference implementation.
https://github.com/wikier/ldpy

Last synced: 24 days ago
JSON representation

LDP Client for Python. Very prototypical, initially written to cross-testing Apache Marmotta reference implementation.

Awesome Lists containing this project

README

        

# LDPy

[LDP 1.0](https://www.w3.org/TR/ldp/) Client for Python.

Very prototypical client, initially written for cross-testing [Apache Marmotta reference implementation](http://wiki.apache.org/marmotta/LDPImplementationReport).

## Setup

Releases available from PyPI: https://pypi.python.org/pypi/ldpy

pip install ldpy

## Usage

ldpy = ldpy.Client("http://localhost:8080/ldp")
resource = ldpy.create("http://localhost:8080/ldp", open("file.ttl"), "text/turtle", "example")
print ldpy.read(resource)

Available under [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html).