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

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