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