Hi
I think i found the answer in the developer section. By using the python api http://docs.basex.org/wiki/Clients here i can then use xquery in python (or any language ) to query the data and handle the return set in which ever manner is appropriate.
I think my reference to pandas disguised my core question of how to return different result formats(json csv etc) from baseX. Which using the api or rest seems the answer to.
Thanks
Sayth
On Mon, 8 Aug 2016, 5:12 PM Christian Grün christian.gruen@gmail.com wrote:
Hi Sayth,
I am afraid I have too little knowledge of Pandas in order to give you satisfactory feedback. In general, please remember that ORM stands for "object relational mapping". This is why nearly all ORM implementations are tailored to work with relational database systems.
Cheers Christian
On Sun, Aug 7, 2016 at 5:39 AM, Sayth Renshaw flebber.crue@gmail.com wrote:
Hi
I am readimg the docs and can use xpath and somewhat xquery, what i can't envision is the workfow one i have data established in xbase.
The parsers in seem logical http://docs.basex.org/wiki/Parsers .
So thinking i have data in my basex db and i want to explore it and
analyze
it in pandas. Pandas accepts a wide range of formats including xml. So i create my xpath query and i see the data i want how should i create an output say json as i could later use that as a data bag in a static
website.
Is this easy to keep and be repeatable?
I asked about ORM because i use django orm is it to create a data feed so that an orm style typical setup can stay updated from basex?
Sorry for the silly conceptual questions, cant get the lay of the land.
Sayth