[basex-talk] Python client and BaseX 8.0

2014-12-29 Thread Marc van Grootel
Hi, Anyone using the python client. I used it before, I think it was with 7.9, where it was still working. But now on a recent snapshot I cannot get my example to work anymore. I will report to maintainer but I would like to know if anyone could confirm having difficulties too. Anything changed i

Re: [basex-talk] Python client and BaseX 8.0

2014-12-29 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am working with Python and Base-X for a while but not through the standard Python bindings. Instead I am using the "pyfilesystem" module for Python for accessing Base-X content through the WebDAV port using standard file operation methods as you kn

Re: [basex-talk] Python client and BaseX 8.0

2014-12-29 Thread Dirk Kirsten
Hello Marc, indeed, there has been changes regarding the authentication in our client/server protocol as outlined by Christian in this mail: https://mailman.uni-konstanz.de/pipermail/basex-talk/2014-December/007832.html. There is also some short documentation to be found here: http://docs.basex.or

Re: [basex-talk] Python client and BaseX 8.0

2014-12-29 Thread Marc van Grootel
Hi Andreas, Maybe that is a better way but I am using the client from within a IPython Notebook which means I can integrate a bit more closely with the notebook interface and do queries and graphing with the data using IPythons great analytics and graphing features.. I had this working with 7.9.

Re: [basex-talk] Python client and BaseX 8.0

2014-12-29 Thread Marc van Grootel
Hi Dirk, I fooled around with the client a bit but I am not familiar enough with the crypto stuff. As Christian mentioned it might be trivial I took a stab at it. However I am a bit stumped on the use of sha256 vs. md5, the docs [1] mentions: {md5(md5(username:realm:password) + nonce)} but Chri

Re: [basex-talk] Python client and BaseX 8.0

2014-12-29 Thread Marc van Grootel
... or maybe there's some client code that is already updated, then I could take a look at that. --Marc

Re: [basex-talk] Python client and BaseX 8.0

2014-12-29 Thread Marc van Grootel
ah, of course, I can always take a look at https://github.com/BaseXdb/basex/blob/master/basex-examples/src/main/java/org/basex/examples/api/BaseXClient.java I'll have another go at it then. --Marc On Mon, Dec 29, 2014 at 4:57 PM, Marc van Grootel wrote: > ... or maybe there's some client code t

Re: [basex-talk] Python client and BaseX 8.0

2014-12-29 Thread Marc van Grootel
Yesss. I think I have it. The salt and sha256 bit threw me off a bit but after a look at the java code it was indeed trivial. I do some more testing with it and also make it work with 7.x and then I submit it to the maintainer. Thanks for playing rubber duck. --Marc On Mon, Dec 29, 2014 at 5:05

Re: [basex-talk] Python client and BaseX 8.0

2014-12-29 Thread Marc van Grootel
Hi, Seems to work fine. At least, I didn't introduce any issues that weren't already there. I didn't find the email address of the maintainer I attach the file to this post. I have checked on recent snapshot of 8.0 and 7.9. If you want me to submit it differently or have me create a pull request

Re: [basex-talk] Python client and BaseX 8.0

2015-01-06 Thread Christian GrĂ¼n
Thanks Marc, I have patched the python code, it should now be compatible with BaseX 8.0. Christian On Mon, Dec 29, 2014 at 5:35 PM, Marc van Grootel wrote: > Hi, > > Seems to work fine. At least, I didn't introduce any issues that > weren't already there. I didn't find the email address of th