Hello all,
I want to use BaseX in a python environment and found PyBaseX by Luca Lilianas. Unfortunately, the email address associated with github does not seem to exist.
What is not clear to me how the url has to be formatted. I tried 'http://localhost:1984:/rest/' but got timeouts.
I started a basexserver (with default port/user/password) and I can create and work with my example database with the the textual client from BaseX. But I could not find out how I have to format the url parameter so that the python interface works.
I created a client by c = BaseXClient('http://localhost:1984:/rest/ ',default_database=None,user='admin',password='admin') c.connect c.create_database('TestName')
The last line hangs in socket read.
The log file does not show anything of that.
Furthermore, it seems, that the current code in github is python2 specific, or maybe some package it depends on. I remember that during installation on python3 something broke, so I am using python2 in the moment. Any plans to port to python3?
Regards,
Andreas
basex-talk@mailman.uni-konstanz.de