<div dir="ltr">It answers my question.<div><br></div><div>I would like to see how this goes down in the Python community so do you have links to blogs and stuff where the announcement has been made.</div><div><br></div><div>My 2 cents would have been to release and not mention anything about XQuery or JSONiq</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 21, 2016 at 1:59 PM, daniela florescu <span dir="ltr"><<a href="mailto:dflorescu@me.com" target="_blank">dflorescu@me.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Ihe,<br><div><br></div><div>Based on my experience, lots of data processing people use Python those days, yet they are not helped<div>much by the available tools in their ecosystem.</div><div><br></div><div>PythonQL is to Python what LinQ was to C#, that’s all.</div><div><br></div><div>A simple and more natural way to run queries directly integrated in your normal programming and</div><div>a replacement to the horrible scripts that most people need to write today for data manipulation.</div><div><br></div><div>Now, is this “XQuery" !? Nope. </div><div><br></div><div>The FLWOR expressions of XQuery have nothing to do with XML, neither syntactically, nor semantically.</div><div><br></div><div>They are just a generalized, cleaner and more powerful form of data comprehension , out of which SQL’s SELECT-FROM-WHERE</div><div>is an example, but not the only one. (Python has it’s now form of comprehension for example). </div><div><br></div><div>In fact in PhytonQL we tried to avoid what we perceived as serious problems with the adoption of XQuery.</div><div><br></div><div>For example we made the following syntactic choices (good or bad, we’ll see…):</div><div><br></div><div>1. FOR and FROM are synonyms. Choose whatever you like the best…..</div><div>2. IF and WHERE are synonyms. Again, choose whatever you like the best…..</div><div>3. We avoided the (over)loaded RETURN keyword of XQuery and called it SELECT like in SQL.</div><div>4. We put the SELECT clause first, like in SQL.</div><div><br></div><div>But other then this, it’s just 100% FLWOr expression, with windowing, grouping, etc.</div><div><br></div><div>Does this make sense ?</div><div><br></div><div>Best regards</div><div>Dana</div><div><div class="h5"><div><br></div><div><br></div><div><br><div><br></div><div><br></div><div><br></div><div><br><div><div><div><div><div><blockquote type="cite"><div>On Oct 21, 2016, at 10:46 AM, Ihe Onwuka <<a href="mailto:ihe.onwuka@gmail.com" target="_blank">ihe.onwuka@gmail.com</a>> wrote:</div><br class="m_-6937558837907215211Apple-interchange-newline"><div><div dir="ltr">Is the big thing here integration with the Python ecosystem? <div>Otherwise what is this offering to people who are not XQueryphobic.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 21, 2016 at 1:13 PM, daniela florescu <span dir="ltr"><<a href="mailto:dflorescu@me.com" target="_blank">dflorescu@me.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><span style="color:rgb(51,51,51);font-family:Helvetica,Arial,sans-serif;font-size:13px;white-space:pre-line;background-color:rgb(255,255,255)">For all exasperated data scientists writing mind bending, complicated Python scrips to process their data: the power of complex, </span><div><span style="color:rgb(51,51,51);font-family:Helvetica,Arial,sans-serif;font-size:13px;white-space:pre-line;background-color:rgb(255,255,255)">yet familiar, compact and optimizable SQL queries directly in Python, running on structured as well as unstructured data (XML, JSON).</span></div><div><span style="color:rgb(51,51,51);font-family:Helvetica,Arial,sans-serif;font-size:13px;white-space:pre-line;background-color:rgb(255,255,255)"><br></span></div><div><span style="background-color:rgb(255,255,255);white-space:pre-line"><font color="#333333" face="Helvetica, Arial, sans-serif" size="2"><a href="http://www.pythonql.org/" target="_blank">http://www.pythonql.org</a></font></span></div><div><span style="background-color:rgb(255,255,255);white-space:pre-line"><font color="#333333" face="Helvetica, Arial, sans-serif" size="2"><br></font></span></div><div><font color="#333333" face="Helvetica, Arial, sans-serif" size="2"><span style="background-color:rgb(255,255,255)"><span style="white-space:pre-line">Well, actually it’s not SQL per se. It’s the better, cleaner and more powerful version of SELECT-FROM-WHERE,…. its the</span></span></font></div><div><font color="#333333" face="Helvetica, Arial, sans-serif" size="2"><span style="background-color:rgb(255,255,255)"><span style="white-space:pre-line">power of XQuery’s FLWOR expressions, directly usable as an expression in Python — together with any other expected goodies,</span></span></font></div><div><font color="#333333" face="Helvetica, Arial, sans-serif" size="2"><span style="background-color:rgb(255,255,255)"><span style="white-space:pre-line">complex path expressions, etc.</span></span></font></div><div><font color="#333333" face="Helvetica, Arial, sans-serif" size="2"><span style="background-color:rgb(255,255,255)"><span style="white-space:pre-line"><br></span></span></font></div><div><font color="#333333" face="Helvetica, Arial, sans-serif" size="2"><span style="background-color:rgb(255,255,255)"><span style="white-space:pre-line">Enjoy.</span></span></font></div><div><font color="#333333" face="Helvetica, Arial, sans-serif" size="2"><span style="background-color:rgb(255,255,255)"><span style="white-space:pre-line"><br></span></span></font></div><div><font color="#333333" face="Helvetica, Arial, sans-serif" size="2"><span style="background-color:rgb(255,255,255)"><span style="white-space:pre-line">Best regards</span></span></font></div><div><font color="#333333" face="Helvetica, Arial, sans-serif" size="2"><span style="background-color:rgb(255,255,255)"><span style="white-space:pre-line">Dana</span></span></font></div><div><font color="#333333" face="Helvetica, Arial, sans-serif" size="2"><span style="background-color:rgb(255,255,255)"><span style="white-space:pre-line"><br></span></span></font></div><div><font color="#333333" face="Helvetica, Arial, sans-serif" size="2"><span style="background-color:rgb(255,255,255)"><span style="white-space:pre-line"><br></span></span></font></div></div><br>______________________________<wbr>_________________<br>
<a href="mailto:talk@x-query.com" target="_blank">talk@x-query.com</a><br>
<a href="http://x-query.com/mailman/listinfo/talk" rel="noreferrer" target="_blank">http://x-query.com/mailman/lis<wbr>tinfo/talk</a><br></blockquote></div><br></div>
</div></blockquote></div><br></div></div></div></div></div></div></div></div></div></div></blockquote></div><br></div>