From apenguinlinux at gmail.com Mon Aug 4 06:57:58 2014 From: apenguinlinux at gmail.com (Deepak Tripathi) Date: Mon, 4 Aug 2014 10:27:58 +0530 Subject: [BangPypers] How to Distribute Commercial Python Applications Message-ID: Hi, How to distribute commercial python application without giving source code to the customer, dev platform in Unix (FreeBSD), Python2.x. -- -- |----------------------------------| | Deepak Tripathi | | irc: irc.debian.org | | nick: deepak, gnumonk | | web: http://www.gnumonk.com | | E3 71V3 8Y C063(we live by code) | |----------------------------------| From skb655952 at gmail.com Mon Aug 4 07:02:56 2014 From: skb655952 at gmail.com (sayantan bhattacharya) Date: Mon, 4 Aug 2014 10:32:56 +0530 Subject: [BangPypers] How to Distribute Commercial Python Applications In-Reply-To: References: Message-ID: I haven't personally written any code that obfuscates the main source code, but I think - you can search in those lines. An example of the same is the youtube-dl script. It runs fine but the data could not be viewed - you can check out their code/repository for any information on the way the code is being obfuscated. On Mon, Aug 4, 2014 at 10:27 AM, Deepak Tripathi wrote: > Hi, > How to distribute commercial python application without giving source code > to the customer, dev platform in Unix (FreeBSD), Python2.x. > > -- > > -- > |----------------------------------| > | Deepak Tripathi | > | irc: irc.debian.org | > | nick: deepak, gnumonk | > | web: http://www.gnumonk.com | > | E3 71V3 8Y C063(we live by code) | > |----------------------------------| > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > -- Sayantan Bhattacharya From noufal at nibrahim.net.in Mon Aug 4 07:08:00 2014 From: noufal at nibrahim.net.in (Noufal Ibrahim KV) Date: Mon, 04 Aug 2014 10:38:00 +0530 Subject: [BangPypers] How to Distribute Commercial Python Applications In-Reply-To: (Deepak Tripathi's message of "Mon, 4 Aug 2014 10:27:58 +0530") References: Message-ID: <878un46dvz.fsf@sanitarium.localdomain> On Mon, Aug 04 2014, Deepak Tripathi wrote: > Hi, > How to distribute commercial python application without giving source code > to the customer, dev platform in Unix (FreeBSD), Python2.x. [...] This is what I did. http://stackoverflow.com/questions/5661385/packaging-and-shipping-a-python-library-and-scripts-the-professional-way/5731719#5731719 This was more than just a "python application" though. It had several dependencies and the whole setup ended up becoming, in retrospect, something like a poor man's docker. -- Cordially, Noufal http://nibrahim.net.in From madhav.bnk at gmail.com Mon Aug 4 08:03:26 2014 From: madhav.bnk at gmail.com (B.Nanda Kishore) Date: Mon, 4 Aug 2014 11:33:26 +0530 Subject: [BangPypers] How to Distribute Commercial Python Applications In-Reply-To: References: Message-ID: We use bdist_egg always to ship python packages. It ships just pyc files. https://pythonhosted.org/an_example_pypi_project/setuptools.html On Mon, Aug 4, 2014 at 10:27 AM, Deepak Tripathi wrote: > How to distribute commercial python application without giving source code > to the customer, dev platform in Unix (FreeBSD), Python2.x. > Regards, Nanda From kushaldas at gmail.com Mon Aug 4 08:17:54 2014 From: kushaldas at gmail.com (Kushal Das) Date: Mon, 4 Aug 2014 11:47:54 +0530 Subject: [BangPypers] Mailing list etiquette Message-ID: Good old presentation [1] from mbuf. Please take time to read and understand. [1] http://www.shakthimaan.com/downloads/glv/presentations/mailing-list-etiquette.pdf Kushal -- CPython Core Developer http://fedoraproject.org http://kushaldas.in From rajiv.m1991 at gmail.com Mon Aug 4 09:43:19 2014 From: rajiv.m1991 at gmail.com (Rajiv Subramanian M) Date: Mon, 4 Aug 2014 13:13:19 +0530 Subject: [BangPypers] Mailing list etiquette Message-ID: Good one! Thanks for sharing. -- Rajiv M Software Engineer. *DoubleSpring Media (P) Ltd.* #15/1 Robertson Road, Frazer Town, Bangalore 05, IND. Office: +91-80-40917126, Mobile: +91 7411 129611, Skype: rajiv.m1991 , Web: www.doublespring.com. From jeffjosejeff at gmail.com Mon Aug 4 09:59:36 2014 From: jeffjosejeff at gmail.com (Jeffrey Jose) Date: Mon, 4 Aug 2014 13:29:36 +0530 Subject: [BangPypers] Mailing list etiquette In-Reply-To: References: Message-ID: I agree with almost all of it, except for these 2. 1. No HTML emails 2. No attachments. These are surely relics from the past. I dont see any reason why these need to be valid anymore. If your answer to this is "my favorite ncurses client cant read it" it doesnt count. -jeff On Mon, Aug 4, 2014 at 11:47 AM, Kushal Das wrote: > Good old presentation [1] from mbuf. Please take time to read and > understand. > > [1] > http://www.shakthimaan.com/downloads/glv/presentations/mailing-list-etiquette.pdf > > Kushal > -- > CPython Core Developer > http://fedoraproject.org > http://kushaldas.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > From jinsthomas at gmail.com Mon Aug 4 10:25:49 2014 From: jinsthomas at gmail.com (Jins Thomas) Date: Mon, 4 Aug 2014 13:55:49 +0530 Subject: [BangPypers] Mobile App Development using Python Message-ID: Hi I quickly checked archive, Couldn't find much... Humble request to some experts to throw some lights on Mobile App Development using Python Thanks Jins Thomas From noufal at nibrahim.net.in Mon Aug 4 10:53:14 2014 From: noufal at nibrahim.net.in (Noufal Ibrahim KV) Date: Mon, 04 Aug 2014 14:23:14 +0530 Subject: [BangPypers] Mailing list etiquette In-Reply-To: (Jeffrey Jose's message of "Mon, 4 Aug 2014 13:29:36 +0530") References: Message-ID: <87zjfk4ow5.fsf@sanitarium.localdomain> On Mon, Aug 04 2014, Jeffrey Jose wrote: > I agree with almost all of it, except for these 2. > > 1. No HTML emails I don't like HTML emails because usual textual matter doesn't need it. It simply bloats things and if the renderer your client is using doesn't have some feature that the sender uses, it'll appear broken. > 2. No attachments. This makes sense for a list because, as I understand it, the list server has to send a copy of the attachment to everyone on the list. It's an avoidable expense. A lot simpler to send a link to something on dropbox or somewhere. [...] -- Cordially, Noufal http://nibrahim.net.in From nitin.nitp at gmail.com Mon Aug 4 11:08:48 2014 From: nitin.nitp at gmail.com (Nitin Kumar) Date: Mon, 4 Aug 2014 14:38:48 +0530 Subject: [BangPypers] how to override sys.stdin Message-ID: Hi All, is there a way i can override raw_input or input function. I tried with below code but getting error import sys class xyz(object): def readline(self): print 'from fn readline',var sys.stdin = xyz >>> raw_input('hi:') hi: Traceback (most recent call last): File "", line 1, in raw_input('hi:') TypeError: unbound method readline() must be called with xyz instance as first argument (got nothing instead) overriding sys.stdout is working fine. Nitin K From dhruvbaldawa at gmail.com Mon Aug 4 11:14:04 2014 From: dhruvbaldawa at gmail.com (Dhruv Baldawa) Date: Mon, 4 Aug 2014 14:44:04 +0530 Subject: [BangPypers] how to override sys.stdin In-Reply-To: References: Message-ID: On Mon, Aug 4, 2014 at 2:38 PM, Nitin Kumar wrote: > def readline(self): > print 'from fn readline',var > Where are you getting 'var' from? Shouldn't the method read as def readline(self, var)? -- Dhruv Baldawa (http://www.dhruvb.com) From saurabh.minni at gmail.com Mon Aug 4 11:15:55 2014 From: saurabh.minni at gmail.com (Saurabh Minni) Date: Mon, 4 Aug 2014 14:45:55 +0530 Subject: [BangPypers] Mobile App Development using Python In-Reply-To: References: Message-ID: You should have a look at Kivy [http://kivy.org/] A lot of things are detailed in there. Thanks, Saurabh On Mon, Aug 4, 2014 at 1:55 PM, Jins Thomas wrote: > Hi > > I quickly checked archive, Couldn't find much... > > Humble request to some experts to throw some lights on Mobile App > Development using Python > > > > Thanks > Jins Thomas > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > From kushaldas at gmail.com Mon Aug 4 11:17:25 2014 From: kushaldas at gmail.com (Kushal Das) Date: Mon, 4 Aug 2014 14:47:25 +0530 Subject: [BangPypers] Mailing list etiquette In-Reply-To: References: Message-ID: On Mon, Aug 4, 2014 at 1:29 PM, Jeffrey Jose wrote: > I agree with almost all of it, except for these 2. > > 1. No HTML emails > 2. No attachments. > Most of the FOSS project mailing lists follow these simple rules. > These are surely relics from the past. I dont see any reason why these need > to be valid anymore. If your answer to this is "my favorite ncurses client > cant read it" it doesnt count. > Most of the developers in all of the FOSS world count these. Nothing more to add to this thread. Kushal -- CPython Core Developer http://fedoraproject.org http://kushaldas.in From noufal at nibrahim.net.in Mon Aug 4 11:22:49 2014 From: noufal at nibrahim.net.in (Noufal Ibrahim KV) Date: Mon, 04 Aug 2014 14:52:49 +0530 Subject: [BangPypers] how to override sys.stdin In-Reply-To: (Nitin Kumar's message of "Mon, 4 Aug 2014 14:38:48 +0530") References: Message-ID: <87lhr44niu.fsf@sanitarium.localdomain> On Mon, Aug 04 2014, Nitin Kumar wrote: > Hi All, > > is there a way i can override raw_input or input function. Create a function like def my_input(prompt): # Your code here and then assign it to raw_input raw_input = my_input. [...] -- Cordially, Noufal http://nibrahim.net.in From parul8ue at gmail.com Mon Aug 4 11:33:59 2014 From: parul8ue at gmail.com (Parul Gupta) Date: Mon, 4 Aug 2014 15:03:59 +0530 Subject: [BangPypers] Flipped workshop on Webdev with Python/Django Message-ID: Hi all, Bangalore Django User group and SlideRule are jointly organizing a workshop for learning web-development with Python and Django Web development needs a vast set of skills, including databases, frontend, backend and dev tools, and it is hard to teach it effectively in a 3 hour workshop. Hence we want to use the flipped classroom methodology. You will get access to a curriculum of online courses prepared by experts. Participants will follow the course materials (video lectures, readings etc) etc online in a self-paced format. 8 great mentors will help if you have any doubts, and also do code reviews and give you suggestions for improvements. You can also interact with other learners online. This will culminate in a 3-5 hours in-class workshop in Bangalore where we will build and deploy a full Django app. The workshop is heavily discounted to a price of Rs 750 and covers lifetime access to a Rs 6000 online Django course, mentor support and the cost of logistics in the final in-class session. Limited to 50 participants. If interested, please see more details and register here . Hope some of you will find this useful. Cheers Parul From nitin.nitp at gmail.com Mon Aug 4 11:35:59 2014 From: nitin.nitp at gmail.com (Nitin Kumar) Date: Mon, 4 Aug 2014 15:05:59 +0530 Subject: [BangPypers] how to override sys.stdin In-Reply-To: References: Message-ID: thats a typo error. in simple term my question would be: How to override sys.stdin. Nitin K On Mon, Aug 4, 2014 at 2:44 PM, Dhruv Baldawa wrote: > On Mon, Aug 4, 2014 at 2:38 PM, Nitin Kumar wrote: > > > def readline(self): > > print 'from fn readline',var > > > > Where are you getting 'var' from? Shouldn't the method read as def > readline(self, var)? > > > > -- > Dhruv Baldawa > (http://www.dhruvb.com) > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > From noufal at nibrahim.net.in Mon Aug 4 11:38:01 2014 From: noufal at nibrahim.net.in (Noufal Ibrahim KV) Date: Mon, 04 Aug 2014 15:08:01 +0530 Subject: [BangPypers] how to override sys.stdin In-Reply-To: (Nitin Kumar's message of "Mon, 4 Aug 2014 15:05:59 +0530") References: Message-ID: <87fvhc4mti.fsf@sanitarium.localdomain> On Mon, Aug 04 2014, Nitin Kumar wrote: > thats a typo error. > > in simple term my question would be: How to override sys.stdin. [...] The StringIO module gives you file like objects into which you can put data. They might work as substitues for sys.std* -- Cordially, Noufal http://nibrahim.net.in From rohitchormale at gmail.com Mon Aug 4 12:18:25 2014 From: rohitchormale at gmail.com (Rohit Chormale) Date: Mon, 4 Aug 2014 15:48:25 +0530 Subject: [BangPypers] how to override sys.stdin In-Reply-To: <87fvhc4mti.fsf@sanitarium.localdomain> References: <87fvhc4mti.fsf@sanitarium.localdomain> Message-ID: Hi Nitin, Do u mean redirecting Standard IO streams? On Mon, Aug 4, 2014 at 3:08 PM, Noufal Ibrahim KV wrote: > On Mon, Aug 04 2014, Nitin Kumar wrote: > > > thats a typo error. > > > > in simple term my question would be: How to override sys.stdin. > > [...] > > The StringIO module gives you file like objects into which you can put > data. They might work as substitues for sys.std* > > -- > Cordially, > Noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > From anilkumar.tammineni at gmail.com Mon Aug 4 12:22:33 2014 From: anilkumar.tammineni at gmail.com (Anil Tammineni) Date: Mon, 4 Aug 2014 15:52:33 +0530 Subject: [BangPypers] Creating a Password protected Excel sheet Message-ID: Hi All, I want to write data into an excel file and make this excel file password protected. I am able to read/write data in to this excel file (.xlsx) using openpyxl. How can we make this document password protected using openpyxl or any other library? Any pointer would be helpful. Thanks, Anil From rohitchormale at gmail.com Mon Aug 4 12:26:30 2014 From: rohitchormale at gmail.com (Rohit Chormale) Date: Mon, 4 Aug 2014 15:56:30 +0530 Subject: [BangPypers] how to override sys.stdin In-Reply-To: References: <87fvhc4mti.fsf@sanitarium.localdomain> Message-ID: It might work, sys.stdin = open(sys.stdin.fileno(), 'r', ) or Simply for replacing iostream, sys.stdin = open( ,'r') On Mon, Aug 4, 2014 at 3:48 PM, Rohit Chormale wrote: > > Hi Nitin, > > Do u mean redirecting Standard IO streams? > > > On Mon, Aug 4, 2014 at 3:08 PM, Noufal Ibrahim KV > wrote: > >> On Mon, Aug 04 2014, Nitin Kumar wrote: >> >> > thats a typo error. >> > >> > in simple term my question would be: How to override sys.stdin. >> >> [...] >> >> The StringIO module gives you file like objects into which you can put >> data. They might work as substitues for sys.std* >> >> -- >> Cordially, >> Noufal >> http://nibrahim.net.in >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> https://mail.python.org/mailman/listinfo/bangpypers >> > > From gora at mimirtech.com Mon Aug 4 16:24:07 2014 From: gora at mimirtech.com (Gora Mohanty) Date: Mon, 4 Aug 2014 19:54:07 +0530 Subject: [BangPypers] Mobile App Development using Python In-Reply-To: References: Message-ID: On 4 August 2014 14:45, Saurabh Minni wrote: > > You should have a look at Kivy [http://kivy.org/] > > A lot of things are detailed in there. Seconded. Incidentally, one of the core Kivy developers is from Delhi, and frequents the Delhi/NCR Python group. Regards, Gora From anandology at gmail.com Mon Aug 4 16:43:11 2014 From: anandology at gmail.com (Anand Chitipothu) Date: Mon, 4 Aug 2014 20:13:11 +0530 Subject: [BangPypers] Mailing list etiquette In-Reply-To: <87zjfk4ow5.fsf@sanitarium.localdomain> References: <87zjfk4ow5.fsf@sanitarium.localdomain> Message-ID: On Mon, Aug 4, 2014 at 2:23 PM, Noufal Ibrahim KV wrote: > On Mon, Aug 04 2014, Jeffrey Jose wrote: > > > I agree with almost all of it, except for these 2. > > > > 1. No HTML emails > > I don't like HTML emails because usual textual matter doesn't need > it. It simply bloats things and if the renderer your client is using > doesn't have some feature that the sender uses, it'll appear broken. > I agree. We don't need HTML emails. > 2. No attachments. > > This makes sense for a list because, as I understand it, the list server > has to send a copy of the attachment to everyone on the list. It's an > avoidable expense. A lot simpler to send a link to something on dropbox > or somewhere. > Not only that, it is a pain to download something and open it in some application just to know what is inside. It is a lot better to send a link instead of sending attachments. Anand From jeffjosejeff at gmail.com Mon Aug 4 16:57:11 2014 From: jeffjosejeff at gmail.com (Jeffrey Jose) Date: Mon, 4 Aug 2014 20:27:11 +0530 Subject: [BangPypers] Mailing list etiquette In-Reply-To: References: <87zjfk4ow5.fsf@sanitarium.localdomain> Message-ID: On Mon, Aug 4, 2014 at 8:13 PM, Anand Chitipothu wrote: > > On Mon, Aug 4, 2014 at 2:23 PM, Noufal Ibrahim KV > wrote: > >> On Mon, Aug 04 2014, Jeffrey Jose wrote: >> >> > I agree with almost all of it, except for these 2. >> > >> > 1. No HTML emails >> >> I don't like HTML emails because usual textual matter doesn't need >> it. It simply bloats things and if the renderer your client is using >> doesn't have some feature that the sender uses, it'll appear broken. >> > > I agree. We don't need HTML emails. > ?Interesting point. Although along the expected lines. > > > 2. No attachments. >> >> This makes sense for a list because, as I understand it, the list server >> has to send a copy of the attachment to everyone on the list. It's an >> avoidable expense. A lot simpler to send a link to something on dropbox >> or somewhere. >> > > Not only that, it is a pain to download something and open it in some > application just to know what is inside. It is a lot better to send a link > instead of sending attachments. > > ?I hate just as much as you to touch the mouse when I'm working, but that said I wonder in the rapidly changing new world of development (read: github) how much of these "we're used to this way, so lets continue that" will survive. email etiquette are about respect. Respect to the person receiving your email. I get it. That said, I do think the whole mailing list culture will go away in the future. I dont know what it is, but maybe someone reading this will create a better (and more relevant) alternative. > Anand > From jeffjosejeff at gmail.com Mon Aug 4 17:02:01 2014 From: jeffjosejeff at gmail.com (Jeffrey Jose) Date: Mon, 4 Aug 2014 20:32:01 +0530 Subject: [BangPypers] Mailing list etiquette In-Reply-To: <87zjfk4ow5.fsf@sanitarium.localdomain> References: <87zjfk4ow5.fsf@sanitarium.localdomain> Message-ID: On Mon, Aug 4, 2014 at 2:23 PM, Noufal Ibrahim KV wrote: > On Mon, Aug 04 2014, Jeffrey Jose wrote: > > > I agree with almost all of it, except for these 2. > > > > 1. No HTML emails > > I don't like HTML emails because usual textual matter doesn't need > it. It simply bloats things and if the renderer your client is using > doesn't have some feature that the sender uses, it'll appear broken. > ?I'm curious how do you read your mails? Noufal, if my memory serves me right you're an emacs person. So emacs perhaps? I'm in the vim camp, so I use my browser for email.? > > > 2. No attachments. > > This makes sense for a list because, as I understand it, the list server > has to send a copy of the attachment to everyone on the list. It's an > avoidable expense. A lot simpler to send a link to something on dropbox > or somewhere. > [...] > > > ?.. and since I use browser, I appreciate an email that's nicely formatted. Yes, that includes contextual information with embedded images.? > -- > Cordially, > Noufal > http://nibrahim.net.in > From jeffjosejeff at gmail.com Mon Aug 4 17:03:34 2014 From: jeffjosejeff at gmail.com (Jeffrey Jose) Date: Mon, 4 Aug 2014 20:33:34 +0530 Subject: [BangPypers] Mailing list etiquette In-Reply-To: References: <87zjfk4ow5.fsf@sanitarium.localdomain> Message-ID: On Mon, Aug 4, 2014 at 8:13 PM, Anand Chitipothu wrote: > > On Mon, Aug 4, 2014 at 2:23 PM, Noufal Ibrahim KV > wrote: > >> On Mon, Aug 04 2014, Jeffrey Jose wrote: >> >> > I agree with almost all of it, except for these 2. >> > >> > 1. No HTML emails >> >> I don't like HTML emails because usual textual matter doesn't need >> it. It simply bloats things and if the renderer your client is using >> doesn't have some feature that the sender uses, it'll appear broken. >> > > I agree. We don't need HTML emails. > > > 2. No attachments. >> >> This makes sense for a list because, as I understand it, the list server >> has to send a copy of the attachment to everyone on the list. It's an >> avoidable expense. A lot simpler to send a link to something on dropbox >> or somewhere. >> > > Not only that, it is a pain to download something and open it in some > application just to know what is inside. It is a lot better to send a link > instead of sending attachments. > ?Anand, how do you consume your emails? I get my emails on my phones as well, in gmail, which has a preview feature in both desktop and on mobile.? > > Anand > From anandology at gmail.com Mon Aug 4 17:36:01 2014 From: anandology at gmail.com (Anand Chitipothu) Date: Mon, 4 Aug 2014 21:06:01 +0530 Subject: [BangPypers] Mailing list etiquette In-Reply-To: References: <87zjfk4ow5.fsf@sanitarium.localdomain> Message-ID: > > Not only that, it is a pain to download something and open it in some >> application just to know what is inside. It is a lot better to send a link >> instead of sending attachments. >> > > ?Anand, how do you consume your emails? I get my emails on my phones as > well, in gmail, which has a preview feature in both desktop and on mobile.? > Even when it is a python file? Anand From saager.mhatre at gmail.com Tue Aug 5 05:43:24 2014 From: saager.mhatre at gmail.com (Saager Mhatre) Date: Tue, 5 Aug 2014 09:13:24 +0530 Subject: [BangPypers] Mailing list etiquette In-Reply-To: References: <87zjfk4ow5.fsf@sanitarium.localdomain> Message-ID: On Mon, Aug 4, 2014 at 9:06 PM, Anand Chitipothu wrote: > > > > Not only that, it is a pain to download something and open it in some > >> application just to know what is inside. It is a lot better to send a > link > >> instead of sending attachments. > >> > > > > ?Anand, how do you consume your emails? I get my emails on my phones as > > well, in gmail, which has a preview feature in both desktop and on > mobile.? > > > > Even when it is a python file? Attached source code files generally open up as text files. - d From saager.mhatre at gmail.com Tue Aug 5 05:47:41 2014 From: saager.mhatre at gmail.com (Saager Mhatre) Date: Tue, 5 Aug 2014 09:17:41 +0530 Subject: [BangPypers] how to override sys.stdin In-Reply-To: References: Message-ID: On Mon, Aug 4, 2014 at 2:38 PM, Nitin Kumar wrote: > Hi All, > > is there a way i can override raw_input or input function. This sooo smells of the XY Problem . What are you really trying to do here? - d From awasekhirni at gmail.com Tue Aug 5 06:00:19 2014 From: awasekhirni at gmail.com (Syed Awase khirni) Date: Tue, 5 Aug 2014 09:30:19 +0530 Subject: [BangPypers] Looking for Exceptional Python and Django Developers/ Interns Message-ID: Hello, We are a stealth mode startup working on geoanalytical engine. We are looking for exceptional Python, Django Developers. Should be comfortable with MariaDB, Postgresql Remuneration - Equity + Pay. Please share your profile. We are also open for interns. The position is based out of bangalore. regards Dr. Syed Awase -- ----------------------------------------------------------------------------------------------------------------------------------------------------- Awase Khirni Syed Ph.D (GIS, University of Zurich), M.E (BITS,Pilani). Mobile: 0091-9035433124 Tel: 0091-80-42116134 From benignbala at gmail.com Tue Aug 5 07:14:33 2014 From: benignbala at gmail.com (Balachandran Sivakumar) Date: Tue, 5 Aug 2014 10:44:33 +0530 Subject: [BangPypers] Mailing list etiquette In-Reply-To: References: Message-ID: Hi Jeff, On Mon, Aug 4, 2014 at 1:29 PM, Jeffrey Jose wrote: > I agree with almost all of it, except for these 2. > > 1. No HTML emails I generally look at it from this perspective - Do we really need HTML to convey something ? Are plain words not sufficient enough to express ourselves ? Look at it as "Simple is better than complex" :) > 2. No attachments. > Someone already mentioned it - In a mailing list, the server copies over the attachment to every recipient. Moreover, in these days of githubs, wikis and pastebin, where we have syntax highlighting and better viewing experience, why would we want to send attachments ? Thanks -- Thank you Balachandran Sivakumar From abhishekl.2006 at gmail.com Tue Aug 5 12:08:03 2014 From: abhishekl.2006 at gmail.com (Abhishek L) Date: Tue, 5 Aug 2014 15:38:03 +0530 Subject: [BangPypers] Mailing list etiquette In-Reply-To: References: Message-ID: On Tue, Aug 5, 2014 at 10:44 AM, Balachandran Sivakumar wrote: > Hi Jeff, > > I generally look at it from this perspective - Do we really > need HTML to convey something ? Are plain words not sufficient enough > to express ourselves ? Look at it as "Simple is better than complex" > :) Agree on this. If anything needs to be *emphasized* or **stressed** we do have plain old markdown which was actually derived from the way e-mail communication was used. -- Abhishek From anand21nanda at gmail.com Wed Aug 6 08:47:46 2014 From: anand21nanda at gmail.com (Anand Reddy Pandikunta) Date: Wed, 6 Aug 2014 12:17:46 +0530 Subject: [BangPypers] Django - Testing Celery Tasks! Message-ID: Hi, Here is one simple model and a celery task. Can some one tell me how to write a test for this task? Thank you! *my_app/models.py* *class MyModel(models.Model):* * x = models.IntegerField()* * y = models.IntegerField()* * sum = models.IntegerField()* *my_app/tests/test_tasks.py* *@celery.task()* *def add(id):* * m = MyModel.objects.get(pk=id)* * m.sum = m.x + m.y* * m.save()* * return True* -- - Anand Reddy Pandikunta www.avilpage.com www.quotes160.com From kracethekingmaker at gmail.com Wed Aug 6 10:01:42 2014 From: kracethekingmaker at gmail.com (kracekumar ramaraju) Date: Wed, 6 Aug 2014 13:31:42 +0530 Subject: [BangPypers] Django - Testing Celery Tasks! In-Reply-To: References: Message-ID: Hi This is how I solve it. tasks.py @app.task def some_task(*args, **kwargs): return do_something(*args, **kwargs) somefile.py def do_something(*args, **kwargs): # All my logic is here test_somefile.py def test_do_something_when_user_isinactive(): #test logic, this works in py.test By the above approach my function which does real work is testable/callable without celery. Tomorrow if I want to move away from celery it is easy. On Wed, Aug 6, 2014 at 12:17 PM, Anand Reddy Pandikunta < anand21nanda at gmail.com> wrote: > Hi, > > Here is one simple model and a celery task. > Can some one tell me how to write a test for this task? > Thank you! > > *my_app/models.py* > *class MyModel(models.Model):* > * x = models.IntegerField()* > * y = models.IntegerField()* > * sum = models.IntegerField()* > > *my_app/tests/test_tasks.py* > *@celery.task()* > *def add(id):* > * m = MyModel.objects.get(pk=id)* > * m.sum = m.x + m.y* > * m.save()* > * return True* > > -- > - Anand Reddy Pandikunta > www.avilpage.com > www.quotes160.com > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > -- *Thanks & Regardskracekumar"Talk is cheap, show me the code" -- Linus Torvaldshttp://kracekumar.com * From ppc.lists at gmail.com Wed Aug 6 10:03:58 2014 From: ppc.lists at gmail.com (Pradip Caulagi) Date: Wed, 06 Aug 2014 13:33:58 +0530 Subject: [BangPypers] Django - Testing Celery Tasks! In-Reply-To: References: Message-ID: <53E1E16E.60606@gmail.com> On Wednesday 06 August 2014 12:17 PM, Anand Reddy Pandikunta wrote: > Hi, > > Here is one simple model and a celery task. > Can some one tell me how to write a test for this task? > Thank you! > > *my_app/models.py* > *class MyModel(models.Model):* > * x = models.IntegerField()* > * y = models.IntegerField()* > * sum = models.IntegerField()* Derived fields should not be stored in database. You should remove sum and instead have - def sum(self): return self.x + self.y > *my_app/tests/test_tasks.py* You probably mean - my_app/tasks.py > *@celery.task()* @celery.task > *def add(id):* > * m = MyModel.objects.get(pk=id)* > * m.sum = m.x + m.y* > * m.save()* > * return True* So this should read - @celery.task def add(id): m = MyModel.objects.get(pk=id) return m.sum() Untested code for testing - my_app/test/test_tasks.py from django.test import TestCase from my_app.models import MyModel from my_app.tasks import add class AdditionTaskTestCase(TestCase): def setUp(self): self.m = MyModel.objects.create(x=5, y=6) def test_addition(self): self.assertEqual(11, add(self.m.id), "invalid sum") In short, when testing, you don't have to worry about testing the celery parts and instead just focus that the task is doing what you expect it to. -- Pradip P Caulagi From tanuj at toptalent.in Thu Aug 7 13:58:05 2014 From: tanuj at toptalent.in (Tanuj Deshpande) Date: Thu, 7 Aug 2014 17:28:05 +0530 Subject: [BangPypers] Python Job Opportunties!! Message-ID: Hi everyone, We at TopTalent.in are trying to build a community for Top professionals in India. And we are trying to connect Top professionals with only top jobs with high salaries or awesome work. Below listed Python openings are some of them. Have a look!! If interested, register at TopTalent.in and apply. We will activate you with 24hrs. 1click - Python Developer - https://www.toptalent.in/job/3201/python-developer-bangalore-india Petasense - Full Stack Developer - https://www.toptalent.in/job/3186/iot-full-stack-software-engineer-bangalore-india/ Zippr - Full Stack Developer - https://www.toptalent.in/job/3145/full-stack-developer-hyderabad-india/ Thanks, Tanuj, TopTalent.in From noufal at nibrahim.net.in Thu Aug 7 20:33:40 2014 From: noufal at nibrahim.net.in (Noufal Ibrahim KV) Date: Fri, 08 Aug 2014 00:03:40 +0530 Subject: [BangPypers] Mailing list etiquette In-Reply-To: (Jeffrey Jose's message of "Mon, 4 Aug 2014 20:32:01 +0530") References: <87zjfk4ow5.fsf@sanitarium.localdomain> Message-ID: <87wqak2lq3.fsf@sanitarium.localdomain> On Mon, Aug 04 2014, Jeffrey Jose wrote: [...] > ?I'm curious how do you read your mails? Noufal, if my memory serves me > right you're an emacs person. So emacs perhaps? > > I'm in the vim camp, so I use my browser for email.? I download my email when I'm online and read them using either mutt or Gnus (Emacs) in batches offline. [...] >> ?.. and since I use browser, I appreciate an email that's nicely > formatted. Yes, that includes contextual information with embedded > images.? Fair enough. However, large attachments being duplicated on a *mailing list* is unnecessary. That's the consderation. Things are different for your personal communication. [...] -- Cordially, Noufal http://nibrahim.net.in From saager.mhatre at gmail.com Fri Aug 8 08:10:47 2014 From: saager.mhatre at gmail.com (Saager Mhatre) Date: Fri, 8 Aug 2014 11:40:47 +0530 Subject: [BangPypers] Mailing list etiquette In-Reply-To: <87wqak2lq3.fsf@sanitarium.localdomain> References: <87zjfk4ow5.fsf@sanitarium.localdomain> <87wqak2lq3.fsf@sanitarium.localdomain> Message-ID: On Fri, Aug 8, 2014 at 12:03 AM, Noufal Ibrahim KV wrote: > On Mon, Aug 04 2014, Jeffrey Jose wrote: > [...] > > >> ?.. and since I use browser, I appreciate an email that's nicely > > formatted. Yes, that includes contextual information with embedded > > images.? > > Fair enough. However, large attachments being duplicated on a *mailing > list* is unnecessary. That's the consderation. Things are different for > your personal communication. > > [...] > Didn't we already have this discussion on this list? Besides, doesn't mailman let us set a limit on the attachment size? One configuration to rule them all! - d From noufal at nibrahim.net.in Fri Aug 8 09:19:53 2014 From: noufal at nibrahim.net.in (Noufal Ibrahim) Date: Fri, 08 Aug 2014 12:49:53 +0530 Subject: [BangPypers] Mailing list etiquette In-Reply-To: References: <87zjfk4ow5.fsf@sanitarium.localdomain> <87wqak2lq3.fsf@sanitarium.localdomain> Message-ID: On 2014-08-08 11:40, Saager Mhatre wrote: [..] > Didn't we already have this discussion on this list? Besides, doesn't > mailman let us set a limit on the attachment size? One configuration to > rule them all! Not that I recall. Even so, it's not just the size of the attachment but that multiplied by the number of users that it has to pump out. I suppose my attitude is a relic of my low bandwidth past but I can't really see the reason for landing a few MB pdf into the inboxen of all the subscribers of a mailing list. From jinsthomas at gmail.com Sun Aug 10 12:49:23 2014 From: jinsthomas at gmail.com (Jins Thomas) Date: Sun, 10 Aug 2014 16:19:23 +0530 Subject: [BangPypers] [OffTopic] Economical Online Payment Options Message-ID: Hello Friends, This is an off topic but sending because may be many people working in website domain may found this useful? We have a requirement to build a website for a legitimate social cause. Through this website people can become online member or volunteer by remitting some nominal amount. Would like to know your thoughts on which online payment option/provider is economical. Membership fee will be as low as 10 Rs. We are told some providers like paycheck paytime etc are having high commission. Thanks Jins Thomas From ppc.lists at gmail.com Sun Aug 10 15:08:47 2014 From: ppc.lists at gmail.com (Pradip Caulagi) Date: Sun, 10 Aug 2014 18:38:47 +0530 Subject: [BangPypers] [OffTopic] Economical Online Payment Options In-Reply-To: References: Message-ID: <53E76EDF.6000100@gmail.com> On Sunday 10 August 2014 04:19 PM, Jins Thomas wrote: > > Would like to know your thoughts on which online payment option/provider is > economical. Membership fee will be as low as 10 Rs. We are told some > providers like paycheck paytime etc are having high commission. Wow, that would be super difficult to make profits, no? So are you looking for the cheapest option or somebody who does it right? My advice is to look at the documentation and see how easy it is to integrate (the problem is, many of them expect you to signup before they show you any useful information). In particular, I would avoid anybody who wants me to install binaries (compiled code) on my server. I would look at if they have API endpoints that can be hit from the Python code. Of the ones I have looked at, only https://www.payzippy.com/ seems interesting, though I have not integrated using them. -- Pradip P Caulagi From baiju.m.mail at gmail.com Wed Aug 13 16:06:16 2014 From: baiju.m.mail at gmail.com (Baiju Muthukadan) Date: Wed, 13 Aug 2014 07:06:16 -0700 (PDT) Subject: [BangPypers] PyCon India 2014: The Conference Schedule is Up! Message-ID: <53eb70d8.c166440a.50b8.6449@mx.google.com> Hi All, With just one more month to go for PyCon India 2014, we have shifted gears and switched to hyperdrive. The first-cut of the conference schedule is up! After the long list of proposals being submitted, the community voting and the review process plus confirmation, finally we have everything sorted out and ready to go. Checkout the conference schedule here: http://in.pycon.org/2014/schedule.html With 3 Keynotes, 22 Talks, 9 Workshops along with open spaces, lightning talks and panel discussions, this year's PyCon India will be filled with three days of fun, geeking out with your fellow Pythonistas, brainstorming on ideas, and altogether having a great time! So no more procrastination. For those of you who were waiting to see the conference schedule to plan your trip, this is it. For the rest of you who are still thinking about attending the conference, you might want to grab your tickets soon lest they should get sold out. Book your tickets ( http://pyconindia2014.doattend.com ), book your accommodation and plan your trip right now! The last weekend of September is going to be epic. -- Baiju M From brian at python.org Thu Aug 14 04:57:46 2014 From: brian at python.org (Brian Curtin) Date: Thu, 14 Aug 2014 02:57:46 -0000 Subject: [BangPypers] PyCon 2015 Call for Proposals is open! Message-ID: Hi BangPyPers! The PyCon organizers invite you to submit proposals for talks, tutorials, and posters to be presented at PyCon 2015 - https://us.pycon.org/2015/. The conference takes place April 8-16 in Montreal, Queubec, Canada and we'll be accepting talk and tutorial proposals through September 15, with posters accepted through November 1! We want everyone to be a part of making PyCon what it is, which is why we invite everyone to submit proposals, and we invite everyone to be a part of the program committee. It's your PyCon, not mine. Whether you started with Python yesterday or you've been writing it since the 90s, everyone has different experiences, different knowledge, and a different story to tell. This is why we aim to strike a balance between beginner, intermediate, and advanced talks. We want the entire community to level up as a result of PyCon. Over the years, we've put together proposal resources and advice to help answer some common topics surrounding our CFP (https://us.pycon.org/2015/speaking/proposal-resources/). We even put together a sample proposal and reviewed it for you at https://us.pycon.org/2015/speaking/proposal_advice/samples/SpacePug/. If you have any questions or tips that may help others, please email them to pycon-pc at python.org, or feel free to respond and I'll help you out. The full details of our Call for Proposals are available at https://us.pycon.org/2015/speaking/cfp/. Keep an eye on that page as well as https://twitter.com/pycon and http://pycon.blogspot.com/ for details about ticket sales, financial aid, and more PyCon news! Thanks for your time! Brian Curtin, brian at python.org Publicity Coordinator, PyCon 2015 From m at pd.io Thu Aug 14 08:10:08 2014 From: m at pd.io (Pratik Vyas) Date: Thu, 14 Aug 2014 11:40:08 +0530 Subject: [BangPypers] [X-Post] ERPNext Conference, 2014 Message-ID: Hi BangPyPers! We're excited to announce ERPNext Conference, 2014 scheduled on 25th September. We've sessions planned for ERPNext users, partners and developers and are hosting it in Mumbai. ERPNext is a free and GPL licensed ERP for small and medium sized business and has modules for accounting, manufacturing, sales, purchase, HR management, project management, customer support and even has an integrated CMS for a company website. The product is powered by the frappe framework and can be used to build web based business apps. Features include MVC, database migration system, CMS, out of the box REST APIs, user management, background tasks and more. Frappe apps can extend or complement ERPNext or other frappe apps. The product and framework are written in Python and JavaScript and use MariaDB as database. Links: Conference page : https://erpnext.com/conf Registration page : https://erpnext.com/conf/register Product website : https://erpnext.com Frappe framework : https://frappe.io Sources: https://github.com/frappe/frappe https://github.com/frappe/erpnext Thanks, -- Pratik ERPNext From baiju.m.mail at gmail.com Sat Aug 16 07:19:58 2014 From: baiju.m.mail at gmail.com (Baiju Muthukadan) Date: Fri, 15 Aug 2014 22:19:58 -0700 (PDT) Subject: [BangPypers] PyCon India 2014: Nominations for the Kenneth Gonsalves 2014 Award Message-ID: <53eee9fe.a288440a.2530.ffff9f82@mx.google.com> Hi All, We had made the first announcement regarding the Kenneth Gonsalves 2014 award about a month ago. It stirred up interesting discussions within the Python community and had everyone looking out to find worthy candidates for the award. Special people are rare, but we're sure there are plenty of them around with India being such a huge country! So if you have not already put in your nomination, this is a nudge to get you to look around and find a deserving candidate. Well, maybe you need not look around but just look at yourself. If you feel you have done your share in growing and nurturing the Indian Python Community, please do not hesitate to nominate yourself. Here is the nomination form: ( https://docs.google.com/forms/d/1SEy0k4GxMIEJEY4vCXDCqxOSUQJZ7uIUeA0nf-EleMw/viewform?edit_requested=true ) Here is the blog post that we published regarding the announcement: http://in.pycon.org/2014/blog/nominations-open-for-the-kenneth-gonsalves-2014-award/ Please note that the last date for submission is September 1st midnight. Do make sure you let us know your thoughts soon! -- Baiju M From anand21nanda at gmail.com Sat Aug 16 11:28:54 2014 From: anand21nanda at gmail.com (Anand Reddy Pandikunta) Date: Sat, 16 Aug 2014 14:58:54 +0530 Subject: [BangPypers] PyCon India 2014: Nominations for the Kenneth Gonsalves 2014 Award In-Reply-To: <53eee9fe.a288440a.2530.ffff9f82@mx.google.com> References: <53eee9fe.a288440a.2530.ffff9f82@mx.google.com> Message-ID: Can I nominate two people? On Sat, Aug 16, 2014 at 10:49 AM, Baiju Muthukadan wrote: > Hi All, > > We had made the first announcement regarding the Kenneth Gonsalves > 2014 award about a month ago. It stirred up interesting discussions > within the Python community and had everyone looking out to find > worthy candidates for the award. > > Special people are rare, but we're sure there are plenty of them > around with India being such a huge country! So if you have not > already put in your nomination, this is a nudge to get you to look > around and find a deserving candidate. Well, maybe you need not look > around but just look at yourself. If you feel you have done your > share in growing and nurturing the Indian Python Community, please do > not hesitate to nominate yourself. > > Here is the nomination form: > ( > https://docs.google.com/forms/d/1SEy0k4GxMIEJEY4vCXDCqxOSUQJZ7uIUeA0nf-EleMw/viewform?edit_requested=true > ) > > Here is the blog post that we published regarding the announcement: > > http://in.pycon.org/2014/blog/nominations-open-for-the-kenneth-gonsalves-2014-award/ > > Please note that the last date for submission is September 1st > midnight. Do make sure you let us know your thoughts soon! > > -- > Baiju M > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > -- - Anand Reddy Pandikunta www.avilpage.com www.quotes160.com From baiju.m.mail at gmail.com Sat Aug 16 11:31:17 2014 From: baiju.m.mail at gmail.com (Baiju M) Date: Sat, 16 Aug 2014 15:01:17 +0530 Subject: [BangPypers] PyCon India 2014: Nominations for the Kenneth Gonsalves 2014 Award In-Reply-To: References: <53eee9fe.a288440a.2530.ffff9f82@mx.google.com> Message-ID: Yes, you can nominate more than one. On Sat, Aug 16, 2014 at 2:58 PM, Anand Reddy Pandikunta wrote: > Can I nominate two people? > > > On Sat, Aug 16, 2014 at 10:49 AM, Baiju Muthukadan > wrote: > >> Hi All, >> >> We had made the first announcement regarding the Kenneth Gonsalves >> 2014 award about a month ago. It stirred up interesting discussions >> within the Python community and had everyone looking out to find >> worthy candidates for the award. >> >> Special people are rare, but we're sure there are plenty of them >> around with India being such a huge country! So if you have not >> already put in your nomination, this is a nudge to get you to look >> around and find a deserving candidate. Well, maybe you need not look >> around but just look at yourself. If you feel you have done your >> share in growing and nurturing the Indian Python Community, please do >> not hesitate to nominate yourself. >> >> Here is the nomination form: >> ( >> https://docs.google.com/forms/d/1SEy0k4GxMIEJEY4vCXDCqxOSUQJZ7uIUeA0nf-EleMw/viewform?edit_requested=true >> ) >> >> Here is the blog post that we published regarding the announcement: >> >> http://in.pycon.org/2014/blog/nominations-open-for-the-kenneth-gonsalves-2014-award/ >> >> Please note that the last date for submission is September 1st >> midnight. Do make sure you let us know your thoughts soon! >> >> -- >> Baiju M >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> https://mail.python.org/mailman/listinfo/bangpypers >> > > > > -- > - Anand Reddy Pandikunta > www.avilpage.com > www.quotes160.com > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers From lifeofnavin at gmail.com Mon Aug 18 13:50:43 2014 From: lifeofnavin at gmail.com (Navin Pai) Date: Mon, 18 Aug 2014 17:20:43 +0530 Subject: [BangPypers] "The Python I would like to see" - Armin Ronacher Message-ID: An interesting take by Armin Ronacher on what he would like to see in Python: http://lucumr.pocoo.org/2014/8/16/the-python-i-would-like-to-see/ Can't say I disagree :) Navin Pai From k.03chandra at gmail.com Mon Aug 18 18:15:49 2014 From: k.03chandra at gmail.com (chandrakant kumar) Date: Mon, 18 Aug 2014 21:45:49 +0530 Subject: [BangPypers] "The Python I would like to see" - Armin Ronacher In-Reply-To: References: Message-ID: Python 3 has been a disappointment. regards On Aug 18, 2014 5:21 PM, "Navin Pai" wrote: > An interesting take by Armin Ronacher on what he would like to see in > Python: > > http://lucumr.pocoo.org/2014/8/16/the-python-i-would-like-to-see/ > > Can't say I disagree :) > > Navin Pai > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > From benignbala at gmail.com Mon Aug 18 19:29:56 2014 From: benignbala at gmail.com (Balachandran Sivakumar) Date: Mon, 18 Aug 2014 22:59:56 +0530 Subject: [BangPypers] "The Python I would like to see" - Armin Ronacher In-Reply-To: References: Message-ID: Hi, On Mon, Aug 18, 2014 at 9:45 PM, chandrakant kumar wrote: > Python 3 has been a disappointment. > http://asmeurer.github.io/python3-presentation/slides.html Here we go. :) Thanks -- Thank you Balachandran Sivakumar Arise Awake and stop not till the goal is reached. - Swami Vivekananda From gora at mimirtech.com Mon Aug 18 21:42:30 2014 From: gora at mimirtech.com (Gora Mohanty) Date: Tue, 19 Aug 2014 01:12:30 +0530 Subject: [BangPypers] "The Python I would like to see" - Armin Ronacher In-Reply-To: References: Message-ID: On 18 August 2014 21:45, chandrakant kumar wrote: > > Python 3 has been a disappointment. I am bemused by absolutist comments like this. Could you explain how exactly it was a disappointment for you in day-to-day work? Regards, Gora From noufal at nibrahim.net.in Tue Aug 19 06:36:24 2014 From: noufal at nibrahim.net.in (Noufal Ibrahim) Date: Tue, 19 Aug 2014 10:06:24 +0530 Subject: [BangPypers] "The Python I would like to see" - Armin Ronacher In-Reply-To: References: Message-ID: <9758810171d78c48b77e104b10461d16@hcoop.net> On 2014-08-18 21:45, chandrakant kumar wrote: > Python 3 has been a disappointment. I haven't used it enough to judge (and this has, in my experience, been the case with most critics). However, as the projects I deal with grow larger, I'm becoming increasingly frustrated with Python (and dynamic languages in general). From sriramnrn at gmail.com Tue Aug 19 07:41:14 2014 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Tue, 19 Aug 2014 11:11:14 +0530 Subject: [BangPypers] "The Python I would like to see" - Armin Ronacher In-Reply-To: <9758810171d78c48b77e104b10461d16@hcoop.net> References: <9758810171d78c48b77e104b10461d16@hcoop.net> Message-ID: On Tue, Aug 19, 2014 at 10:06 AM, Noufal Ibrahim wrote: > On 2014-08-18 21:45, chandrakant kumar wrote: > >> Python 3 has been a disappointment. >> > > I haven't used it enough to judge (and this has, in my experience, been > the case with most critics). > > However, as the projects I deal with grow larger, I'm becoming > increasingly frustrated with Python (and dynamic languages in general). > > Hi Noufal, could you elaborate on this? I have enjoyed the freedom of non-static typing that Python and Ruby offer, but also sometimes miss the static type checking that C# and Java offer. -- Ram From noufal at nibrahim.net.in Tue Aug 19 07:53:30 2014 From: noufal at nibrahim.net.in (Noufal Ibrahim) Date: Tue, 19 Aug 2014 11:23:30 +0530 Subject: [BangPypers] "The Python I would like to see" - Armin Ronacher In-Reply-To: References: <9758810171d78c48b77e104b10461d16@hcoop.net> Message-ID: On 2014-08-19 11:11, Sriram Narayanan wrote: > Hi Noufal, could you elaborate on this? I have enjoyed the freedom of > non-static typing that Python and Ruby offer, but also sometimes miss > the > static type checking that C# and Java offer. Yes. I like the freedom and they're great for prototyping. When things get large with a lot of moving parts, you need to write elaborate tests at every layer to validate the whole thing and even then, things slip through. I've also felt that the freedom encourages a kind of loose thinking that I have to guard against. This is completely subjective though and based mostly on vague feelings that have accumulated inside my head over my career trying to tame these computer creatures. From benignbala at gmail.com Tue Aug 19 07:53:34 2014 From: benignbala at gmail.com (Balachandran Sivakumar) Date: Tue, 19 Aug 2014 11:23:34 +0530 Subject: [BangPypers] "The Python I would like to see" - Armin Ronacher In-Reply-To: <9758810171d78c48b77e104b10461d16@hcoop.net> References: <9758810171d78c48b77e104b10461d16@hcoop.net> Message-ID: Hi Noufal, On Tue, Aug 19, 2014 at 10:06 AM, Noufal Ibrahim wrote: > On 2014-08-18 21:45, chandrakant kumar wrote: >> > > However, as the projects I deal with grow larger, I'm becoming increasingly > frustrated with Python (and dynamic languages in general). > Is it because bugs are becoming harder to find, or maintenance is becoming difficult ? Or is it something to do with performance ? Please do share the reasons :) Asking because, I remember you and Anand C talking about implementing the Wayback machine in Python and that it works/worked very well and that's certainly a reasonably large one(I assume). Thanks -- Thank you Balachandran Sivakumar Arise Awake and stop not till the goal is reached. - Swami Vivekananda From kushaldas at gmail.com Tue Aug 19 08:03:42 2014 From: kushaldas at gmail.com (Kushal Das) Date: Tue, 19 Aug 2014 11:33:42 +0530 Subject: [BangPypers] "The Python I would like to see" - Armin Ronacher In-Reply-To: References: Message-ID: On Tue, Aug 19, 2014 at 1:12 AM, Gora Mohanty wrote: > On 18 August 2014 21:45, chandrakant kumar wrote: >> >> Python 3 has been a disappointment. > > I am bemused by absolutist comments like this. Could you explain how > exactly it was a disappointment for you in day-to-day work? > I also want to know the reasons. Kushal -- CPython Core Developer http://fedoraproject.org http://kushaldas.in From noufal at nibrahim.net.in Tue Aug 19 08:12:54 2014 From: noufal at nibrahim.net.in (Noufal Ibrahim) Date: Tue, 19 Aug 2014 11:42:54 +0530 Subject: [BangPypers] "The Python I would like to see" - Armin Ronacher In-Reply-To: References: <9758810171d78c48b77e104b10461d16@hcoop.net> Message-ID: <3980874d31a6d61ab2afd616fedfd557@hcoop.net> On 2014-08-19 11:23, Balachandran Sivakumar wrote: > Is it because bugs are becoming harder to find, or > maintenance is becoming difficult ? Both really. It's easy to take shortcuts and results in tech. debt that you have to pay back later. As someone said, if it talks like duck and walks like a duck, it throws an exception at runtime. > Or is it something to do with > performance ? Concurrency is, as usual, a problem but that's a separate issue. Python was never built for that kind of thing. > Please do share the reasons :) Asking because, I > remember you and Anand C talking about implementing the Wayback > machine in Python and that it works/worked very well and that's > certainly a reasonably large one(I assume). Thanks The Wayback machine is not in Python. Just one of the services and that's not too large although it deals with a large amount of data. https://github.com/internetarchive/liveweb From k.03chandra at gmail.com Tue Aug 19 09:02:38 2014 From: k.03chandra at gmail.com (chandrakant kumar) Date: Tue, 19 Aug 2014 12:32:38 +0530 Subject: [BangPypers] "The Python I would like to see" - Armin Ronacher In-Reply-To: References: Message-ID: On Tue, Aug 19, 2014 at 1:12 AM, Gora Mohanty wrote: > On 18 August 2014 21:45, chandrakant kumar wrote: > > > > Python 3 has been a disappointment. > > I am bemused by absolutist comments like this. Could you explain how > exactly it was a disappointment for you in day-to-day work? > > Regards, > Gora > Following are the problems i faced that made me revert back to Python 2.7 - 1. Lack of packages ported to Python 3, one of the main advantages of using Python is a large set of ready to be used packages, so that you can build something very quickly. 2. Performance is same if not less than that of Python 2.7. If i have to rewrite my code, with limited 3rd party packages, resulting in little or no performance gains, i would rather move to CLISP, at least the performance gains would be worth it. And, about the day-to-day work, i have a SAAS application built with Python 3, and the inconvenience it caused without the rewards, made me regret my decision to move to Python 3. It has more to do with the Python 3 ecosystem, rather than the language itself. Python is much more than the language itself, almost any serious Python application makes heavy use of 3rd party packages. -- regards From saager.mhatre at gmail.com Tue Aug 19 09:01:33 2014 From: saager.mhatre at gmail.com (Saager Mhatre) Date: Tue, 19 Aug 2014 12:31:33 +0530 Subject: [BangPypers] "The Python I would like to see" - Armin Ronacher In-Reply-To: References: <9758810171d78c48b77e104b10461d16@hcoop.net> Message-ID: On Tue, Aug 19, 2014 at 11:23 AM, Noufal Ibrahim wrote: > On 2014-08-19 11:11, Sriram Narayanan wrote: > > Hi Noufal, could you elaborate on this? I have enjoyed the freedom >> of non-static typing that Python and Ruby offer, but also sometimes miss >> the static type checking that C# and Java offer. >> > > Yes. I like the freedom and they're great for prototyping. > > When things get large with a lot of moving parts, you need to write > elaborate tests at every layer to validate the whole thing and even then, > things slip through. That's just a question of testing strategy. If you're writing 'elaborate' tests at every layer, you're probably validating too much or exercising too much of the system at each layer of testing. The cartesian product of tests required to validate every implementation at a level of abstraction is inevitable if you want confidence in all those implementations; but these need to be limited to each pair of collaborator as far as possible so that so single test becomes too elaborate. But that's a different discussion altogether. However, I always got the sense that dynamic languages made this both easier and hard at the same time. Easier in that you didn't have to declare explicit interfaces between layers; harder in that all barking ducks are only identified at runtime! > I've also felt that the freedom encourages a kind of loose thinking that I > have to guard against. > I'm glad somebody finally said this; and doubly so that it was Noufal! ;) - d From noufal at nibrahim.net.in Tue Aug 19 09:15:00 2014 From: noufal at nibrahim.net.in (Noufal Ibrahim) Date: Tue, 19 Aug 2014 12:45:00 +0530 Subject: [BangPypers] "The Python I would like to see" - Armin Ronacher In-Reply-To: References: <9758810171d78c48b77e104b10461d16@hcoop.net> Message-ID: <667ddbfa743f5fa3c13f9f2f1de087cd@hcoop.net> On 2014-08-19 12:31, Saager Mhatre wrote: > That's just a question of testing strategy. If you're writing > 'elaborate' > tests at every layer, you're probably validating too much or exercising > too > much of the system at each layer of testing. The cartesian product of > tests > required to validate every implementation at a level of abstraction is > inevitable if you want confidence in all those implementations; but > these > need to be limited to each pair of collaborator as far as possible so > that > so single test becomes too elaborate. But that's a different discussion > altogether. > > However, I always got the sense that dynamic languages made this both > easier and hard at the same time. Easier in that you didn't have to > declare > explicit interfaces between layers; harder in that all barking ducks > are > only identified at runtime! I suppose so. My epiphany was that tests, at the end of the day, are code. They need to be maintained, refactored, cleaned up, optimised, cajoled and worshipped just like one does with the actual application. The less code I write, the better. So, yes, it's a tradeoff. Once upon a time, a more naive version of myself loved the freedom that I got from this kind of thing. The cynical version of myself that's typing this email is not so sure anymore. He, at some level, feels that the extra headache of specifying interfaces is a better investment than using a dynamic language and writing tests to validate all the possible inputs. > I'm glad somebody finally said this; and doubly so that it was Noufal! > ;) I'm surprised that you've never heard this from me before. It's something that I decided on a LONG time ago. From saager.mhatre at gmail.com Tue Aug 19 10:35:57 2014 From: saager.mhatre at gmail.com (Saager Mhatre) Date: Tue, 19 Aug 2014 14:05:57 +0530 Subject: [BangPypers] "The Python I would like to see" - Armin Ronacher In-Reply-To: <667ddbfa743f5fa3c13f9f2f1de087cd@hcoop.net> References: <9758810171d78c48b77e104b10461d16@hcoop.net> <667ddbfa743f5fa3c13f9f2f1de087cd@hcoop.net> Message-ID: On Tue, Aug 19, 2014 at 12:45 PM, Noufal Ibrahim wrote: > > On 2014-08-19 12:31, Saager Mhatre wrote: > >> That's just a question of testing strategy. If you're writing 'elaborate' >> tests at every layer, you're probably validating too much or exercising too >> much of the system at each layer of testing. The cartesian product of tests >> required to validate every implementation at a level of abstraction is >> inevitable if you want confidence in all those implementations; but these >> need to be limited to each pair of collaborator as far as possible so that >> so single test becomes too elaborate. But that's a different discussion >> altogether. >> >> However, I always got the sense that dynamic languages made this both >> easier and hard at the same time. Easier in that you didn't have to declare >> explicit interfaces between layers; harder in that all barking ducks are >> only identified at runtime! > > > I suppose so. My epiphany was that tests, at the end of the day, are code. They need to be maintained, refactored, cleaned up, optimised, cajoled and worshipped just like one does with the actual application. The less code I write, the better. > > So, yes, it's a tradeoff. Once upon a time, a more naive version of myself loved the freedom that I got from this kind of thing. The cynical version of myself that's typing this email is not so sure anymore. He, at some level, feels that the extra headache of specifying interfaces is a better investment than using a dynamic language and writing tests to validate all the possible inputs. > Hear, hear! All he younglings pay heed, the master hath spoken. Again, glad this was said without beating about the bush; and glad *you* said it! ;) > >> I'm glad somebody finally said this; and doubly so that it was Noufal! ;) > > > I'm surprised that you've never heard this from me before. It's something that I decided on a LONG time ago. > I realized this myself a long time ago, around the time I joined TW and started putting Ruby in production. However, all the dynlang love in the air at the time seemed to be blinding people to it. Since then I've sensed this sentiment among those that have grown wiser with age and experience. But you're the first one I've heard call it out without mincing words. - d On 2014-08-19 12:31, Saager Mhatre wrote: That's just a question of testing strategy. If you're writing 'elaborate' > tests at every layer, you're probably validating too much or exercising too > much of the system at each layer of testing. The cartesian product of tests > required to validate every implementation at a level of abstraction is > inevitable if you want confidence in all those implementations; but these > need to be limited to each pair of collaborator as far as possible so that > so single test becomes too elaborate. But that's a different discussion > altogether. > > However, I always got the sense that dynamic languages made this both > easier and hard at the same time. Easier in that you didn't have to declare > explicit interfaces between layers; harder in that all barking ducks are > only identified at runtime! > I suppose so. My epiphany was that tests, at the end of the day, are code. They need to be maintained, refactored, cleaned up, optimised, cajoled and worshipped just like one does with the actual application. The less code I write, the better. So, yes, it's a tradeoff. Once upon a time, a more naive version of myself loved the freedom that I got from this kind of thing. The cynical version of myself that's typing this email is not so sure anymore. He, at some level, feels that the extra headache of specifying interfaces is a better investment than using a dynamic language and writing tests to validate all the possible inputs. I'm glad somebody finally said this; and doubly so that it was Noufal! ;) > I'm surprised that you've never heard this from me before. It's something that I decided on a LONG time ago. _______________________________________________ BangPypers mailing list BangPypers at python.org https://mail.python.org/mailman/listinfo/bangpypers From noufal at nibrahim.net.in Tue Aug 19 12:41:25 2014 From: noufal at nibrahim.net.in (Noufal Ibrahim) Date: Tue, 19 Aug 2014 16:11:25 +0530 Subject: [BangPypers] "The Python I would like to see" - Armin Ronacher In-Reply-To: References: <9758810171d78c48b77e104b10461d16@hcoop.net> <667ddbfa743f5fa3c13f9f2f1de087cd@hcoop.net> Message-ID: <64d8cdda042bbf41116b3af17cc9f769@hcoop.net> On 2014-08-19 14:05, Saager Mhatre wrote: [..] > I realized this myself a long time ago, around the time I joined TW and > started putting Ruby in production. However, all the dynlang love in > the > air at the time seemed to be blinding people to it. Since then I've > sensed > this sentiment among those that have grown wiser with age and > experience. > But you're the first one I've heard call it out without mincing words. [..] I don't want to be misconstrued as "taking a side" though. I still like dynamic languages for glue kind of work and when I want the dynamism. Scripting rules, places where quick turn around is more important than "correctness" e.g. elisp for Emacs, perl for quick and dirty text processing and things like that. It's just that apart from a more general "use the right tool for the job" and "everything has it's place" attitude, I'm leaning towards actually putting these things in a hierarchy of some kind and saying that X is, on the whole, better than Y rather than just hand waving about how they're all "equal". Two points. It's very likely that I'm wrong about this in which case, it's one of those "stepping stones" that people slip on more often than not and secondly, with all the new work on languages and implementations going on recently, it's a great (and prudent) time to embrace the virtues of being a polyglot programmer. From baiju.m.mail at gmail.com Tue Aug 19 17:54:48 2014 From: baiju.m.mail at gmail.com (Baiju M) Date: Tue, 19 Aug 2014 21:24:48 +0530 Subject: [BangPypers] "The Python I would like to see" - Armin Ronacher In-Reply-To: <64d8cdda042bbf41116b3af17cc9f769@hcoop.net> References: <9758810171d78c48b77e104b10461d16@hcoop.net> <667ddbfa743f5fa3c13f9f2f1de087cd@hcoop.net> <64d8cdda042bbf41116b3af17cc9f769@hcoop.net> Message-ID: I would like to add one point about deployment of large and complex applications written in Python. Deployment of these types of applications are very difficult in Python. I would love to install single statically linked binaries for deployment. Building these binaries should be very fact also, say less than 1 minute. This is one of the reason I am getting attracted to Golang :-) -- Baiju M From gora at mimirtech.com Tue Aug 19 18:23:51 2014 From: gora at mimirtech.com (Gora Mohanty) Date: Tue, 19 Aug 2014 21:53:51 +0530 Subject: [BangPypers] "The Python I would like to see" - Armin Ronacher In-Reply-To: References: Message-ID: On 19 August 2014 12:32, chandrakant kumar wrote: [...] > Following are the problems i faced that made me revert back to Python 2.7 - > > 1. Lack of packages ported to Python 3, one of the main advantages of using > Python is a large set of ready to be used packages, so that you can build > something very quickly. This is not a criticism of Python 3 per se. > 2. Performance is same if not less than that of Python 2.7. I have not been closely following this, but I did not think that performance was a criterion for Python 3. As I am sure that you are aware, projects like PyPi are addressing this, but again I do not know that performance was ever touted as a Python 3 feature. > If i have to rewrite my code, with limited 3rd party packages, resulting in > little or no performance gains, i would rather move to CLISP, at least the > performance gains would be worth it. > > And, about the day-to-day work, i have a SAAS application built with Python > 3, and the inconvenience it caused without the rewards, made me regret my > decision to move to Python 3. [...] Why then did you decide to move to Python 3? Unlike, say major revisions to PHP, most Python people that I have met are happy with 2.7, and there does not seem to me a critical feature like, say improved security, that provides a strong incentive to make the move. Not trying to show you up, but seriously would like to know your rationale. We have been itching to goto Python 3, but the deal-breaker for us was Django not being ready. Now that Django does support Python 3, we did think again about moving, but held off exactly because of what you mention: Lack of Python 3 support in several third-party apps that were critical for us. Regards, Gora From sriramnrn at gmail.com Tue Aug 19 18:28:03 2014 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Tue, 19 Aug 2014 21:58:03 +0530 Subject: [BangPypers] "The Python I would like to see" - Armin Ronacher In-Reply-To: References: Message-ID: On Tue, Aug 19, 2014 at 9:53 PM, Gora Mohanty wrote: > We have been itching to goto Python 3, but the deal-breaker for us was > Django > not being ready. Now that Django does support Python 3, we did think again > about > moving, but held off exactly because of what you mention: Lack of > Python 3 support > in several third-party apps that were critical for us. > > I've suggested to one of my customers that they could sponsor some dev time for helping migrate to Python 3. After some consideration, they moved to Go Lang. > Regards, > Gora -- Ram From gora at mimirtech.com Tue Aug 19 18:12:45 2014 From: gora at mimirtech.com (Gora Mohanty) Date: Tue, 19 Aug 2014 21:42:45 +0530 Subject: [BangPypers] "The Python I would like to see" - Armin Ronacher In-Reply-To: References: <9758810171d78c48b77e104b10461d16@hcoop.net> <667ddbfa743f5fa3c13f9f2f1de087cd@hcoop.net> <64d8cdda042bbf41116b3af17cc9f769@hcoop.net> Message-ID: On 19 August 2014 21:24, Baiju M wrote: > > I would like to add one point about deployment of large and complex > applications written in Python. Deployment of these types of applications > are very difficult in Python. Would you please elaborate on the difficulties? We are reasonably happy with AWS images to bootstrap the system, then virtualenv, pip, fabric and now ansible to deploy Django apps. > > I would love to install single statically > linked binaries for deployment. Building these binaries should be very fact > also, say less than 1 minute. Statically-linked binaries are so 1990s :-) > This is one of the reason I am getting > attracted to Golang :-) For me, the main attraction of Go is the concurrency features. Syntax still seems strange, though. Regards, Gora From gora at mimirtech.com Tue Aug 19 18:59:18 2014 From: gora at mimirtech.com (Gora Mohanty) Date: Tue, 19 Aug 2014 22:29:18 +0530 Subject: [BangPypers] "The Python I would like to see" - Armin Ronacher In-Reply-To: References: Message-ID: On 19 August 2014 21:58, Sriram Narayanan wrote: > On Tue, Aug 19, 2014 at 9:53 PM, Gora Mohanty wrote: > > >> We have been itching to goto Python 3, but the deal-breaker for us was >> Django >> not being ready. Now that Django does support Python 3, we did think again >> about >> moving, but held off exactly because of what you mention: Lack of >> Python 3 support >> in several third-party apps that were critical for us. >> >> > I've suggested to one of my customers that they could sponsor some dev time > for helping migrate to Python 3. After some consideration, they moved to Go > Lang. Sorry, but again this makes no sense to outsiders without the context of why such a choice was made, and IMHO leads to pointless flame-wars about my programming language is better than yours when the truth is that they all suck, though in different ways. In this day and age, machines should be doing the grunt work that we seem to still be doing. To revive an ancient meme about whom to credit memorable quotes to: Do not write code. Write code that writes code Regards, Gora From senthil at uthcode.com Tue Aug 19 19:02:03 2014 From: senthil at uthcode.com (Senthil Kumaran) Date: Tue, 19 Aug 2014 22:32:03 +0530 Subject: [BangPypers] "The Python I would like to see" - Armin Ronacher In-Reply-To: References: <9758810171d78c48b77e104b10461d16@hcoop.net> <667ddbfa743f5fa3c13f9f2f1de087cd@hcoop.net> <64d8cdda042bbf41116b3af17cc9f769@hcoop.net> Message-ID: <6D6CED47BDBA42789DFA3CDBFBB21040@uthcode.com> On Tuesday, August 19, 2014 at 9:24 PM, Baiju M wrote: > I would love to install single statically linked binaries for deployment. Building these binaries should be very fact also, say less than 1 minute. There are multiple solutions to to this. One that twitter uses is called PEX, a concept adopted from the Java world of deployable jars. My thought is, if the deployment environment is under control (like the versions of Python and the access to PyPI and dependency information and versions well established), then the standard python of using pip and requirements is good too. The problem usually lies in out of control dependencies and environment and sometimes we tend to prefer a static binary. -- Senthil Kumaran From baiju.m.mail at gmail.com Tue Aug 19 21:44:58 2014 From: baiju.m.mail at gmail.com (Baiju M) Date: Wed, 20 Aug 2014 01:14:58 +0530 Subject: [BangPypers] "The Python I would like to see" - Armin Ronacher In-Reply-To: References: <9758810171d78c48b77e104b10461d16@hcoop.net> <667ddbfa743f5fa3c13f9f2f1de087cd@hcoop.net> <64d8cdda042bbf41116b3af17cc9f769@hcoop.net> Message-ID: On Tue, Aug 19, 2014 at 9:42 PM, Gora Mohanty wrote: > On 19 August 2014 21:24, Baiju M wrote: >> >> I would like to add one point about deployment of large and complex >> applications written in Python. Deployment of these types of applications >> are very difficult in Python. > > Would you please elaborate on the difficulties? We are reasonably > happy with AWS images to bootstrap the system, then virtualenv, pip, > fabric and now ansible to deploy Django apps. Using cloud based images, orchestration tools like Ansible, container technologies like Docker all helps to make application deployment easier. However, it's still complex compared to copying a single binary and running it. >> I would love to install single statically >> linked binaries for deployment. Building these binaries should be very fact >> also, say less than 1 minute. > > Statically-linked binaries are so 1990s :-) Modern languages like Rust ( http://www.rust-lang.org/ ) & Go ( http://golang.org/ ) seems to produce statically linked binaries by default. > >> This is one of the reason I am getting >> attracted to Golang :-) > > For me, the main attraction of Go is the concurrency features. Syntax still > seems strange, though. I felt Go more Pythonic :) https://talks.golang.org/2012/zen.slide#1 Regards, Baiju M From kracethekingmaker at gmail.com Tue Aug 19 22:39:32 2014 From: kracethekingmaker at gmail.com (kracekumar ramaraju) Date: Wed, 20 Aug 2014 02:09:32 +0530 Subject: [BangPypers] "The Python I would like to see" - Armin Ronacher In-Reply-To: References: <9758810171d78c48b77e104b10461d16@hcoop.net> <667ddbfa743f5fa3c13f9f2f1de087cd@hcoop.net> <64d8cdda042bbf41116b3af17cc9f769@hcoop.net> Message-ID: Hi I am late to the party, adding my thoughts. - It is good to have Python spec and implementation decoupled from each other. By that it would be possible to have different run time. Lot of people say rust memory management is good, so someone can implement Python in rust. Though library compatibility and C code integration will be always an issue. - In my opinion other than logical error most of the error I have encountered working with Python is passing dict to function where model object was expected and KeyError. Though KeyError in dict can be avoided by using .get and other technique. Still I haven't figured linter for Emacs/Sublime which can notify about the type of the argument. Yes, I am aware of function annotation in Python 3, but I can't see linter/IDE which has integrated this. When I pass wrong type argument I would like to see hint in the editor. Without function annotation in python 2.7 it is harder to make linter aware of types. Though docstring can help to solve this issue but not completely. - Though pip, venv solve issue to certain extent. If there are 100+ packages need to be installed, pip will take atleast 60 - 90 seconds to check all the packages are installed considering venv have all packages (AWS). Then deploy will look like code deploy + package install + restart of service. There are high chances request may pile up if restart of service takes more than 30 - 40 seconds if the app is single page app (Initial load during peak hours). Also if PyPi is down my deployment will fail, having PyPi mirror isn't affordable. So far I haven't faced any issue with PyPi, but there were times when npmjs.org is down :-) Yes you can package all your dependencies in .deb files and distribute but there is a cost associated with it. With golang style of deployment all the installation time and packaging issue is solved with single binary. +1 for https://talks.golang.org/2012/zen.slide#1. - At some point I was looking into PEX for deployment, felt it isn't ready yet, probably will try once again. On Wed, Aug 20, 2014 at 1:14 AM, Baiju M wrote: > On Tue, Aug 19, 2014 at 9:42 PM, Gora Mohanty wrote: > > On 19 August 2014 21:24, Baiju M wrote: > >> > >> I would like to add one point about deployment of large and complex > >> applications written in Python. Deployment of these types of > applications > >> are very difficult in Python. > > > > Would you please elaborate on the difficulties? We are reasonably > > happy with AWS images to bootstrap the system, then virtualenv, pip, > > fabric and now ansible to deploy Django apps. > > Using cloud based images, orchestration tools like Ansible, container > technologies like Docker all helps to make application deployment easier. > However, it's still complex compared to copying a single binary and > running it. > > >> I would love to > install single statically > >> linked binaries for deployment. Building these binaries should be very > fact > >> also, say less than 1 minute. > > > > Statically-linked binaries are so 1990s :-) > > Modern languages like Rust ( http://www.rust-lang.org/ ) & Go ( > http://golang.org/ ) > seems to produce statically linked binaries by default. > > > > >> This is one of the reason > I am getting > >> attracted to Golang :-) > > > > For me, the main attraction of Go is the concurrency features. Syntax > still > > seems strange, though. > > I felt Go more Pythonic :) > > https://talks.golang.org/2012/zen.slide#1 > > Regards, > Baiju M > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > -- *Thanks & Regardskracekumar"Talk is cheap, show me the code" -- Linus Torvaldshttp://kracekumar.com * From vsapre80 at gmail.com Wed Aug 20 14:22:09 2014 From: vsapre80 at gmail.com (Vishal) Date: Wed, 20 Aug 2014 17:52:09 +0530 Subject: [BangPypers] "The Python I would like to see" - Armin Ronacher In-Reply-To: References: <9758810171d78c48b77e104b10461d16@hcoop.net> <667ddbfa743f5fa3c13f9f2f1de087cd@hcoop.net> <64d8cdda042bbf41116b3af17cc9f769@hcoop.net> Message-ID: Dear All, Interesting to note that this same point (about instantiating multiple interpreters was raised on our mailing list...about 3-4 years back).... by Yours Truly :)) See the mail chain titled: *"Ideas for Python concurrency..."* Life is coming full circle :) Take care, Vishal Sapre Thanks and best regards, Vishal Sapre --- Please DONT print this email, unless you really need to. Save Energy & Paper. Save the Earth. On Wed, Aug 20, 2014 at 2:09 AM, kracekumar ramaraju < kracethekingmaker at gmail.com> wrote: > Hi > > I am late to the party, adding my thoughts. > > - It is good to have Python spec and implementation decoupled from each > other. By that it would be possible to have different run time. Lot of > people say rust memory management is good, so someone can implement Python > in rust. Though library compatibility and C code integration will be always > an issue. > > - In my opinion other than logical error most of the error I have > encountered working with Python is passing dict to function where model > object was expected and KeyError. Though KeyError in dict can be avoided by > using .get and other technique. Still I haven't figured linter for > Emacs/Sublime which can notify about the type of the argument. Yes, I am > aware of function annotation in Python 3, but I can't see linter/IDE which > has integrated this. When I pass wrong type argument I would like to see > hint in the editor. Without function annotation in python 2.7 it is harder > to make linter aware of types. Though docstring can help to solve this > issue but not completely. > > - Though pip, venv solve issue to certain extent. If there are 100+ > packages need to be installed, pip will take atleast 60 - 90 seconds to > check all the packages are installed considering venv have all packages > (AWS). Then deploy will look like code deploy + package install + restart > of service. There are high chances request may pile up if restart of > service takes more than 30 - 40 seconds if the app is single page app > (Initial load during peak hours). Also if PyPi is down my deployment will > fail, having PyPi mirror isn't affordable. So far I haven't faced any issue > with PyPi, but there were times when npmjs.org is down :-) Yes you can > package all your dependencies in .deb files and distribute but there is a > cost associated with it. With golang style of deployment all the > installation time and packaging issue is solved with single binary. > > +1 for https://talks.golang.org/2012/zen.slide#1. > > - At some point I was looking into PEX for deployment, felt it isn't ready > yet, probably will try once again. > > > > > > > > > On Wed, Aug 20, 2014 at 1:14 AM, Baiju M wrote: > > > On Tue, Aug 19, 2014 at 9:42 PM, Gora Mohanty > wrote: > > > On 19 August 2014 21:24, Baiju M wrote: > > >> > > >> I would like to add one point about deployment of large and complex > > >> applications written in Python. Deployment of these types of > > applications > > >> are very difficult in Python. > > > > > > Would you please elaborate on the difficulties? We are reasonably > > > happy with AWS images to bootstrap the system, then virtualenv, pip, > > > fabric and now ansible to deploy Django apps. > > > > Using cloud based images, orchestration tools like Ansible, container > > technologies like Docker all helps to make application deployment easier. > > However, it's still complex compared to copying a single binary and > > running it. > > > > >> I would love to > > install single statically > > >> linked binaries for deployment. Building these binaries should be very > > fact > > >> also, say less than 1 minute. > > > > > > Statically-linked binaries are so 1990s :-) > > > > Modern languages like Rust ( http://www.rust-lang.org/ ) & Go ( > > http://golang.org/ ) > > seems to produce statically linked binaries by default. > > > > > > > >> This is one of the > reason > > I am getting > > >> attracted to Golang :-) > > > > > > For me, the main attraction of Go is the concurrency features. Syntax > > still > > > seems strange, though. > > > > I felt Go more Pythonic :) > > > > https://talks.golang.org/2012/zen.slide#1 > > > > Regards, > > Baiju M > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > https://mail.python.org/mailman/listinfo/bangpypers > > > > > > -- > > *Thanks & Regardskracekumar"Talk is cheap, show me the code" -- Linus > Torvaldshttp://kracekumar.com * > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > From pydanny at gmail.com Wed Aug 20 15:26:30 2014 From: pydanny at gmail.com (Daniel Greenfeld) Date: Wed, 20 Aug 2014 10:26:30 -0300 Subject: [BangPypers] BangPypers Digest, Vol 84, Issue 14 In-Reply-To: References: Message-ID: > Date: Wed, 20 Aug 2014 02:09:32 +0530 > From: kracekumar ramaraju > To: Bangalore Python Users Group - India > Subject: Re: [BangPypers] "The Python I would like to see" - Armin Ronacher > Message-ID: > Content-Type: text/plain; charset=UTF-8 > Hi > I am late to the party, adding my thoughts. > - Though pip, venv solve issue to certain extent. If there are 100+ > packages need to be installed, pip will take atleast 60 - 90 seconds to > check all the packages are installed considering venv have all packages > (AWS). Then deploy will look like code deploy + package install + restart > of service. There are high chances request may pile up if restart of > service takes more than 30 - 40 seconds if the app is single page app > (Initial load during peak hours). Also if PyPi is down my deployment will > fail, having PyPi mirror isn't affordable. So far I haven't faced any issue > with PyPi, but there were times when npmjs.org is down :-) Yes you can > package all your dependencies in .deb files and distribute but there is a > cost associated with it. With golang style of deployment all the > installation time and packaging issue is solved with single binary. If you are worrying about PyPI dependability, don't use PyPI. Don't even use a PyPI mirror! For what it's worth, this also applies to RubyGems, NPM, and anything else. Also, I don't really think of PyPI as secure. The maintainers are well-meaning, but AFAIK none of them (even Donald Stufft) are paid professionally to maintain PyPI. They are volunteers working on a crufty application thats grown organically into security from something that was never meant to be secure in the first place. FWIW, this also applies to RubyGems and NPM. I'm not certain if it applies to Go, but I wouldn't be surprised if it does. So what do you do? How do you host your packages? 1. Host the packages on your own private server. You don't need all the fanciness of a package server (PyPI, NPM, RubyGems, et al). All you need is the ability to host files. If you don't want to go through the trouble of setting this up with Apache or Nginx, then just set up a git repo hosting the eggs/wheels (not GitHub) your project can access from. 2. Purchase the services of a company whose job it is to provide SECURED, dependable access to your packages. Off the top of my head I can tell you that GemFury does it for Ruby, Python, Node, Go, et al. Yes, this is extra work, but if you want dependability/security, it's the way to go. Sincerely, Daniel Greenfeld From kracethekingmaker at gmail.com Wed Aug 20 15:54:04 2014 From: kracethekingmaker at gmail.com (kracekumar ramaraju) Date: Wed, 20 Aug 2014 19:24:04 +0530 Subject: [BangPypers] BangPypers Digest, Vol 84, Issue 14 In-Reply-To: References: Message-ID: On Wed, Aug 20, 2014 at 6:56 PM, Daniel Greenfeld wrote: > > Date: Wed, 20 Aug 2014 02:09:32 +0530 > > From: kracekumar ramaraju > > To: Bangalore Python Users Group - India > > Subject: Re: [BangPypers] "The Python I would like to see" - Armin > Ronacher > > Message-ID: > > HuLWMw at mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > > Hi > > > I am late to the party, adding my thoughts. > > > - Though pip, venv solve issue to certain extent. If there are 100+ > > packages need to be installed, pip will take atleast 60 - 90 seconds to > > check all the packages are installed considering venv have all packages > > (AWS). Then deploy will look like code deploy + package install + restart > > of service. There are high chances request may pile up if restart of > > service takes more than 30 - 40 seconds if the app is single page app > > (Initial load during peak hours). Also if PyPi is down my deployment will > > fail, having PyPi mirror isn't affordable. So far I haven't faced any > issue > > with PyPi, but there were times when npmjs.org is down :-) Yes you can > > package all your dependencies in .deb files and distribute but there is a > > cost associated with it. With golang style of deployment all the > > installation time and packaging issue is solved with single binary. > > If you are worrying about PyPI dependability, don't use PyPI. Don't > even use a PyPI mirror! For what it's worth, this also applies to > RubyGems, NPM, and anything else. > > Also, I don't really think of PyPI as secure. The maintainers are > well-meaning, but AFAIK none of them (even Donald Stufft) are paid > professionally to maintain PyPI. They are volunteers working on a > crufty application thats grown organically into security from > something that was never meant to be secure in the first place. > > FWIW, this also applies to RubyGems and NPM. I'm not certain if it > applies to Go, but I wouldn't be surprised if it does. > > So what do you do? How do you host your packages? > > 1. Host the packages on your own private server. You don't need all > the fanciness of a package server (PyPI, NPM, RubyGems, et al). All > you need is the ability to host files. If you don't want to go through > the trouble of setting this up with Apache or Nginx, then just set up > a git repo hosting the eggs/wheels (not GitHub) your project can > access from. > > 2. Purchase the services of a company whose job it is to provide > SECURED, dependable access to your packages. Off the top of my head I > can tell you that GemFury does it for Ruby, Python, Node, Go, et al. > > Yes, this is extra work, but if you want dependability/security, it's > the way to go. > > Hmmm. The point I was making was different. Any service can go down, can't see why third party or my own service won't go down. Ability to package the dependencies once all the tests pass is what all I want. If Python wheels or any third party library which can give me that kind of solution, I am happy. I am aware of the dstuff work https://caremad.io/blog/how-has-python-packaging-failed-you/ and https://warehouse.python.org/. AFAIK PyPI is much better maintained that NPM and rubyGems. > Sincerely, > > Daniel Greenfeld > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > -- *Thanks & Regardskracekumar"Talk is cheap, show me the code" -- Linus Torvaldshttp://kracekumar.com * From santhoshe at netskope.com Thu Aug 21 05:09:33 2014 From: santhoshe at netskope.com (Santhosh Edukulla) Date: Thu, 21 Aug 2014 08:39:33 +0530 Subject: [BangPypers] [JOB]: Senior Engineers Message-ID: Hello All, Good Day. We are looking for people with below job profiles for our organization. Please do the needful. 1. Senior Engineer: 9-12 years experience, with decent experience in design, architect and implementing, large and enterprise scale api driven applications. This engineer will hold the fort and lead from the front for all aspects viz., design,dev,QA etc, etc. for one of the key upcoming\started component, starting from zero to get it to a production working stage. KeySkills Required: Python,mongodb,asynchronous prog,celery,event management, linux,redis,flask, REST, writing connectors and middlewares etc among others. Any earlier experience, working with cloud deployment and developing solutions for the same are highly regarded. 2. Senior Engineer for Automation\QA: 8-10 years of experience with automation, CI, jenkins, python, ansible, automated deployments, building and maintaining frameworks are few of the skills required. He\She will own the complete ownership of QA aspects from manual to automation for this role for a given team. Salary and perks: As per the experience and near to best :) Check below links for more information on netskope. Mail me for more information about the roles and any other information. http://www.netskope.com/ http://www.forbes.com/sites/benkepes/2014/05/15/netskope-raises-35m-to-secure-the-enterprise-cloud/ Regards, Santhosh From shashidhar85 at gmail.com Thu Aug 21 11:56:12 2014 From: shashidhar85 at gmail.com (Shashidhar Paragonda) Date: Thu, 21 Aug 2014 15:26:12 +0530 Subject: [BangPypers] xlrd Message-ID: Hello all, >>> I am using xlrd library to read .xls files, >>> wb = xlrd.open_workbook("workbook_name.xls") >>> when I execute I get error : Traceback (most recent call last): File "rater_document_parser.py", line 72, in wb = xlrd.open_workbook(row.SERVER_MOUNT_PATH) File "/usr/lib/python2.6/site-packages/xlrd/__init__.py", line 435, in open_workbook ragged_rows=ragged_rows, File "/usr/lib/python2.6/site-packages/xlrd/book.py", line 116, in open_workbook_xls bk.parse_globals() File "/usr/lib/python2.6/site-packages/xlrd/book.py", line 1178, in parse_globals self.handle_filepass(data) File "/usr/lib/python2.6/site-packages/xlrd/book.py", line 896, in handle_filepass raise XLRDError("Workbook is encrypted") xlrd.biffh.XLRDError: Workbook is encrypted >>> when I manually open, it open >>> any suggession on resolving this error. >>>Thank you. ----------------------------------- Regards, Shashidhar N.Paragonda shashidhar85 at gmail.com +919900093835 From jnkoushik at gmail.com Thu Aug 21 13:20:19 2014 From: jnkoushik at gmail.com (Jayanth Koushik) Date: Thu, 21 Aug 2014 16:50:19 +0530 Subject: [BangPypers] xlrd In-Reply-To: References: Message-ID: Are you sure the files aren't encrypted? If they are, then xlrd can't handle them. http://www.lexicon.net/sjmachin/README.html (Look at 'Unlikely to be done') Jayanth On Thu, Aug 21, 2014 at 3:26 PM, Shashidhar Paragonda < shashidhar85 at gmail.com> wrote: > Hello all, > >>> I am using xlrd library to read .xls files, > >>> wb = xlrd.open_workbook("workbook_name.xls") > >>> when I execute I get error : > > Traceback (most recent call last): > File "rater_document_parser.py", line 72, in > wb = xlrd.open_workbook(row.SERVER_MOUNT_PATH) > File "/usr/lib/python2.6/site-packages/xlrd/__init__.py", line 435, in > open_workbook > ragged_rows=ragged_rows, > File "/usr/lib/python2.6/site-packages/xlrd/book.py", line 116, in > open_workbook_xls > bk.parse_globals() > File "/usr/lib/python2.6/site-packages/xlrd/book.py", line 1178, in > parse_globals > self.handle_filepass(data) > File "/usr/lib/python2.6/site-packages/xlrd/book.py", line 896, in > handle_filepass > raise XLRDError("Workbook is encrypted") > xlrd.biffh.XLRDError: Workbook is encrypted > > >>> when I manually open, it open > >>> any suggession on resolving this error. > >>>Thank you. > > > > ----------------------------------- > Regards, > > Shashidhar N.Paragonda > shashidhar85 at gmail.com > +919900093835 > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > From jnkoushik at gmail.com Thu Aug 21 13:33:48 2014 From: jnkoushik at gmail.com (Jayanth Koushik) Date: Thu, 21 Aug 2014 17:03:48 +0530 Subject: [BangPypers] xlrd In-Reply-To: References: Message-ID: Actually, that might be outdated. I grepped the xlrd source for this particular exception. It's raised only from once place: xlrd/book.py:896 (assuming you're using the latest version: 0.9.3). The particular function 'handle_filepass' is weird...: def handle_filepass(self, data): if self.verbosity >= 2: logf = self.logfile fprintf(logf, "FILEPASS:\n") hex_char_dump(data, 0, len(data), base=0, fout=logf) if self.biff_version >= 80: kind1, = unpack(' wrote: > Are you sure the files aren't encrypted? If they are, then xlrd can't > handle them. > > http://www.lexicon.net/sjmachin/README.html (Look at 'Unlikely to be > done') > > Jayanth > > > > On Thu, Aug 21, 2014 at 3:26 PM, Shashidhar Paragonda < > shashidhar85 at gmail.com> wrote: > >> Hello all, >> >>> I am using xlrd library to read .xls files, >> >>> wb = xlrd.open_workbook("workbook_name.xls") >> >>> when I execute I get error : >> >> Traceback (most recent call last): >> File "rater_document_parser.py", line 72, in >> wb = xlrd.open_workbook(row.SERVER_MOUNT_PATH) >> File "/usr/lib/python2.6/site-packages/xlrd/__init__.py", line 435, in >> open_workbook >> ragged_rows=ragged_rows, >> File "/usr/lib/python2.6/site-packages/xlrd/book.py", line 116, in >> open_workbook_xls >> bk.parse_globals() >> File "/usr/lib/python2.6/site-packages/xlrd/book.py", line 1178, in >> parse_globals >> self.handle_filepass(data) >> File "/usr/lib/python2.6/site-packages/xlrd/book.py", line 896, in >> handle_filepass >> raise XLRDError("Workbook is encrypted") >> xlrd.biffh.XLRDError: Workbook is encrypted >> >> >>> when I manually open, it open >> >>> any suggession on resolving this error. >> >>>Thank you. >> >> >> >> ----------------------------------- >> Regards, >> >> Shashidhar N.Paragonda >> shashidhar85 at gmail.com >> +919900093835 >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> https://mail.python.org/mailman/listinfo/bangpypers >> > > From shashidhar85 at gmail.com Thu Aug 21 15:49:41 2014 From: shashidhar85 at gmail.com (Shashidhar Paragonda) Date: Thu, 21 Aug 2014 19:19:41 +0530 Subject: [BangPypers] xlrd In-Reply-To: References: Message-ID: Hi Jayanth, >>> sorry the files were encrypted, with option available in MS-excel s/w. They are in read-only mode. >>> I saw the book.py program of xlrd lib, I dint understood about verbosity level and all. >>> is there any changes to be made to book.py ? >>> thanks in advance. ----------------------------------- Regards, Shashidhar N.Paragonda shashidhar85 at gmail.com +919900093835 On Thu, Aug 21, 2014 at 5:03 PM, Jayanth Koushik wrote: > Actually, that might be outdated. I grepped the xlrd source for this > particular exception. It's raised only from once place: xlrd/book.py:896 > (assuming you're using the latest version: 0.9.3). The particular function > 'handle_filepass' is weird...: > > def handle_filepass(self, data): > if self.verbosity >= 2: > logf = self.logfile > fprintf(logf, "FILEPASS:\n") > hex_char_dump(data, 0, len(data), base=0, fout=logf) > if self.biff_version >= 80: > kind1, = unpack(' if kind1 == 0: # weak XOR encryption > key, hash_value = unpack(' fprintf(logf, > 'weak XOR: key=0x%04x hash=0x%04x\n', > key, hash_value) > elif kind1 == 1: > kind2, = unpack(' if kind2 == 1: # BIFF8 standard encryption > caption = "BIFF8 std" > elif kind2 == 2: > caption = "BIFF8 strong" > else: > caption = "** UNKNOWN ENCRYPTION METHOD **" > fprintf(logf, "%s\n", caption) > raise XLRDError("Workbook is encrypted") > > Is that function only handling encryption if verbosity is greater than 2? > > Jayanth > > > > On Thu, Aug 21, 2014 at 4:50 PM, Jayanth Koushik > wrote: > > > Are you sure the files aren't encrypted? If they are, then xlrd can't > > handle them. > > > > http://www.lexicon.net/sjmachin/README.html (Look at 'Unlikely to be > > done') > > > > Jayanth > > > > > > > > On Thu, Aug 21, 2014 at 3:26 PM, Shashidhar Paragonda < > > shashidhar85 at gmail.com> wrote: > > > >> Hello all, > >> >>> I am using xlrd library to read .xls files, > >> >>> wb = xlrd.open_workbook("workbook_name.xls") > >> >>> when I execute I get error : > >> > >> Traceback (most recent call last): > >> File "rater_document_parser.py", line 72, in > >> wb = xlrd.open_workbook(row.SERVER_MOUNT_PATH) > >> File "/usr/lib/python2.6/site-packages/xlrd/__init__.py", line 435, in > >> open_workbook > >> ragged_rows=ragged_rows, > >> File "/usr/lib/python2.6/site-packages/xlrd/book.py", line 116, in > >> open_workbook_xls > >> bk.parse_globals() > >> File "/usr/lib/python2.6/site-packages/xlrd/book.py", line 1178, in > >> parse_globals > >> self.handle_filepass(data) > >> File "/usr/lib/python2.6/site-packages/xlrd/book.py", line 896, in > >> handle_filepass > >> raise XLRDError("Workbook is encrypted") > >> xlrd.biffh.XLRDError: Workbook is encrypted > >> > >> >>> when I manually open, it open > >> >>> any suggession on resolving this error. > >> >>>Thank you. > >> > >> > >> > >> ----------------------------------- > >> Regards, > >> > >> Shashidhar N.Paragonda > >> shashidhar85 at gmail.com > >> +919900093835 > >> _______________________________________________ > >> BangPypers mailing list > >> BangPypers at python.org > >> https://mail.python.org/mailman/listinfo/bangpypers > >> > > > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > From jnkoushik at gmail.com Thu Aug 21 17:02:08 2014 From: jnkoushik at gmail.com (Jayanth Koushik) Date: Thu, 21 Aug 2014 20:32:08 +0530 Subject: [BangPypers] xlrd In-Reply-To: References: Message-ID: If the encryption does not matter, then the easier way might be to remove the encryption and proceed normally using xlrd. But I'm not sure how to do that (don't use excel). Can anyone else in the group help with this? Jayanth On Thu, Aug 21, 2014 at 7:19 PM, Shashidhar Paragonda < shashidhar85 at gmail.com> wrote: > Hi Jayanth, > >>> sorry the files were encrypted, with option available in MS-excel s/w. > They are in read-only mode. > >>> I saw the book.py program of xlrd lib, I dint understood about > verbosity level and all. > >>> is there any changes to be made to book.py ? > >>> thanks in advance. > > > > ----------------------------------- > Regards, > > Shashidhar N.Paragonda > shashidhar85 at gmail.com > +919900093835 > > > On Thu, Aug 21, 2014 at 5:03 PM, Jayanth Koushik > wrote: > > > Actually, that might be outdated. I grepped the xlrd source for this > > particular exception. It's raised only from once place: xlrd/book.py:896 > > (assuming you're using the latest version: 0.9.3). The particular > function > > 'handle_filepass' is weird...: > > > > def handle_filepass(self, data): > > if self.verbosity >= 2: > > logf = self.logfile > > fprintf(logf, "FILEPASS:\n") > > hex_char_dump(data, 0, len(data), base=0, fout=logf) > > if self.biff_version >= 80: > > kind1, = unpack(' > if kind1 == 0: # weak XOR encryption > > key, hash_value = unpack(' > fprintf(logf, > > 'weak XOR: key=0x%04x hash=0x%04x\n', > > key, hash_value) > > elif kind1 == 1: > > kind2, = unpack(' > if kind2 == 1: # BIFF8 standard encryption > > caption = "BIFF8 std" > > elif kind2 == 2: > > caption = "BIFF8 strong" > > else: > > caption = "** UNKNOWN ENCRYPTION METHOD **" > > fprintf(logf, "%s\n", caption) > > raise XLRDError("Workbook is encrypted") > > > > Is that function only handling encryption if verbosity is greater than 2? > > > > Jayanth > > > > > > > > On Thu, Aug 21, 2014 at 4:50 PM, Jayanth Koushik > > wrote: > > > > > Are you sure the files aren't encrypted? If they are, then xlrd can't > > > handle them. > > > > > > http://www.lexicon.net/sjmachin/README.html (Look at 'Unlikely to be > > > done') > > > > > > Jayanth > > > > > > > > > > > > On Thu, Aug 21, 2014 at 3:26 PM, Shashidhar Paragonda < > > > shashidhar85 at gmail.com> wrote: > > > > > >> Hello all, > > >> >>> I am using xlrd library to read .xls files, > > >> >>> wb = xlrd.open_workbook("workbook_name.xls") > > >> >>> when I execute I get error : > > >> > > >> Traceback (most recent call last): > > >> File "rater_document_parser.py", line 72, in > > >> wb = xlrd.open_workbook(row.SERVER_MOUNT_PATH) > > >> File "/usr/lib/python2.6/site-packages/xlrd/__init__.py", line 435, > in > > >> open_workbook > > >> ragged_rows=ragged_rows, > > >> File "/usr/lib/python2.6/site-packages/xlrd/book.py", line 116, in > > >> open_workbook_xls > > >> bk.parse_globals() > > >> File "/usr/lib/python2.6/site-packages/xlrd/book.py", line 1178, in > > >> parse_globals > > >> self.handle_filepass(data) > > >> File "/usr/lib/python2.6/site-packages/xlrd/book.py", line 896, in > > >> handle_filepass > > >> raise XLRDError("Workbook is encrypted") > > >> xlrd.biffh.XLRDError: Workbook is encrypted > > >> > > >> >>> when I manually open, it open > > >> >>> any suggession on resolving this error. > > >> >>>Thank you. > > >> > > >> > > >> > > >> ----------------------------------- > > >> Regards, > > >> > > >> Shashidhar N.Paragonda > > >> shashidhar85 at gmail.com > > >> +919900093835 > > >> _______________________________________________ > > >> BangPypers mailing list > > >> BangPypers at python.org > > >> https://mail.python.org/mailman/listinfo/bangpypers > > >> > > > > > > > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > https://mail.python.org/mailman/listinfo/bangpypers > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > From niranjan.salimath at gmail.com Fri Aug 22 08:31:50 2014 From: niranjan.salimath at gmail.com (Niranjan Salimath) Date: Fri, 22 Aug 2014 12:01:50 +0530 Subject: [BangPypers] [Hackathon] BeaglesLoft TechBuilders 2.0 Message-ID: Hello! We at BeaglesLoft are excited to announce the second edition of our computer science hackathon tomorrow; and we would love to see the python community participating! For more information & to RSVP please visit the event page . Thanks, -- - Niranjan @sr_niranjan From vikram.ahuja1 at gmail.com Fri Aug 22 10:27:47 2014 From: vikram.ahuja1 at gmail.com (Vikram Ahuja) Date: Fri, 22 Aug 2014 12:27:47 +0400 Subject: [BangPypers] [JOB] Startups & living the entrepreneurial dream. Message-ID: Hello all, Kyron (www.kyron.me) is one of India's leading startup accelerators based in Bangalore and founded by a very experienced team of serial entrepreneurs and industry leaders. Over the last 2 years, we have worked with some of India's best startups to help them develop winning, scalable propositions. We are now looking for smart, very passionate and talented folks to join our team. Benefits include : - BE an entrepreneur (minus a lot of the upfront risk) ! Join founding teams of very exciting startups with attractive equity options in select cases - Learn how to build a product, grow a team and shape a company - Have the option to work on multiple startups over a given time, tremendous exposure to multiple domains & verticals If interested, please email : superstars at kyron.me. More details about the JD, role is here : kyron.me/careers.html Please feel free to email me with any questions. Thanks, Vikram From skb655952 at gmail.com Sun Aug 24 13:21:20 2014 From: skb655952 at gmail.com (sayantan bhattacharya) Date: Sun, 24 Aug 2014 16:51:20 +0530 Subject: [BangPypers] xlrd In-Reply-To: References: Message-ID: Hi Jayanth, Can you provide me the excel file or a similar file with corresponding arbit data? I have worked with xlrd and xlwt before and have not faced any issue like this - though the files I have been using are not password protected. -- Sayantan On Aug 21, 2014 8:32 PM, "Jayanth Koushik" wrote: > If the encryption does not matter, then the easier way might be to remove > the encryption and proceed normally using xlrd. But I'm not sure how to do > that (don't use excel). Can anyone else in the group help with this? > > Jayanth > > > On Thu, Aug 21, 2014 at 7:19 PM, Shashidhar Paragonda < > shashidhar85 at gmail.com> wrote: > > > Hi Jayanth, > > >>> sorry the files were encrypted, with option available in MS-excel > s/w. > > They are in read-only mode. > > >>> I saw the book.py program of xlrd lib, I dint understood about > > verbosity level and all. > > >>> is there any changes to be made to book.py ? > > >>> thanks in advance. > > > > > > > > ----------------------------------- > > Regards, > > > > Shashidhar N.Paragonda > > shashidhar85 at gmail.com > > +919900093835 > > > > > > On Thu, Aug 21, 2014 at 5:03 PM, Jayanth Koushik > > wrote: > > > > > Actually, that might be outdated. I grepped the xlrd source for this > > > particular exception. It's raised only from once place: > xlrd/book.py:896 > > > (assuming you're using the latest version: 0.9.3). The particular > > function > > > 'handle_filepass' is weird...: > > > > > > def handle_filepass(self, data): > > > if self.verbosity >= 2: > > > logf = self.logfile > > > fprintf(logf, "FILEPASS:\n") > > > hex_char_dump(data, 0, len(data), base=0, fout=logf) > > > if self.biff_version >= 80: > > > kind1, = unpack(' > > if kind1 == 0: # weak XOR encryption > > > key, hash_value = unpack(' > > fprintf(logf, > > > 'weak XOR: key=0x%04x hash=0x%04x\n', > > > key, hash_value) > > > elif kind1 == 1: > > > kind2, = unpack(' > > if kind2 == 1: # BIFF8 standard encryption > > > caption = "BIFF8 std" > > > elif kind2 == 2: > > > caption = "BIFF8 strong" > > > else: > > > caption = "** UNKNOWN ENCRYPTION METHOD **" > > > fprintf(logf, "%s\n", caption) > > > raise XLRDError("Workbook is encrypted") > > > > > > Is that function only handling encryption if verbosity is greater than > 2? > > > > > > Jayanth > > > > > > > > > > > > On Thu, Aug 21, 2014 at 4:50 PM, Jayanth Koushik > > > wrote: > > > > > > > Are you sure the files aren't encrypted? If they are, then xlrd can't > > > > handle them. > > > > > > > > http://www.lexicon.net/sjmachin/README.html (Look at 'Unlikely to be > > > > done') > > > > > > > > Jayanth > > > > > > > > > > > > > > > > On Thu, Aug 21, 2014 at 3:26 PM, Shashidhar Paragonda < > > > > shashidhar85 at gmail.com> wrote: > > > > > > > >> Hello all, > > > >> >>> I am using xlrd library to read .xls files, > > > >> >>> wb = xlrd.open_workbook("workbook_name.xls") > > > >> >>> when I execute I get error : > > > >> > > > >> Traceback (most recent call last): > > > >> File "rater_document_parser.py", line 72, in > > > >> wb = xlrd.open_workbook(row.SERVER_MOUNT_PATH) > > > >> File "/usr/lib/python2.6/site-packages/xlrd/__init__.py", line > 435, > > in > > > >> open_workbook > > > >> ragged_rows=ragged_rows, > > > >> File "/usr/lib/python2.6/site-packages/xlrd/book.py", line 116, in > > > >> open_workbook_xls > > > >> bk.parse_globals() > > > >> File "/usr/lib/python2.6/site-packages/xlrd/book.py", line 1178, > in > > > >> parse_globals > > > >> self.handle_filepass(data) > > > >> File "/usr/lib/python2.6/site-packages/xlrd/book.py", line 896, in > > > >> handle_filepass > > > >> raise XLRDError("Workbook is encrypted") > > > >> xlrd.biffh.XLRDError: Workbook is encrypted > > > >> > > > >> >>> when I manually open, it open > > > >> >>> any suggession on resolving this error. > > > >> >>>Thank you. > > > >> > > > >> > > > >> > > > >> ----------------------------------- > > > >> Regards, > > > >> > > > >> Shashidhar N.Paragonda > > > >> shashidhar85 at gmail.com > > > >> +919900093835 > > > >> _______________________________________________ > > > >> BangPypers mailing list > > > >> BangPypers at python.org > > > >> https://mail.python.org/mailman/listinfo/bangpypers > > > >> > > > > > > > > > > > _______________________________________________ > > > BangPypers mailing list > > > BangPypers at python.org > > > https://mail.python.org/mailman/listinfo/bangpypers > > > > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > https://mail.python.org/mailman/listinfo/bangpypers > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > From jnkoushik at gmail.com Sun Aug 24 18:46:46 2014 From: jnkoushik at gmail.com (Jayanth Koushik) Date: Sun, 24 Aug 2014 22:16:46 +0530 Subject: [BangPypers] xlrd In-Reply-To: References: Message-ID: Sorry, I don't use excel. Jayanth On Sun, Aug 24, 2014 at 4:51 PM, sayantan bhattacharya wrote: > Hi Jayanth, > > Can you provide me the excel file or a similar file with corresponding > arbit data? I have worked with xlrd and xlwt before and have not faced any > issue like this - though the files I have been using are not password > protected. > > -- > Sayantan > On Aug 21, 2014 8:32 PM, "Jayanth Koushik" wrote: > > > If the encryption does not matter, then the easier way might be to remove > > the encryption and proceed normally using xlrd. But I'm not sure how to > do > > that (don't use excel). Can anyone else in the group help with this? > > > > Jayanth > > > > > > On Thu, Aug 21, 2014 at 7:19 PM, Shashidhar Paragonda < > > shashidhar85 at gmail.com> wrote: > > > > > Hi Jayanth, > > > >>> sorry the files were encrypted, with option available in MS-excel > > s/w. > > > They are in read-only mode. > > > >>> I saw the book.py program of xlrd lib, I dint understood about > > > verbosity level and all. > > > >>> is there any changes to be made to book.py ? > > > >>> thanks in advance. > > > > > > > > > > > > ----------------------------------- > > > Regards, > > > > > > Shashidhar N.Paragonda > > > shashidhar85 at gmail.com > > > +919900093835 > > > > > > > > > On Thu, Aug 21, 2014 at 5:03 PM, Jayanth Koushik > > > wrote: > > > > > > > Actually, that might be outdated. I grepped the xlrd source for this > > > > particular exception. It's raised only from once place: > > xlrd/book.py:896 > > > > (assuming you're using the latest version: 0.9.3). The particular > > > function > > > > 'handle_filepass' is weird...: > > > > > > > > def handle_filepass(self, data): > > > > if self.verbosity >= 2: > > > > logf = self.logfile > > > > fprintf(logf, "FILEPASS:\n") > > > > hex_char_dump(data, 0, len(data), base=0, fout=logf) > > > > if self.biff_version >= 80: > > > > kind1, = unpack(' > > > if kind1 == 0: # weak XOR encryption > > > > key, hash_value = unpack(' > > > fprintf(logf, > > > > 'weak XOR: key=0x%04x hash=0x%04x\n', > > > > key, hash_value) > > > > elif kind1 == 1: > > > > kind2, = unpack(' > > > if kind2 == 1: # BIFF8 standard encryption > > > > caption = "BIFF8 std" > > > > elif kind2 == 2: > > > > caption = "BIFF8 strong" > > > > else: > > > > caption = "** UNKNOWN ENCRYPTION METHOD **" > > > > fprintf(logf, "%s\n", caption) > > > > raise XLRDError("Workbook is encrypted") > > > > > > > > Is that function only handling encryption if verbosity is greater > than > > 2? > > > > > > > > Jayanth > > > > > > > > > > > > > > > > On Thu, Aug 21, 2014 at 4:50 PM, Jayanth Koushik < > jnkoushik at gmail.com> > > > > wrote: > > > > > > > > > Are you sure the files aren't encrypted? If they are, then xlrd > can't > > > > > handle them. > > > > > > > > > > http://www.lexicon.net/sjmachin/README.html (Look at 'Unlikely to > be > > > > > done') > > > > > > > > > > Jayanth > > > > > > > > > > > > > > > > > > > > On Thu, Aug 21, 2014 at 3:26 PM, Shashidhar Paragonda < > > > > > shashidhar85 at gmail.com> wrote: > > > > > > > > > >> Hello all, > > > > >> >>> I am using xlrd library to read .xls files, > > > > >> >>> wb = xlrd.open_workbook("workbook_name.xls") > > > > >> >>> when I execute I get error : > > > > >> > > > > >> Traceback (most recent call last): > > > > >> File "rater_document_parser.py", line 72, in > > > > >> wb = xlrd.open_workbook(row.SERVER_MOUNT_PATH) > > > > >> File "/usr/lib/python2.6/site-packages/xlrd/__init__.py", line > > 435, > > > in > > > > >> open_workbook > > > > >> ragged_rows=ragged_rows, > > > > >> File "/usr/lib/python2.6/site-packages/xlrd/book.py", line 116, > in > > > > >> open_workbook_xls > > > > >> bk.parse_globals() > > > > >> File "/usr/lib/python2.6/site-packages/xlrd/book.py", line 1178, > > in > > > > >> parse_globals > > > > >> self.handle_filepass(data) > > > > >> File "/usr/lib/python2.6/site-packages/xlrd/book.py", line 896, > in > > > > >> handle_filepass > > > > >> raise XLRDError("Workbook is encrypted") > > > > >> xlrd.biffh.XLRDError: Workbook is encrypted > > > > >> > > > > >> >>> when I manually open, it open > > > > >> >>> any suggession on resolving this error. > > > > >> >>>Thank you. > > > > >> > > > > >> > > > > >> > > > > >> ----------------------------------- > > > > >> Regards, > > > > >> > > > > >> Shashidhar N.Paragonda > > > > >> shashidhar85 at gmail.com > > > > >> +919900093835 > > > > >> _______________________________________________ > > > > >> BangPypers mailing list > > > > >> BangPypers at python.org > > > > >> https://mail.python.org/mailman/listinfo/bangpypers > > > > >> > > > > > > > > > > > > > > _______________________________________________ > > > > BangPypers mailing list > > > > BangPypers at python.org > > > > https://mail.python.org/mailman/listinfo/bangpypers > > > > > > > _______________________________________________ > > > BangPypers mailing list > > > BangPypers at python.org > > > https://mail.python.org/mailman/listinfo/bangpypers > > > > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > https://mail.python.org/mailman/listinfo/bangpypers > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > From arunvr at gmail.com Sun Aug 24 23:45:17 2014 From: arunvr at gmail.com (Arun Ravindran) Date: Mon, 25 Aug 2014 03:15:17 +0530 Subject: [BangPypers] "The Python I would like to see" - Armin Ronacher In-Reply-To: References: <9758810171d78c48b77e104b10461d16@hcoop.net> <667ddbfa743f5fa3c13f9f2f1de087cd@hcoop.net> <64d8cdda042bbf41116b3af17cc9f769@hcoop.net> Message-ID: Gosh, I am really late to this party. But it is interesting to see many views (and changes in views) mirroring my own. To address chandrakant kumar 's criticism of Python 3: > 1. Lack of packages ported to Python 3... Take a look at Python 3 Wall of SuperPowers . 83% of packages are green. The rest are mostly work in progress. There is a good chance that all the packages you need are already ported to Python 3. Besides, the incompatibility is the very point. Python 3 is a major version change not because it is big update with dramatic new features, but due to its backward incompatibility. This is a good practice, according to semantic version. API has changed. Language is cleaned up and most of the ugly warts are gone. The upgrade path is quite painless. > 2. Performance is same if not less ... Which wouldn't be surprising considering that it is not a complete rewrite. But each Python 3 release is significantly faster than the previous one. Iterators are now the default leading to significant savings in memory usage. Often, Python is chosen for its simplicity than speed. > 3, and the inconvenience it caused without the rewards, made me regret my decision to move to Python 3. The reward is supposed to be cleaner code. I have struggled with Unicode handling in Python 2 until I added enough hacks in an web scraping project till I had lost track of the encoding of any given string. That is now a non-issue in Python 3. My latest Django project in Python 3 reads a lot easier thanks to clearer super() syntax and new-style classes. Almost all my Django dependencies except Fabric (being replaced by Ansible) are now Python 3 compatible. There is a much better written article about Python 3 here: http://sealedabstract.com/rants/python-3-is-fine/ In my opinion, Python 3 has become a really viable option in last few months. If you considered it in the past and gave it a miss, then you should definitely check it out again. Cheers, Arun On Wed, Aug 20, 2014 at 5:52 PM, Vishal wrote: > Dear All, > > Interesting to note that this same point (about instantiating multiple > interpreters was raised on our mailing list...about 3-4 years back).... > by Yours Truly :)) > > See the mail chain titled: *"Ideas for Python concurrency..."* > > Life is coming full circle :) > > Take care, > Vishal Sapre > > > > Thanks and best regards, > Vishal Sapre > > --- > Please DONT print this email, unless you really need to. Save Energy & > Paper. Save the Earth. > > > On Wed, Aug 20, 2014 at 2:09 AM, kracekumar ramaraju < > kracethekingmaker at gmail.com> wrote: > > > Hi > > > > I am late to the party, adding my thoughts. > > > > - It is good to have Python spec and implementation decoupled from each > > other. By that it would be possible to have different run time. Lot of > > people say rust memory management is good, so someone can implement > Python > > in rust. Though library compatibility and C code integration will be > always > > an issue. > > > > - In my opinion other than logical error most of the error I have > > encountered working with Python is passing dict to function where model > > object was expected and KeyError. Though KeyError in dict can be avoided > by > > using .get and other technique. Still I haven't figured linter for > > Emacs/Sublime which can notify about the type of the argument. Yes, I am > > aware of function annotation in Python 3, but I can't see linter/IDE > which > > has integrated this. When I pass wrong type argument I would like to see > > hint in the editor. Without function annotation in python 2.7 it is > harder > > to make linter aware of types. Though docstring can help to solve this > > issue but not completely. > > > > - Though pip, venv solve issue to certain extent. If there are 100+ > > packages need to be installed, pip will take atleast 60 - 90 seconds to > > check all the packages are installed considering venv have all packages > > (AWS). Then deploy will look like code deploy + package install + restart > > of service. There are high chances request may pile up if restart of > > service takes more than 30 - 40 seconds if the app is single page app > > (Initial load during peak hours). Also if PyPi is down my deployment will > > fail, having PyPi mirror isn't affordable. So far I haven't faced any > issue > > with PyPi, but there were times when npmjs.org is down :-) Yes you can > > package all your dependencies in .deb files and distribute but there is a > > cost associated with it. With golang style of deployment all the > > installation time and packaging issue is solved with single binary. > > > > +1 for https://talks.golang.org/2012/zen.slide#1. > > > > - At some point I was looking into PEX for deployment, felt it isn't > ready > > yet, probably will try once again. > > > > > > > > > > > > > > > > > > On Wed, Aug 20, 2014 at 1:14 AM, Baiju M wrote: > > > > > On Tue, Aug 19, 2014 at 9:42 PM, Gora Mohanty > > wrote: > > > > On 19 August 2014 21:24, Baiju M wrote: > > > >> > > > >> I would like to add one point about deployment of large and complex > > > >> applications written in Python. Deployment of these types of > > > applications > > > >> are very difficult in Python. > > > > > > > > Would you please elaborate on the difficulties? We are reasonably > > > > happy with AWS images to bootstrap the system, then virtualenv, pip, > > > > fabric and now ansible to deploy Django apps. > > > > > > Using cloud based images, orchestration tools like Ansible, container > > > technologies like Docker all helps to make application deployment > easier. > > > However, it's still complex compared to copying a single binary and > > > running it. > > > > > > >> I would love to > > > install single statically > > > >> linked binaries for deployment. Building these binaries should be > very > > > fact > > > >> also, say less than 1 minute. > > > > > > > > Statically-linked binaries are so 1990s :-) > > > > > > Modern languages like Rust ( http://www.rust-lang.org/ ) & Go ( > > > http://golang.org/ ) > > > seems to produce statically linked binaries by default. > > > > > > > > > > >> This is one of the > > reason > > > I am getting > > > >> attracted to Golang :-) > > > > > > > > For me, the main attraction of Go is the concurrency features. Syntax > > > still > > > > seems strange, though. > > > > > > I felt Go more Pythonic :) > > > > > > https://talks.golang.org/2012/zen.slide#1 > > > > > > Regards, > > > Baiju M > > > _______________________________________________ > > > BangPypers mailing list > > > BangPypers at python.org > > > https://mail.python.org/mailman/listinfo/bangpypers > > > > > > > > > > > -- > > > > *Thanks & Regardskracekumar"Talk is cheap, show me the code" -- Linus > > Torvaldshttp://kracekumar.com * > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > https://mail.python.org/mailman/listinfo/bangpypers > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > From sirtaj at sirtaj.net Mon Aug 25 08:44:19 2014 From: sirtaj at sirtaj.net (Sirtaj Singh Kang) Date: Mon, 25 Aug 2014 12:14:19 +0530 Subject: [BangPypers] "The Python I would like to see" - Armin Ronacher In-Reply-To: References: Message-ID: <53FADB43.9080304@sirtaj.net> On Tuesday 19 August 2014 10:29 PM, Gora Mohanty wrote: [snip] > To revive an ancient meme about whom to credit memorable quotes to: > Do not write code. Write code that writes code I move that this list be renamed to banglispers posthaste. -Taj. From anandology at gmail.com Mon Aug 25 11:45:35 2014 From: anandology at gmail.com (Anand Chitipothu) Date: Mon, 25 Aug 2014 15:15:35 +0530 Subject: [BangPypers] [XPOST] Python Month is back as Python Express Message-ID: Hello everyone, Last year, along with PyCon India 2013, we have conducted Python workshops in education institutions across India for one month. It was huge success and we conducted more than 100 workshops. This year, Python Month is back in all its glory, but with a new face and a new plan. Python Month is now Python Express! There were two main motivations behind this idea. One is the tremendous response that we got last year both in terms of trainers willing to teach, as well as colleges and institutions willing to organize workshops. Both these factors made us think, "Why stop with just one month?". Hence, Python Express is going to be an ongoing effort. The second motivation was the lessons learned from organizing such an initiative without the proper use of technology. A lot of time was spent in match making and house keeping the records related to all the workshops. After having understood what would save everyone's time when automated, we've built this brand new website for Python Express! Checkout the Python Express website: http://www.pythonexpress.in/ WHAT SHOULD YOU DO? Sign up as a trainer on the Python Express website and check the list of colleges that are willing to organize workshops. If you find any of them to be suitable for you to go and teach at, Express Interest in that particular college. Once you are accepted, you will be notified and things can be taken forward from there. Sign up as a trainer now: http://www.pythonexpress.in/trainers/signup If you are interested in organizing a Python workshop, sign up as an organization/institution on the Python Express website. The trainers who have already signed up will be able to see your institution. If they are interested, they will Express Interest in your institution. Once that happens, you will be able to accept them and take it forward. Register an organization now: http://www.pythonexpress.in/orgs/signup Spread the word and let us spread the love of Python far and wide. Have any questions? Feel free to get in touch with us at contact-at-pythonexpress-dot-in. Sincerely, The Python Express team http://www.pythonexpress.in/ https://twitter.com/pythonexpress From baiju.m.mail at gmail.com Mon Aug 25 12:13:32 2014 From: baiju.m.mail at gmail.com (Baiju Muthukadan) Date: Mon, 25 Aug 2014 03:13:32 -0700 (PDT) Subject: [BangPypers] PyCon India 2014: Regular Registration Closing Dates Message-ID: <53fb0c4c.c531460a.36ba.fffff9f1@mx.google.com> Us being a very compassionate bunch at PyCon India, we can't bear to see people coming to us and saying they missed buying tickets and asking whether there is anything they could do to attend the event. Unfortunately, the conference venue itself has a limit of ~1000 attendees, we won't be able to fit more people in. Getting to the point, the ticket sales are nearing its very end. Both in terms of time and quantity. Seriously. There are only a few left in both the Regular registration as well as Student registration category. First come, first serve. So, if you really want to come for PyCon India 2014, which absolutely is something that you don't want to miss, then buy your tickets now! Right now! http://pyconindia2014.doattend.com/ Assuming we have tickets left, regular and student registrations will remain open till 31st August, midnight. From September 1st onwards there will only be a single category of ticket priced at Rs. 1500. See you there! From tanuj at toptalent.in Tue Aug 26 16:37:07 2014 From: tanuj at toptalent.in (Tanuj Deshpande) Date: Tue, 26 Aug 2014 20:07:07 +0530 Subject: [BangPypers] [Job]Full Stack Developer Opportunity!! Message-ID: Hi, Petasense is looking for Full Stack Developers in Bangalore. If interested, please follow the below link. https://www.toptalent.in/job/3186/iot-full-stack-software-engineer-bangalore-india/ Thanks & Regards Deshpande Tanuj *Manager - **Sales & Marketing * TopTalent.in *Exceptional Talent, Exclusive Positions.* E: tanuj at toptalent.in M: +91 976 973 2837 ---------------------------------------------------------- ----------------------- Facebook | Twitter | Linkedin | YouTube | Blog | Android ---------------------------------------------------------- ----------------------- https://www.youtube.com/watch?v=4xsI6PQ1Io0 From sukhbinder.singh at gmail.com Tue Aug 26 20:01:18 2014 From: sukhbinder.singh at gmail.com (Sukhbinder Singh) Date: Tue, 26 Aug 2014 23:31:18 +0530 Subject: [BangPypers] Ticket available Message-ID: For personal reason, i won't be able to go to pycon india this time, so would like to sell my ticket to any one interested.... Organisers, please let me know if this can be done and how!!! thanks On Tue, Aug 26, 2014 at 3:30 PM, wrote: > Send BangPypers mailing list submissions to > bangpypers at python.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://mail.python.org/mailman/listinfo/bangpypers > or, via email, send a message with subject or body 'help' to > bangpypers-request at python.org > > You can reach the person managing the list at > bangpypers-owner at python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of BangPypers digest..." > > > Today's Topics: > > 1. PyCon India 2014: Regular Registration Closing Dates > (Baiju Muthukadan) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 25 Aug 2014 03:13:32 -0700 (PDT) > From: Baiju Muthukadan > To: Bangalore PUG > Subject: [BangPypers] PyCon India 2014: Regular Registration Closing > Dates > Message-ID: <53fb0c4c.c531460a.36ba.fffff9f1 at mx.google.com> > Content-Type: text/plain; charset="utf-8" > > Us being a very compassionate bunch at PyCon India, we can't bear to > see people coming to us and saying they missed buying tickets and > asking whether there is anything they could do to attend the event. > Unfortunately, the conference venue itself has a limit of ~1000 > attendees, we won't be able to fit more people in. > > Getting to the point, the ticket sales are nearing its very end. Both > in terms of time and quantity. Seriously. There are only a few left > in both the Regular registration as well as Student registration > category. First come, first serve. So, if you really want to come > for PyCon India 2014, which absolutely is something that you don't > want to miss, then buy your tickets now! Right now! > > http://pyconindia2014.doattend.com/ > > Assuming we have tickets left, regular and student registrations will > remain open till 31st August, midnight. From September 1st onwards > there will only be a single category of ticket priced at Rs. 1500. > > See you there! > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > > > ------------------------------ > > End of BangPypers Digest, Vol 84, Issue 21 > ****************************************** > -- Sukhbinder From anand21nanda at gmail.com Wed Aug 27 15:59:59 2014 From: anand21nanda at gmail.com (Anand Reddy Pandikunta) Date: Wed, 27 Aug 2014 19:29:59 +0530 Subject: [BangPypers] Ticket available In-Reply-To: References: Message-ID: To cancel tickets, You need to do is send an email to tickets at in.pycon.org with the Order No. you received and the name of the attendee. Checkout http://in.pycon.org/2014/blog/faq-frequently-asked-questions/ On Tue, Aug 26, 2014 at 11:31 PM, Sukhbinder Singh < sukhbinder.singh at gmail.com> wrote: > For personal reason, i won't be able to go to pycon india this time, so > would like to sell my ticket to any one interested.... Organisers, please > let me know if this can be done and how!!! > > thanks > > > On Tue, Aug 26, 2014 at 3:30 PM, wrote: > > > Send BangPypers mailing list submissions to > > bangpypers at python.org > > > > To subscribe or unsubscribe via the World Wide Web, visit > > https://mail.python.org/mailman/listinfo/bangpypers > > or, via email, send a message with subject or body 'help' to > > bangpypers-request at python.org > > > > You can reach the person managing the list at > > bangpypers-owner at python.org > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of BangPypers digest..." > > > > > > Today's Topics: > > > > 1. PyCon India 2014: Regular Registration Closing Dates > > (Baiju Muthukadan) > > > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Mon, 25 Aug 2014 03:13:32 -0700 (PDT) > > From: Baiju Muthukadan > > To: Bangalore PUG > > Subject: [BangPypers] PyCon India 2014: Regular Registration Closing > > Dates > > Message-ID: <53fb0c4c.c531460a.36ba.fffff9f1 at mx.google.com> > > Content-Type: text/plain; charset="utf-8" > > > > Us being a very compassionate bunch at PyCon India, we can't bear to > > see people coming to us and saying they missed buying tickets and > > asking whether there is anything they could do to attend the event. > > Unfortunately, the conference venue itself has a limit of ~1000 > > attendees, we won't be able to fit more people in. > > > > Getting to the point, the ticket sales are nearing its very end. Both > > in terms of time and quantity. Seriously. There are only a few left > > in both the Regular registration as well as Student registration > > category. First come, first serve. So, if you really want to come > > for PyCon India 2014, which absolutely is something that you don't > > want to miss, then buy your tickets now! Right now! > > > > http://pyconindia2014.doattend.com/ > > > > Assuming we have tickets left, regular and student registrations will > > remain open till 31st August, midnight. From September 1st onwards > > there will only be a single category of ticket priced at Rs. 1500. > > > > See you there! > > > > ------------------------------ > > > > Subject: Digest Footer > > > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > https://mail.python.org/mailman/listinfo/bangpypers > > > > > > ------------------------------ > > > > End of BangPypers Digest, Vol 84, Issue 21 > > ****************************************** > > > > > > -- > Sukhbinder > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > -- - Anand Reddy Pandikunta www.avilpage.com www.quotes160.com From baiju.m.mail at gmail.com Sat Aug 30 20:40:02 2014 From: baiju.m.mail at gmail.com (Baiju Muthukadan) Date: Sat, 30 Aug 2014 11:40:02 -0700 (PDT) Subject: [BangPypers] PyCon India 2014: Last day for regular registration! Message-ID: <54021a82.4af0440a.1fe0.ffff8510@mx.google.com> Hi, This is a gentle reminder about PyCon India 2014 regular registration. Today is the last day for regular registration! If you haven't registered yet, hurry now! Less than 24 hours left for the regular registration closing. Tomorrow onwards there will only be a single category of ticket priced at Rs. 1500. You can register online from here: http://pyconindia2014.doattend.com -- Baiju Muthukadan