Re: [BangPypers] Query generation engine/library
Yeah that was my fallback option. Was just checking if there is something more sophisticated. Looks like I will have to combine parsing with something like spark or some other code generation engine. -- Vinayak On Tue, Mar 9, 2010 at 7:24 PM, Baishampayan Ghose b.gh...@gmail.com wrote: I am looking for a a way to generate optimised queries in SQL (or SQL-like languages like Hadoop Pig) by chaining clauses such as where, group by, order by etc based on a set of (optimising) rules. Is there any such library in python which would let me do that. Example approach would be create a query object and then use some inbuilt method to generate the actual query before executing it. I will probably have to change whatever alternatives are so a good starting point would be helpful. Take something like Django's ORM or SQLAlchemy and hack it until you are satisfied :) Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers
[BangPypers] Opportunity to author Python cookbooks- Packt Publishing
Hi BangPypers, I am writing to you for Packt Publishing, the publishers computer related books. We are planning to extend our catalogue of cookbooks and are currently inviting Python fanatics interested in writing a cookbook. So, if you love Python and are interested in writing a cookbook, please contact us with your book ideas at aut...@packtpub.com. Even if you do not have a book idea and are simply interested in authoring a cookbook, we are still keen to hear from you. More details about the opportunity are available at: http://authors.packtpub.com/content/python-fanatics-invited-write-packt Thanks Kshipra Singh Author Relationship Manager Packt Publishing www.PacktPub.com Skype: kshiprasingh15 Twitter: http://twitter.com/kshipras Interested in becoming an author? Visit http://authors.packtpub.com for all the information you need about writing for Packt. ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers
Re: [BangPypers] Timezone issues with datetime module.
- kushal gupta kushaln...@gmail.com wrote: Hi, I am facing an issue with datetime module with some timezones (especially day light savings). Given the date and the timezone, I want to convert it to the UTC date and time. May be this is useful: http://pypi.python.org/pypi/pytz Regards, Baiju M ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers
Re: [BangPypers] Feb user group meeting
[.. ] Attached is the outline I used when talking about the packaging in Python. Packaging in Python === Author: Noufal Ibrahim nou...@nibrahim.net.in Date: 2010-03-11 01:04:42 IST Table of Contents = 1 Terms 1.1 Top level libraries 1.2 Tools 1.3 Services 2 Problems with setuptools 3 Related tools 4 Reference materials 4.1 http://guide.python-distribute.org 4.2 Distutils docs 5 Upto date information 6 Helping out 1 Terms 1.1 Top level libraries - Distutils : Standard library simple stuff - Setuptools: Massive improvements to setuptools by Philip Eby - Distribute: Fork of Setuptools by Tarek - Distutils2: Nextgen distutils + setuptools for standard library (Python 3.3) 1.2 Tools -- - easy_install : Installer which is part of setuptools (PJE) - pip : Next gen installer which will be part of distutils2 (Ian Bicking) 1.3 Services - - PyPI : CPAN for Python (Richard Jones[web] + Andrew Kuchling[metadata]) 2 Problems with setuptools === - Semi unmaintained. - No fast enough releases. - No Python 3 support 3 Related tools - Virtualenv - For private pools of packages which can be used for a projects - Ian Bicking's hack - Buildout - More heavy duty for complete isolated, repeatable installations - Extensible using recipes 4 Reference materials == 4.1 [http://guide.python-distribute.org] - - Hitchhikers guide to packaging - [http://bitbucket.org/tarek/hitchhiker-guide-packaging/wiki/Home] to contribute. - [http://guide.python-distribute.org/history.html] for historical information 4.2 Distutils docs --- - [http://docs.python.org/library/distutils.html] (Greg Ward, Anthony Baxter) 5 Upto date information - [http://twitter.com/packagingpig] - Why a pig? 6 Helping out == - Distutils2 : [https://bitbucket.org/tarek/distutils2/] - Distribute : [https://bitbucket.org/tarek/distribute/] - HHG2P : [https://bitbucket.org/tarek/hitchhiker-guide-packaging/] ---This is something I'd like to attend. Please confirm the dates -- Ramdas S +91 9342 583 065 ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers
Re: [BangPypers] Feb user group meeting
On Thu, Mar 11, 2010 at 9:25 AM, Ramdas S ram...@gmail.com wrote: [..] ---This is something I'd like to attend. Please confirm the dates March 6 2010. Last weekend. :) -- ~noufal http://nibrahim.net.in ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers
Re: [BangPypers] [OT] Tools for writing books and publishing as pdfs
Hello Jins Thomas: Jins Thomas wrote: Hi all, This is an off-topic. Would somebody please pass some suggestions on how we can write some e-book, technical in nature. I'm planning to write one book on telecom network domain . My main motive is to learn some more solid things while writing this book. So i was just thinking there is any good way by which we write this and publish as pdfs in the internet. I was curious how our free python tutorials being written, like 'A byte of python' , ThinkCSPY etc. Shameless plug for LaTex They use mainly LaTex- the advantage being that you have print quality PDFs,PS, and HTML from the same source. So, if you have used LaTex, it is a good bet. If you haven't, you may want to explore the option. I have a feeling, you might just fall in love with it :) /Shameless plug for LaTex Another option is to look at DocBook. (which I just happen to know of). HTH, Amit Cheers Jins Thomas ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers -- Journal: http://amitksaha.wordpress.com ยต-blog: http://twitter.com/amitsaha IRC: cornucopic on #scheme, #lisp, #math, #linux ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers
Re: [BangPypers] [OT] Tools for writing books and publishing as pdfs
On Thu, Mar 11, 2010 at 12:13 PM, Jins Thomas jinstho...@gmail.com wrote: Hi all, This is an off-topic. Would somebody please pass some suggestions on how we can write some e-book, technical in nature. I'm planning to write one book on telecom network domain . My main motive is to learn some more solid things while writing this book. So i was just thinking there is any good way by which we write this and publish as pdfs in the internet. I was curious how our free python tutorials being written, like 'A byte of python' , ThinkCSPY etc. In the Python world, I would say restructuredText, docutils, Sphinx in that order. Cheers Jins Thomas ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers -- --Anand ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers
Re: [BangPypers] [OT] Tools for writing books and publishing as pdfs
On Thu, Mar 11, 2010 at 12:13 PM, Jins Thomas jinstho...@gmail.com wrote: Hi all, This is an off-topic. Would somebody please pass some suggestions on how we can write some e-book, technical in nature. I'm planning to write one book on telecom network domain . My main motive is to learn some more solid things while writing this book. So i was just thinking there is any good way by which we write this and publish as pdfs in the internet. I was curious how our free python tutorials being written, like 'A byte of python' , ThinkCSPY etc. http://us.pycon.org/2010/conference/schedule/event/69/ might be relevant to what you're looking for. One thing to not lose sight of is the fact that with books, content is much more important than style and presentation. I'd suggest you focus on that and stick with any technology that you're comfortable with. -- ~noufal http://nibrahim.net.in ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers
Re: [BangPypers] [OT] Tools for writing books and publishing as pdfs
On Thursday 11 Mar 2010 12:21:31 pm Anand Balachandran Pillai wrote: Would somebody please pass some suggestions on how we can write some e-book, technical in nature. I'm planning to write one book on telecom network domain . My main motive is to learn some more solid things while writing this book. So i was just thinking there is any good way by which we write this and publish as pdfs in the internet. I was curious how our free python tutorials being written, like 'A byte of python' , ThinkCSPY etc. In the Python world, I would say restructuredText, docutils, Sphinx in that order. the whole point is: how are you going to write the book? Collaborative open source effort with version control - or just your own thing? The above recomendations are for the first, and for the second, use any word/text processor you want. -- regards Kenneth Gonsalves Senior Associate NRC-FOSS http://certificate.nrcfoss.au-kbc.org.in ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers
Re: [BangPypers] [OT] Tools for writing books and publishing as pdfs
Jins Thomas wrote: Hi all, This is an off-topic. Would somebody please pass some suggestions on how we can write some e-book, technical in nature. I'm planning to write one book on telecom network domain . My main motive is to learn some more solid things while writing this book. So i was just thinking there is any good way by which we write this and publish as pdfs in the internet. I was curious how our free python tutorials being written, like 'A byte of python' , ThinkCSPY etc. Recommend LaTex. I tried using DocBook, but all that XML love caused a minor haemorrhage, YMMV ofcourse. -srp ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers
Re: [BangPypers] [OT] Tools for writing books and publishing as pdfs
You can take a look at LyX - http://www.lyx.org/. It's a document processor that uses LaTeX in the background. Makes using LaTeX bit easier. - Jaideep On Thu, Mar 11, 2010 at 1:01 PM, Saju Pillai saju.pil...@gmail.com wrote: Jins Thomas wrote: Hi all, This is an off-topic. Would somebody please pass some suggestions on how we can write some e-book, technical in nature. I'm planning to write one book on telecom network domain . My main motive is to learn some more solid things while writing this book. So i was just thinking there is any good way by which we write this and publish as pdfs in the internet. I was curious how our free python tutorials being written, like 'A byte of python' , ThinkCSPY etc. Recommend LaTex. I tried using DocBook, but all that XML love caused a minor haemorrhage, YMMV ofcourse. -srp ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers -- Jaideep Dhok ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers
Re: [BangPypers] [OT] Tools for writing books and publishing as pdfs
On Thu, Mar 11, 2010 at 12:13 PM, Jins Thomas jinstho...@gmail.com wrote: Hi all, This is an off-topic. Would somebody please pass some suggestions on how we can write some e-book, technical in nature. I'm planning to write one book on telecom network domain . My main motive is to learn some more solid things while writing this book. So i was just thinking there is any good way by which we write this and publish as pdfs in the internet. I was curious how our free python tutorials being written, like 'A byte of python' , ThinkCSPY etc. As other have suggested - Latex would be ideal. It is also possible to write using a wiki. There are some plugins for mediawiki which can help you convert to PDF but the output would not be as good as Latex. -- Vinayak ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers