From stafferscentral at hotmail.com Mon Jun 6 16:18:32 2011 From: stafferscentral at hotmail.com (Manoj Cherian) Date: Mon, 6 Jun 2011 19:48:32 +0530 Subject: [BangPypers] [Job offer] Django developers with one year experience In-Reply-To: References: Message-ID: Dear All, This is a job Posting on behalf of our Client. We need a 2 developers with 1+ yrs experience in Django. We need 3 developers with 6+ months experience in Django. Good understanding of Postgresql/ MySql and linux will be a added plus. Intrested candidates, please get back to me ASAP at stafferscentral at hotmail.com. The positions are based out of Bangalore and may involve oveseas travel. Best Regards,Manoj Cherian From dg288_mits at yahoo.co.in Tue Jun 7 12:41:15 2011 From: dg288_mits at yahoo.co.in (deepak gupta) Date: Tue, 7 Jun 2011 16:11:15 +0530 (IST) Subject: [BangPypers] [JOB-Commercial] -- Openings at Bangalore In-Reply-To: Message-ID: <994451.42779.qm@web137309.mail.in.yahoo.com> Hi All, ? Total opening in DMX Technology?: 10 ,Domain : IT Infra structure Management (NMS/EMS/Network Security/ITIL V3 ServiceDesk/BSS/CMS etc.) ? Python Developer : 1-3 Yr Exp. ,??Knowledge of core libraries, APIs, wrappers Django Developer (?Not just Python). Very Good Knowledge of Ajax (JQuery) is must. Knowledge of CSS and web tools is an advantage. An experience of being involved with at least a couple of serious Django projects. The candidate need not know Python, but will need to work with Python/.Net developers. All jobs are full time and are based in Bangalore. Interested person can send me their resume. ? Thanks, Deepak G. ? From dg288_mits at yahoo.co.in Tue Jun 7 12:46:15 2011 From: dg288_mits at yahoo.co.in (deepak gupta) Date: Tue, 7 Jun 2011 16:16:15 +0530 (IST) Subject: [BangPypers] Opening in Bangalore Message-ID: <332945.35758.qm@web137305.mail.in.yahoo.com> Hi All, ? Total opening in DMX Technology?: 10 ,Domain : IT Infra structure Management (NMS/EMS/Network Security/ITIL V3 ServiceDesk/BSS/CMS etc.) ? Python Developer : 1-3 Yr Exp. ,??Knowledge of core libraries, APIs, wrappers Django Developer (?Not just Python). Very Good Knowledge of Ajax (JQuery) is must. Knowledge of CSS and web tools is an advantage. An experience of being involved with at least a couple of serious Django projects. The candidate need not know Python, but will need to work with Python/.Net developers. All jobs are full time and are based in Bangalore. Interested person can send me their resume. ? Thanks, Deepak G. From sirtaj at sirtaj.net Wed Jun 8 07:38:12 2011 From: sirtaj at sirtaj.net (Sirtaj Singh Kang) Date: Wed, 8 Jun 2011 11:08:12 +0530 Subject: [BangPypers] WSGI app instrumentation - middleware or other Message-ID: <9EA205B3-7122-453D-8312-98284D8B95C8@sirtaj.net> Hi all, I'd like to hear from python web devs on strategies for instrumenting production wsgi apps for perfomance and availability monitoring. Are there existing tools that you use? What sort of things do you monitor (db connection state, response time stats etc) and how intrusive are the instrumentation tools on the performance of the system itself? -Taj. From anandology at gmail.com Wed Jun 8 08:08:54 2011 From: anandology at gmail.com (Anand Chitipothu) Date: Wed, 8 Jun 2011 11:38:54 +0530 Subject: [BangPypers] WSGI app instrumentation - middleware or other In-Reply-To: <9EA205B3-7122-453D-8312-98284D8B95C8@sirtaj.net> References: <9EA205B3-7122-453D-8312-98284D8B95C8@sirtaj.net> Message-ID: 2011/6/8 Sirtaj Singh Kang : > Hi all, > > I'd like to hear from python web devs on strategies for instrumenting > production wsgi apps for perfomance and availability monitoring. Are there > existing tools that you use? What sort of things do you monitor (db > connection state, response time stats etc) and how intrusive are the > instrumentation tools on the performance of the system itself? Graphite + statsd/pystatsd is pretty good for performance tracking. http://codeascraft.etsy.com/2011/02/15/measure-anything-measure-everything/ The app sends performance metrics as UDP packets to statsd and collects stats and updates Graphite, the storage and rendering engine, at regular intervals. Since the app is using UDP, it doesn't have to wait for acknowledgement for packets send, adding very less overhead. We use nagios for availability monitoring. There are many alternatives, try asking google. http://www.google.co.in/search?q=nagios+alternatives Anand From noufal at gmail.com Wed Jun 8 08:47:28 2011 From: noufal at gmail.com (Noufal Ibrahim) Date: Wed, 08 Jun 2011 12:17:28 +0530 Subject: [BangPypers] Use group meeting Message-ID: <8762ogx1j3.fsf@sanitarium.localdomain> Anyone working on anything interesting that they'd like to share in a user group meeting? The Bangalore Python scene seems to be stagnating a little. -- ~noufal http://nibrahim.net.in Run down, my dear fellow, and open the door, for all virtuous folk have been long in bed. -- Sherlock Holmes From anandology at gmail.com Wed Jun 8 09:23:35 2011 From: anandology at gmail.com (Anand Chitipothu) Date: Wed, 8 Jun 2011 12:53:35 +0530 Subject: [BangPypers] Use group meeting In-Reply-To: <8762ogx1j3.fsf@sanitarium.localdomain> References: <8762ogx1j3.fsf@sanitarium.localdomain> Message-ID: 2011/6/8 Noufal Ibrahim : > > Anyone working on anything interesting that they'd like to share in a > user group meeting? The Bangalore Python scene seems to be stagnating a > little. I can talk about OuchDB, a project I'm working on to implement CouchDB API on relational databases. http://github.com/anandology/ouchdb Anand From sirtaj at sirtaj.net Wed Jun 8 09:30:24 2011 From: sirtaj at sirtaj.net (Sirtaj Singh Kang) Date: Wed, 8 Jun 2011 13:00:24 +0530 Subject: [BangPypers] WSGI app instrumentation - middleware or other In-Reply-To: References: <9EA205B3-7122-453D-8312-98284D8B95C8@sirtaj.net> Message-ID: On 08-Jun-11, at 11:38 AM, Anand Chitipothu wrote: [snip] > Graphite + statsd/pystatsd is pretty good for performance tracking. Thanks, I hadn't heard of Graphite before, I've been struggling with Cacti. I'll give this a try. > We use nagios for availability monitoring. There are many > alternatives, try asking google. I've been using icinga and cacti - my interest is in the python side of things. You've given me a lot of good pointers, thanks again. > http://www.google.co.in/search?q=nagios+alternatives Very funny! -Taj. From sriramnrn at gmail.com Wed Jun 8 09:54:37 2011 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Wed, 8 Jun 2011 13:24:37 +0530 Subject: [BangPypers] WSGI app instrumentation - middleware or other In-Reply-To: References: <9EA205B3-7122-453D-8312-98284D8B95C8@sirtaj.net> Message-ID: I recommend using DTrace. There was a video hosted on YouTube last night on using DTrace to understand MySQL performance. I have retweeted about it (@sriramnrn) today morning. If you use DTrace, you can understand latencies at various sections of the system. -- Sriram On 6/8/11, Sirtaj Singh Kang wrote: > > On 08-Jun-11, at 11:38 AM, Anand Chitipothu wrote: > [snip] >> Graphite + statsd/pystatsd is pretty good for performance tracking. > > Thanks, I hadn't heard of Graphite before, I've been struggling with > Cacti. I'll give this a try. > >> We use nagios for availability monitoring. There are many >> alternatives, try asking google. > > I've been using icinga and cacti - my interest is in the python side > of things. > You've given me a lot of good pointers, thanks again. > >> http://www.google.co.in/search?q=nagios+alternatives > > Very funny! > > -Taj. > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Sent from my mobile device ================== Belenix: www.belenix.org From noufal at gmail.com Wed Jun 8 10:54:16 2011 From: noufal at gmail.com (Noufal Ibrahim) Date: Wed, 08 Jun 2011 14:24:16 +0530 Subject: [BangPypers] WSGI app instrumentation - middleware or other In-Reply-To: (Sriram Narayanan's message of "Wed, 8 Jun 2011 13:24:37 +0530") References: <9EA205B3-7122-453D-8312-98284D8B95C8@sirtaj.net> Message-ID: <87ipsgvh3b.fsf@sanitarium.localdomain> Sriram Narayanan writes: > I recommend using DTrace. > > There was a video hosted on YouTube last night on using DTrace to > understand MySQL performance. I have retweeted about it (@sriramnrn) > today morning. > > If you use DTrace, you can understand latencies at various sections of > the system. Isn't that Solaris only? [...] -- ~noufal http://nibrahim.net.in Goes (Went) over like a lead balloon. From sriramnrn at gmail.com Wed Jun 8 11:14:47 2011 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Wed, 8 Jun 2011 14:44:47 +0530 Subject: [BangPypers] WSGI app instrumentation - middleware or other In-Reply-To: <87ipsgvh3b.fsf@sanitarium.localdomain> References: <9EA205B3-7122-453D-8312-98284D8B95C8@sirtaj.net> <87ipsgvh3b.fsf@sanitarium.localdomain> Message-ID: Solaris, opensolaris, openindiana, freebsd, OSX. Also see crispeditor for dtrace on linux. -- Sriram On 6/8/11, Noufal Ibrahim wrote: > Sriram Narayanan writes: > >> I recommend using DTrace. >> >> There was a video hosted on YouTube last night on using DTrace to >> understand MySQL performance. I have retweeted about it (@sriramnrn) >> today morning. >> >> If you use DTrace, you can understand latencies at various sections of >> the system. > > Isn't that Solaris only? > > [...] > > > -- > ~noufal > http://nibrahim.net.in > > Goes (Went) over like a lead balloon. > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Sent from my mobile device ================== Belenix: www.belenix.org From noufal at gmail.com Wed Jun 8 11:25:48 2011 From: noufal at gmail.com (Noufal Ibrahim) Date: Wed, 08 Jun 2011 14:55:48 +0530 Subject: [BangPypers] WSGI app instrumentation - middleware or other In-Reply-To: (Sriram Narayanan's message of "Wed, 8 Jun 2011 14:44:47 +0530") References: <9EA205B3-7122-453D-8312-98284D8B95C8@sirtaj.net> <87ipsgvh3b.fsf@sanitarium.localdomain> Message-ID: <87d3iovfmr.fsf@sanitarium.localdomain> Sriram Narayanan writes: > Solaris, opensolaris, openindiana, freebsd, OSX. > > Also see crispeditor for dtrace on linux. [...] Interesting. I think it should be possible (and would be useful) to drop statistics obtained using dtrace into graphite (along with other things that dtrace can't do) so that you can a single uniform picture of what's going on. -- ~noufal http://nibrahim.net.in The first condition of immortality is death. -Stanislaw Lec From anandology at gmail.com Wed Jun 8 11:45:25 2011 From: anandology at gmail.com (Anand Chitipothu) Date: Wed, 8 Jun 2011 15:15:25 +0530 Subject: [BangPypers] WSGI app instrumentation - middleware or other In-Reply-To: <87d3iovfmr.fsf@sanitarium.localdomain> References: <9EA205B3-7122-453D-8312-98284D8B95C8@sirtaj.net> <87ipsgvh3b.fsf@sanitarium.localdomain> <87d3iovfmr.fsf@sanitarium.localdomain> Message-ID: 2011/6/8 Noufal Ibrahim : > Sriram Narayanan writes: > >> Solaris, opensolaris, openindiana, freebsd, OSX. >> >> Also see crispeditor for dtrace on linux. > > [...] > > Interesting. > > I think it should be possible (and would be useful) to drop statistics > obtained using dtrace into graphite (along with other things that dtrace > can't do) so that you can a single uniform picture of what's going on. I think it is too low-level tool to use for performance monitoring. It might be good for some detailed introspection or troubleshooting. I think the python profiler gives quite good information about where the time is spent. I use a special query parameter to dump the profiling information of handling a single request using hotshot profiler. http://openlibrary.org/lists?_profile=true (scroll to the bottom to see the output of the profiler). Anand From sriramnrn at gmail.com Wed Jun 8 11:54:33 2011 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Wed, 8 Jun 2011 15:24:33 +0530 Subject: [BangPypers] WSGI app instrumentation - middleware or other In-Reply-To: References: <9EA205B3-7122-453D-8312-98284D8B95C8@sirtaj.net> <87ipsgvh3b.fsf@sanitarium.localdomain> <87d3iovfmr.fsf@sanitarium.localdomain> Message-ID: I'll show a demo someday. It can work at various levels. Anyway, let the ideas continue to pour in. -- Ram On 6/8/11, Anand Chitipothu wrote: > 2011/6/8 Noufal Ibrahim : >> Sriram Narayanan writes: >> >>> Solaris, opensolaris, openindiana, freebsd, OSX. >>> >>> Also see crispeditor for dtrace on linux. >> >> [...] >> >> Interesting. >> >> I think it should be possible (and would be useful) to drop statistics >> obtained using dtrace into graphite (along with other things that dtrace >> can't do) so that you can a single uniform picture of what's going on. > > I think it is too low-level tool to use for performance monitoring. It > might be good for some detailed introspection or troubleshooting. I > think the python profiler gives quite good information about where the > time is spent. > > I use a special query parameter to dump the profiling information of > handling a single request using hotshot profiler. > > http://openlibrary.org/lists?_profile=true > > (scroll to the bottom to see the output of the profiler). > > Anand > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Sent from my mobile device ================== Belenix: www.belenix.org From venkat83 at gmail.com Wed Jun 8 12:44:10 2011 From: venkat83 at gmail.com (Venkatraman S) Date: Wed, 8 Jun 2011 16:14:10 +0530 Subject: [BangPypers] Use group meeting In-Reply-To: References: <8762ogx1j3.fsf@sanitarium.localdomain> Message-ID: On Wed, Jun 8, 2011 at 12:53 PM, Anand Chitipothu wrote: > I can talk about OuchDB, a project I'm working on to implement CouchDB > API on relational databases. > Curious : whats the use case? From noufal at gmail.com Wed Jun 8 12:59:59 2011 From: noufal at gmail.com (Noufal Ibrahim) Date: Wed, 08 Jun 2011 16:29:59 +0530 Subject: [BangPypers] Use group meeting In-Reply-To: (Venkatraman S.'s message of "Wed, 8 Jun 2011 16:14:10 +0530") References: <8762ogx1j3.fsf@sanitarium.localdomain> Message-ID: <878vtcvb9s.fsf@sanitarium.localdomain> Venkatraman S writes: > On Wed, Jun 8, 2011 at 12:53 PM, Anand Chitipothu wrote: > >> I can talk about OuchDB, a project I'm working on to implement CouchDB >> API on relational databases. >> > > Curious : whats the use case? [...] It's a bit of a long story really. It's mostly based on Anand's experiences creating another noSQL storage system on top of postgreSQL and some performance problems with couch itself. If there's sufficient interest, it would be a fun talk. All the noSQL naysayers would be welcome too. :) -- ~noufal http://nibrahim.net.in All truths are true to an extend, including this one. -XA From lorddaemon at gmail.com Wed Jun 8 14:22:12 2011 From: lorddaemon at gmail.com (Sidu Ponnappa) Date: Wed, 8 Jun 2011 17:52:12 +0530 Subject: [BangPypers] Use group meeting In-Reply-To: <878vtcvb9s.fsf@sanitarium.localdomain> References: <8762ogx1j3.fsf@sanitarium.localdomain> <878vtcvb9s.fsf@sanitarium.localdomain> Message-ID: >>> I can talk about OuchDB, a project I'm working on to implement CouchDB >>> API on relational databases. >>> >> >> Curious : whats the use case? I would use it just because the name is awesome. :) Best, Sidu. http://c42.in On Wed, Jun 8, 2011 at 4:29 PM, Noufal Ibrahim wrote: > Venkatraman S writes: > >> On Wed, Jun 8, 2011 at 12:53 PM, Anand Chitipothu wrote: >> >>> I can talk about OuchDB, a project I'm working on to implement CouchDB >>> API on relational databases. >>> >> >> Curious : whats the use case? > > [...] > > It's a bit of a long story really. It's mostly based on Anand's > experiences creating another noSQL storage system on top of postgreSQL > and some performance problems with couch itself. > > If there's sufficient interest, it would be a fun talk. All the noSQL > naysayers would be welcome too. :) > > > > > -- > ~noufal > http://nibrahim.net.in > > All truths are true to an extend, including this one. -XA > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From noufal at gmail.com Thu Jun 9 13:29:13 2011 From: noufal at gmail.com (Noufal Ibrahim) Date: Thu, 09 Jun 2011 16:59:13 +0530 Subject: [BangPypers] Use group meeting In-Reply-To: (Sidu Ponnappa's message of "Wed, 8 Jun 2011 17:52:12 +0530") References: <8762ogx1j3.fsf@sanitarium.localdomain> <878vtcvb9s.fsf@sanitarium.localdomain> Message-ID: <87hb7zs0om.fsf@sanitarium.localdomain> Sidu Ponnappa writes: >>>> I can talk about OuchDB, a project I'm working on to implement CouchDB >>>> API on relational databases. >>>> >>> >>> Curious : whats the use case? > > I would use it just because the name is awesome. :) [...] So, do we have any more interest in the talk? Any other talks which people might be interested in giving? I did some work myself recently using Lamson[1] which is an MVC framework for email based applications. I can give a presentation on that if there's interest. As for time, this weekend is BarCamp. Perhaps the next weekend (18 or 19 June). Footnotes: [1] http://lamsonproject.org -- ~noufal http://nibrahim.net.in Some bird populations soaring down -Headline of an article in Science News, page 126, February 20, 1993. From nitin.nitp at gmail.com Mon Jun 13 16:19:53 2011 From: nitin.nitp at gmail.com (Nitin Kumar) Date: Mon, 13 Jun 2011 19:49:53 +0530 Subject: [BangPypers] return value Message-ID: HI All, In my framework, some of function returns a Tuple. def fn (): return a,b x,y = fn() Going forward, I got such a situation where we need to return single value from function. (Don't ask me to retain old behavior :) ) Now the problem is we need to maintain backward compatibility too. Is there any way we can make the function so smart that according to the way function is being called, it should return single value or a tuple. -- Nitin K From venkat83 at gmail.com Mon Jun 13 16:32:34 2011 From: venkat83 at gmail.com (Venkatraman S) Date: Mon, 13 Jun 2011 20:02:34 +0530 Subject: [BangPypers] return value In-Reply-To: References: Message-ID: On Mon, Jun 13, 2011 at 7:49 PM, Nitin Kumar wrote: > > In my framework, some of function returns a Tuple. > > def fn (): > return a,b > > x,y = fn() > > Going forward, I got such a situation where we need to return single value > from function. (Don't ask me to retain old behavior :) ) > > Now the problem is we need to maintain backward compatibility too. > Is there any way we can make the function so smart that according to the > way > function is being called, it should return single value or a tuple. > > Does your func by any chance accept **kw (i.e, multiple arguments)? From nitin.nitp at gmail.com Mon Jun 13 17:41:51 2011 From: nitin.nitp at gmail.com (Nitin Kumar) Date: Mon, 13 Jun 2011 21:11:51 +0530 Subject: [BangPypers] return value In-Reply-To: References: Message-ID: Yes, It takes, *arg as well as**args. I just gave an example to show the return from function behavior. Thanks Nitin K On Mon, Jun 13, 2011 at 8:02 PM, Venkatraman S wrote: > On Mon, Jun 13, 2011 at 7:49 PM, Nitin Kumar wrote: > > > > > In my framework, some of function returns a Tuple. > > > > def fn (): > > return a,b > > > > x,y = fn() > > > > Going forward, I got such a situation where we need to return single > value > > from function. (Don't ask me to retain old behavior :) ) > > > > Now the problem is we need to maintain backward compatibility too. > > Is there any way we can make the function so smart that according to the > > way > > function is being called, it should return single value or a tuple. > > > > > Does your func by any chance accept **kw (i.e, multiple arguments)? > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Nitin K From venkat83 at gmail.com Mon Jun 13 18:09:20 2011 From: venkat83 at gmail.com (Venkatraman S) Date: Mon, 13 Jun 2011 21:39:20 +0530 Subject: [BangPypers] return value In-Reply-To: References: Message-ID: On Mon, Jun 13, 2011 at 9:11 PM, Nitin Kumar wrote: > It takes, *arg as well as**args. > I just gave an example to show the return from function behavior. > Then it should be easy right... think in terms of...what you will do when you are given an ice-cream... case 1 - your gf is next to you case 2 - your mom is next to you. Think ;) From amit.pureenergy at gmail.com Mon Jun 13 18:35:24 2011 From: amit.pureenergy at gmail.com (Amit Sethi) Date: Mon, 13 Jun 2011 22:05:24 +0530 Subject: [BangPypers] Error loading fixtures after adding a contenttype relation Message-ID: Hi all , While doing some experiments to extend some features of my project . I added an app and tried to create a generic relation using the contenttype framework as described here https://docs.djangoproject.com/en/dev/ref/contrib/contenttypes/ However when run syncdb again . The fixtures fail to load and give the following error IntegrityError: duplicate key value violates unique constraint "django_content_type_app_label_key" Can some explain to me what is going on/wrong here ? Notably fixtures load fine as long as there is no contenttype based relation. -- A-M-I-T S|S From director at guruprevails.com Mon Jun 13 20:22:12 2011 From: director at guruprevails.com (director guruprevails) Date: Mon, 13 Jun 2011 23:52:12 +0530 Subject: [BangPypers] This June Get In and Drive, Python, Android, Web3.0 and Cloud Computing with GuRu Prevails In-Reply-To: References: Message-ID: > > Dear Python Members, > > > We thank you for *register*ing your interest *in* one or more of our *cutting > edge courses*. > > We are proud to announce our* *twelfth* **work-shop* with *live projects* > on *Python, Web 3.0, Android and Cloud Computing* in* **Bangalore* at > GuRu Prevails! For detailed syllabus *visit www.guruprevails.com * > > *Now watch *the following* videos* > > *IBM and Cloud Computing , Book > writing Machine web 3.0 , Google > Employee on Python , Google on > Android * > > * *Darshan > (star alumnus and now Google employee!) speaks about GuRu Prevails : > > *"I am an alumnus of GuRu Prevails. By the end of the course we were > doing projects that were at par with the projects done at Stanford , MIT > and Yahoo research. I am really grateful to GuRu Prevails for the quality > of the course and transformation that they bring in the students. I am proud > to say that I am a student of GuRu prevails."* > > Let us show you a list of *companies* that *need people* on *Python, > Web3.0, Android and Hadoop* > > *FaceBook ,Google, Amazon, AOL, Samsung, Motorola, eBay, > Yahoo, Microsoft , Nasa *and our own Indian IT companies like TCS, > Infosys, Wipro among others. > > > > Dates and details are as follows: > > *Python* and* web 3.0 *: 25th,26th June, and 2nd, 3rd July > > *Android *and *Cloud Computing *: 9th,10th,16th, and 17th July > > Jobs in Python , Jobs in Android > , Jobs in Web , Jobs in Cloud > Computing > > For *sign-up* details email to info at guruprevails.com *before 17th June > 2011* > > > Make this *commit*ment *now*. *Join* *us* and *become special* in IT > Industry. > > * * > > NB. Pre-requisite for the Android module is familiarity with Object > Oriented programming and for the Hadoop module is familiarity with Python or > Java.* > > Regards,* > > *GuRu Prevails Labs* > > Voice: +91 9972952810 > > www.guruprevails.com > > > > > > > > > > > > > > > > > > > > > > > > From lawgon at gmail.com Tue Jun 14 04:34:30 2011 From: lawgon at gmail.com (Kenneth Gonsalves) Date: Tue, 14 Jun 2011 08:04:30 +0530 Subject: [BangPypers] Error loading fixtures after adding a contenttype relation In-Reply-To: References: Message-ID: <1308018870.2041.2042.camel@localhost> On Mon, 2011-06-13 at 22:05 +0530, Amit Sethi wrote: > IntegrityError: duplicate key value violates unique constraint > "django_content_type_app_label_key" it means that that particular column is already in the database. -- regards Kenneth Gonsalves http://lawgon.livejournal.com/ From noufal at gmail.com Tue Jun 14 06:58:19 2011 From: noufal at gmail.com (Noufal Ibrahim) Date: Tue, 14 Jun 2011 10:28:19 +0530 Subject: [BangPypers] Use group meeting In-Reply-To: <87hb7zs0om.fsf@sanitarium.localdomain> References: <8762ogx1j3.fsf@sanitarium.localdomain> <878vtcvb9s.fsf@sanitarium.localdomain> <87hb7zs0om.fsf@sanitarium.localdomain> Message-ID: Any +1s at all? On 6/9/11, Noufal Ibrahim wrote: > Sidu Ponnappa writes: > >>>>> I can talk about OuchDB, a project I'm working on to implement CouchDB >>>>> API on relational databases. >>>>> >>>> >>>> Curious : whats the use case? >> >> I would use it just because the name is awesome. :) > > [...] > > So, do we have any more interest in the talk? > > Any other talks which people might be interested in giving? > > I did some work myself recently using Lamson[1] which is an MVC > framework for email based applications. I can give a presentation on > that if there's interest. > > As for time, this weekend is BarCamp. Perhaps the next weekend (18 or 19 > June). > > > Footnotes: > [1] http://lamsonproject.org > > -- > ~noufal > http://nibrahim.net.in > > Some bird populations soaring down -Headline of an article in Science News, > page 126, February 20, 1993. > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- ~noufal http://nibrahim.net.in From kushaldas at gmail.com Tue Jun 14 08:07:36 2011 From: kushaldas at gmail.com (Kushal Das) Date: Tue, 14 Jun 2011 11:37:36 +0530 Subject: [BangPypers] How to compare two PyUnicode objects ? Message-ID: Hi, I am writing a python extension in C. I have two PyObjects of type PyUnicode. Now I want to compare the values in the both. Which function I should use for the same ? I was trying PyObject_Compare from [1] but not the getting the correct result. Any link/example to read ? [1] http://docs.python.org/c-api/object.html Kushal -- http://fedoraproject.org http://kushaldas.in From nitin.nitp at gmail.com Tue Jun 14 08:08:51 2011 From: nitin.nitp at gmail.com (Nitin Kumar) Date: Tue, 14 Jun 2011 11:38:51 +0530 Subject: [BangPypers] return value In-Reply-To: References: Message-ID: Couldn't solve your puzzle :( On Mon, Jun 13, 2011 at 9:39 PM, Venkatraman S wrote: > On Mon, Jun 13, 2011 at 9:11 PM, Nitin Kumar wrote: > > > It takes, *arg as well as**args. > > I just gave an example to show the return from function behavior. > > > > Then it should be easy right... > think in terms of...what you will do when you are given an ice-cream... > case 1 - your gf is next to you > case 2 - your mom is next to you. > > Think ;) > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Nitin K From nitin.nitp at gmail.com Tue Jun 14 08:10:38 2011 From: nitin.nitp at gmail.com (Nitin Kumar) Date: Tue, 14 Jun 2011 11:40:38 +0530 Subject: [BangPypers] Image comparison using Python Message-ID: HI All, We are looking for python comparison tool (Don't suggest PIL as it was not useful for us). please do let me know if you any good one. we are looking for the tool to compare two pdf files. -- Nitin K From noufal at gmail.com Tue Jun 14 08:17:55 2011 From: noufal at gmail.com (Noufal Ibrahim) Date: Tue, 14 Jun 2011 11:47:55 +0530 Subject: [BangPypers] Image comparison using Python In-Reply-To: References: Message-ID: Depends on what you want out of it. You could extract text and just diff it or you can check sum the files and compare the hashes. On 6/14/11, Nitin Kumar wrote: > HI All, > > We are looking for python comparison tool (Don't suggest PIL as it was not > useful for us). > please do let me know if you any good one. > > we are looking for the tool to compare two pdf files. > > -- > Nitin K > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- ~noufal http://nibrahim.net.in From kushaldas at gmail.com Tue Jun 14 08:27:18 2011 From: kushaldas at gmail.com (Kushal Das) Date: Tue, 14 Jun 2011 11:57:18 +0530 Subject: [BangPypers] [SOLVED] Re: How to compare two PyUnicode objects ? In-Reply-To: References: Message-ID: On Tue, Jun 14, 2011 at 11:37 AM, Kushal Das wrote: > Hi, > > I am writing a python extension in C. I have two PyObjects of type > PyUnicode. Now I want to compare the values in the both. Which > function I should use for the same ? I was trying PyObject_Compare > from [1] but not the getting the correct result. Any link/example to > read ? I was using the correct function but with wrong values. Fixed now. Kushal -- http://fedoraproject.org http://kushaldas.in From gopalakrishnan.subramani at gmail.com Tue Jun 14 08:37:19 2011 From: gopalakrishnan.subramani at gmail.com (Gopalakrishnan Subramani) Date: Tue, 14 Jun 2011 12:07:19 +0530 Subject: [BangPypers] How to compare the relevancy between news headlines? Message-ID: All, While looking into news.google.co.in site, they find the similar news by grouping them.. For example, The following news headlines from different online portal are grouped together. Jayalalithaa meets PM, DMK watches closely Jaya to meet PM today in New Delhi Jaya-PM meet, 'jittery' DMK watches on Times How to do this in Python? I think, NLT toolkit is too large for me to learn and do.. Any other fun & simpler way to do that? Regards, Gopal From nitin.nitp at gmail.com Tue Jun 14 08:37:39 2011 From: nitin.nitp at gmail.com (Nitin Kumar) Date: Tue, 14 Jun 2011 12:07:39 +0530 Subject: [BangPypers] Image comparison using Python In-Reply-To: References: Message-ID: we need to compare text also but most of the time Image Quality between two pdf. On Tue, Jun 14, 2011 at 11:47 AM, Noufal Ibrahim wrote: > Depends on what you want out of it. You could extract text and just > diff it or you can check sum the files and compare the hashes. > > On 6/14/11, Nitin Kumar wrote: > > HI All, > > > > We are looking for python comparison tool (Don't suggest PIL as it was > not > > useful for us). > > please do let me know if you any good one. > > > > we are looking for the tool to compare two pdf files. > > > > -- > > Nitin K > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > > > -- > ~noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Nitin K From ramdaz at gmail.com Tue Jun 14 08:44:40 2011 From: ramdaz at gmail.com (Ramdas S) Date: Tue, 14 Jun 2011 12:14:40 +0530 Subject: [BangPypers] How to compare the relevancy between news headlines? In-Reply-To: References: Message-ID: On Tue, Jun 14, 2011 at 12:07 PM, Gopalakrishnan Subramani < gopalakrishnan.subramani at gmail.com> wrote: > All, > > While looking into news.google.co.in site, they find the similar news by > grouping them.. > > For example, The following news headlines from different online portal are > grouped together. > > Jayalalithaa meets PM, DMK watches closely > Jaya to meet PM today in New Delhi > Jaya-PM meet, 'jittery' DMK watches on Times > > How to do this in Python? I think, NLT toolkit is too large for me to learn > and do.. Any other fun & simpler way to do that? > I dont think you can do it without using some kind of natural language processing or parsing system. I had tried doing something similar to pickup relevant keywords from an article, and the home grown script just got bigger,complex and actually buggier.And it kept throwing irrelevant stuff. > > Regards, > > Gopal > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Ramdas S +91 9342 583 065 From venkat83 at gmail.com Tue Jun 14 09:27:11 2011 From: venkat83 at gmail.com (Venkatraman S) Date: Tue, 14 Jun 2011 12:57:11 +0530 Subject: [BangPypers] How to compare the relevancy between news headlines? In-Reply-To: References: Message-ID: On Tue, Jun 14, 2011 at 12:07 PM, Gopalakrishnan Subramani < gopalakrishnan.subramani at gmail.com> wrote: > Jayalalithaa meets PM, DMK watches closely > Jaya to meet PM today in New Delhi > Jaya-PM meet, 'jittery' DMK watches on Times > > How to do this in Python? I think, NLT toolkit is too large for me to learn > and do.. Any other fun & simpler way to do that? > 1) NLTK is pretty simple. You can do duplicate detection pretty easily - look out for sample codes. 2) Do a keyword generation from the content and check the correlation between documents. 3) For headlines alone : do a substring matching?(but this would leave the semantics of the text - i.e, 'Jayalalitha was last seen in KOdagu estate' and 'Real estate would get a boost under Jayalalitha' would be categorized under the same) -V http://blizzardzblogs.blogspot.com/ From gopalakrishnan.subramani at gmail.com Tue Jun 14 09:58:23 2011 From: gopalakrishnan.subramani at gmail.com (Gopalakrishnan Subramani) Date: Tue, 14 Jun 2011 13:28:23 +0530 Subject: [BangPypers] How to compare the relevancy between news headlines? In-Reply-To: References: Message-ID: Thanks for suggestion. Can you give me a specific NLT toolset/approach with example if you have experience already? On Tue, Jun 14, 2011 at 12:57 PM, Venkatraman S wrote: > On Tue, Jun 14, 2011 at 12:07 PM, Gopalakrishnan Subramani < > gopalakrishnan.subramani at gmail.com> wrote: > > > Jayalalithaa meets PM, DMK watches closely > > Jaya to meet PM today in New Delhi > > Jaya-PM meet, 'jittery' DMK watches on Times > > > > How to do this in Python? I think, NLT toolkit is too large for me to > learn > > and do.. Any other fun & simpler way to do that? > > > > 1) NLTK is pretty simple. You can do duplicate detection pretty easily - > look out for sample codes. > > 2) Do a keyword generation from the content and check the correlation > between documents. > > 3) For headlines alone : do a substring matching?(but this would leave the > semantics of the text - i.e, 'Jayalalitha was last seen in KOdagu estate' > and 'Real estate would get a boost under Jayalalitha' would be categorized > under the same) > > -V > http://blizzardzblogs.blogspot.com/ > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From director at guruprevails.com Tue Jun 14 10:03:15 2011 From: director at guruprevails.com (director guruprevails) Date: Tue, 14 Jun 2011 13:33:15 +0530 Subject: [BangPypers] How to compare the relevancy between news headlines? In-Reply-To: References: Message-ID: You have to learn NLP and Machine Learning On 6/14/11, Gopalakrishnan Subramani wrote: > All, > > While looking into news.google.co.in site, they find the similar news by > grouping them.. > > For example, The following news headlines from different online portal are > grouped together. > > Jayalalithaa meets PM, DMK watches closely > Jaya to meet PM today in New Delhi > Jaya-PM meet, 'jittery' DMK watches on Times > > How to do this in Python? I think, NLT toolkit is too large for me to learn > and do.. Any other fun & simpler way to do that? > > Regards, > > Gopal > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From venkat83 at gmail.com Tue Jun 14 10:09:17 2011 From: venkat83 at gmail.com (Venkatraman S) Date: Tue, 14 Jun 2011 13:39:17 +0530 Subject: [BangPypers] How to compare the relevancy between news headlines? In-Reply-To: References: Message-ID: On Tue, Jun 14, 2011 at 1:28 PM, Gopalakrishnan Subramani < gopalakrishnan.subramani at gmail.com> wrote: > Thanks for suggestion. Can you give me a specific NLT toolset/approach with > example if you have experience already? > Use Google. Shingling followed by Jaccard similarity. -V From djpatra at gmail.com Tue Jun 14 12:15:27 2011 From: djpatra at gmail.com (devjyoti patra) Date: Tue, 14 Jun 2011 15:45:27 +0530 Subject: [BangPypers] How to compare the relevancy between news headlines? Message-ID: Hi Gopalakrishnan, You can follow the following algorithm for clustering the news items: 1. Tokenize the headline. 2. Remove the stop words from the headlines, i.e., words like "a", "an", "is", "the", etc. 3. Generate shingles from the remaining words. ??? ex, 4-shignles for watches generates the following. ??? ['wa', 'wat', 'watc'] ??? ['at', 'atc', 'atch'] ??? ['tc', 'tch', 'tche'] ??? ['ch', 'che', 'ches'] ??? ['he', 'hes'] ??? ['es''] 4. Calculate Jaccard similarity between each pair of headlines. This will result in a "n*n" matrix for "n" news headlines. Jaccard similarity = (number of common singles between HEAD_a and HEAD_b) / (number of unique singles in HEAD_a and HEAD_b combined) 5. Cluster the headlines constrained by a parameterized MIN_SIMILARITY_THRESHOLD. Regards, Devjyoti From gora at mimirtech.com Tue Jun 14 13:25:28 2011 From: gora at mimirtech.com (Gora Mohanty) Date: Tue, 14 Jun 2011 16:55:28 +0530 Subject: [BangPypers] How to compare the relevancy between news headlines? In-Reply-To: References: Message-ID: On Tue, Jun 14, 2011 at 1:28 PM, Gopalakrishnan Subramani wrote: > Thanks for suggestion. Can you give me a specific NLT toolset/approach with > example if you have experience already? Try clustering with Python NLTK ( http://www.nltk.org/ ). NLTK is well documented, and what you are looking for will probably be available from nltk.cluster. The site has a free, downloadable book , and extensive documentation. See, e.g., http://www.opendocs.net/nltk/0.9.5/api/nltk.cluster-module.html If you are willing to go away from Python, there are various options, such as: * Carrot 2: http://search.carrot2.org/stable/search * Mahout: http://lucene.apache.org/mahout/ Regards, Gora From gora at mimirtech.com Tue Jun 14 13:26:45 2011 From: gora at mimirtech.com (Gora Mohanty) Date: Tue, 14 Jun 2011 16:56:45 +0530 Subject: [BangPypers] Image comparison using Python In-Reply-To: References: Message-ID: On Tue, Jun 14, 2011 at 12:07 PM, Nitin Kumar wrote: > we need to compare text also but most of the time Image Quality between two > pdf. [...] How do you define "image quality"? Regards, Gora From gopalakrishnan.subramani at gmail.com Tue Jun 14 13:46:29 2011 From: gopalakrishnan.subramani at gmail.com (Gopalakrishnan Subramani) Date: Tue, 14 Jun 2011 17:16:29 +0530 Subject: [BangPypers] How to compare the relevancy between news headlines? In-Reply-To: References: Message-ID: Dear All, Thanks for very informative answers. I would follow NLT & also try out Patra's advice as well. Post you my updates. -- Gopal On Tue, Jun 14, 2011 at 4:55 PM, Gora Mohanty wrote: > On Tue, Jun 14, 2011 at 1:28 PM, Gopalakrishnan Subramani > wrote: > > Thanks for suggestion. Can you give me a specific NLT toolset/approach > with > > example if you have experience already? > > Try clustering with Python NLTK ( http://www.nltk.org/ ). > NLTK is well documented, and what you are looking for > will probably be available from nltk.cluster. The site has > a free, downloadable book , and extensive documentation. > See, e.g., http://www.opendocs.net/nltk/0.9.5/api/nltk.cluster-module.html > > If you are willing to go away from Python, there are various > options, such as: > * Carrot 2: http://search.carrot2.org/stable/search > * Mahout: http://lucene.apache.org/mahout/ > > Regards, > Gora > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From abpillai at gmail.com Tue Jun 14 14:14:59 2011 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Tue, 14 Jun 2011 17:44:59 +0530 Subject: [BangPypers] How to compare the relevancy between news headlines? In-Reply-To: References: Message-ID: On Tue, Jun 14, 2011 at 5:16 PM, Gopalakrishnan Subramani < gopalakrishnan.subramani at gmail.com> wrote: > Dear All, > > Thanks for very informative answers. I would follow NLT & also try out > Patra's advice as well. Post you my updates. > You can also do this by utilizing the entity extraction/categorization provided by online Linked-data/clustering providers. One such service is OpenCalais provided by Thomson-Reuters. I had played around with Calais one year back and found it very useful to learn about Linked-data and entity extraction. In fact, there is an already existing news clustering service written on top of OpenCalais. http://www.opencalais.com/applications/interceder Klezio.com was also a very good example of this, but now it seems to be down. In fact I cooked up an application to pull out the cost of mobile phones using Opencalais and demoed it in a BangPypers meeting some time back, here is an archive of it. http://web.archiveorange.com/archive/v/nwVbqtZ9jcT56TZEpxjw HTH. --Anand > -- > > Gopal > > On Tue, Jun 14, 2011 at 4:55 PM, Gora Mohanty wrote: > > > On Tue, Jun 14, 2011 at 1:28 PM, Gopalakrishnan Subramani > > wrote: > > > Thanks for suggestion. Can you give me a specific NLT toolset/approach > > with > > > example if you have experience already? > > > > Try clustering with Python NLTK ( http://www.nltk.org/ ). > > NLTK is well documented, and what you are looking for > > will probably be available from nltk.cluster. The site has > > a free, downloadable book , and extensive documentation. > > See, e.g., > http://www.opendocs.net/nltk/0.9.5/api/nltk.cluster-module.html > > > > If you are willing to go away from Python, there are various > > options, such as: > > * Carrot 2: http://search.carrot2.org/stable/search > > * Mahout: http://lucene.apache.org/mahout/ > > > > Regards, > > Gora > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand From abpillai at gmail.com Tue Jun 14 14:19:24 2011 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Tue, 14 Jun 2011 17:49:24 +0530 Subject: [BangPypers] Image comparison using Python In-Reply-To: References: Message-ID: On Tue, Jun 14, 2011 at 12:07 PM, Nitin Kumar wrote: > we need to compare text also but most of the time Image Quality between two > pdf. > Image quality of what ? - Images embedded in PDF files ? - Raster images saved as PDF files ? If it is PDF, you need a pdf library like pyPdf to open the pdf file and extract images. Pull up the code and customize it yourself. --Anand > > On Tue, Jun 14, 2011 at 11:47 AM, Noufal Ibrahim wrote: > > > Depends on what you want out of it. You could extract text and just > > diff it or you can check sum the files and compare the hashes. > > > > On 6/14/11, Nitin Kumar wrote: > > > HI All, > > > > > > We are looking for python comparison tool (Don't suggest PIL as it was > > not > > > useful for us). > > > please do let me know if you any good one. > > > > > > we are looking for the tool to compare two pdf files. > > > > > > -- > > > Nitin K > > > _______________________________________________ > > > BangPypers mailing list > > > BangPypers at python.org > > > http://mail.python.org/mailman/listinfo/bangpypers > > > > > > > > > -- > > ~noufal > > http://nibrahim.net.in > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > > > > -- > Nitin K > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand From abpillai at gmail.com Tue Jun 14 14:21:20 2011 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Tue, 14 Jun 2011 17:51:20 +0530 Subject: [BangPypers] This June Get In and Drive, Python, Android, Web3.0 and Cloud Computing with GuRu Prevails In-Reply-To: References: Message-ID: Please don't spam... you won't prevail here if you do it. On Mon, Jun 13, 2011 at 11:52 PM, director guruprevails < director at guruprevails.com> wrote: > > > > Dear Python Members, > > > > > > We thank you for *register*ing your interest *in* one or more of our > *cutting > > edge courses*. > > > > We are proud to announce our* *twelfth* **work-shop* with *live projects* > > on *Python, Web 3.0, Android and Cloud Computing* in* **Bangalore* at > > GuRu Prevails! For detailed syllabus *visit www.guruprevails.com * > > > > *Now watch *the following* videos* > > > > *IBM and Cloud Computing , > Book > > writing Machine web 3.0 , > Google > > Employee on Python , Google > on > > Android * > > > > * *Darshan > > (star alumnus and now Google employee!) speaks about GuRu Prevails : > > > > *"I am an alumnus of GuRu Prevails. By the end of the course we were > > doing projects that were at par with the projects done at Stanford , MIT > > and Yahoo research. I am really grateful to GuRu Prevails for the quality > > of the course and transformation that they bring in the students. I am > proud > > to say that I am a student of GuRu prevails."* > > > > Let us show you a list of *companies* that *need people* on *Python, > > Web3.0, Android and Hadoop* > > > > *FaceBook ,Google, Amazon, AOL, Samsung, Motorola, eBay, > > Yahoo, Microsoft , Nasa *and our own Indian IT companies like TCS, > > Infosys, Wipro among others. > > > > > > > > Dates and details are as follows: > > > > *Python* and* web 3.0 *: 25th,26th June, and 2nd, 3rd July > > > > *Android *and *Cloud Computing *: 9th,10th,16th, and 17th July > > > > Jobs in Python , Jobs in > Android > > , Jobs in Web , Jobs in Cloud > > Computing > > > > For *sign-up* details email to info at guruprevails.com *before 17th June > > 2011* > > > > > > Make this *commit*ment *now*. *Join* *us* and *become special* in IT > > Industry. > > > > * * > > > > NB. Pre-requisite for the Android module is familiarity with Object > > Oriented programming and for the Hadoop module is familiarity with Python > or > > Java.* > > > > Regards,* > > > > *GuRu Prevails Labs* > > > > Voice: +91 9972952810 > > > > www.guruprevails.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand From gopalakrishnan.subramani at gmail.com Wed Jun 15 04:55:05 2011 From: gopalakrishnan.subramani at gmail.com (Gopalakrishnan Subramani) Date: Wed, 15 Jun 2011 08:25:05 +0530 Subject: [BangPypers] How to compare the relevancy between news headlines? In-Reply-To: References: Message-ID: Thank you Anand.. OpenCalais seems more promising.. I will play around this weekend.. -- Gopal On Tue, Jun 14, 2011 at 5:44 PM, Anand Balachandran Pillai < abpillai at gmail.com> wrote: > On Tue, Jun 14, 2011 at 5:16 PM, Gopalakrishnan Subramani < > gopalakrishnan.subramani at gmail.com> wrote: > > > Dear All, > > > > Thanks for very informative answers. I would follow NLT & also try out > > Patra's advice as well. Post you my updates. > > > > You can also do this by utilizing the entity extraction/categorization > provided by > online Linked-data/clustering providers. One such service is OpenCalais > provided by Thomson-Reuters. > > I had played around with Calais one year back and found it very useful > to learn about Linked-data and entity extraction. > > In fact, there is an already existing news clustering service written > on top of OpenCalais. > > http://www.opencalais.com/applications/interceder > > Klezio.com was also a very good example of this, but now it seems > to be down. > > In fact I cooked up an application to pull out the cost of mobile > phones using Opencalais and demoed it in a BangPypers meeting > some time back, here is an archive of it. > > http://web.archiveorange.com/archive/v/nwVbqtZ9jcT56TZEpxjw > > HTH. > > --Anand > > > > > -- > > > > Gopal > > > > On Tue, Jun 14, 2011 at 4:55 PM, Gora Mohanty > wrote: > > > > > On Tue, Jun 14, 2011 at 1:28 PM, Gopalakrishnan Subramani > > > wrote: > > > > Thanks for suggestion. Can you give me a specific NLT > toolset/approach > > > with > > > > example if you have experience already? > > > > > > Try clustering with Python NLTK ( http://www.nltk.org/ ). > > > NLTK is well documented, and what you are looking for > > > will probably be available from nltk.cluster. The site has > > > a free, downloadable book , and extensive documentation. > > > See, e.g., > > http://www.opendocs.net/nltk/0.9.5/api/nltk.cluster-module.html > > > > > > If you are willing to go away from Python, there are various > > > options, such as: > > > * Carrot 2: http://search.carrot2.org/stable/search > > > * Mahout: http://lucene.apache.org/mahout/ > > > > > > Regards, > > > Gora > > > _______________________________________________ > > > BangPypers mailing list > > > BangPypers at python.org > > > http://mail.python.org/mailman/listinfo/bangpypers > > > > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > > > > -- > --Anand > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From vikasruhil06 at gmail.com Wed Jun 15 06:25:36 2011 From: vikasruhil06 at gmail.com (vikas ruhil) Date: Wed, 15 Jun 2011 09:55:36 +0530 Subject: [BangPypers] This June Get In and Drive, Python, Android, Web3.0 and Cloud Computing with GuRu Prevails In-Reply-To: References: Message-ID: > It is not advertisement agency for publishing of coursers please be aware of this kind spam unless you added in list of do-not trust me in this mailing list .come up with some valuable stuff !! Please don't spam read books On Tue, Jun 14, 2011 at 5:51 PM, Anand Balachandran Pillai < abpillai at gmail.com> wrote: > Please don't spam... you won't prevail here if you do it. > > On Mon, Jun 13, 2011 at 11:52 PM, director guruprevails < > director at guruprevails.com> wrote: > > > > > > > Dear Python Members, > > > > > > > > > We thank you for *register*ing your interest *in* one or more of our > > *cutting > > > edge courses*. > > > > > > We are proud to announce our* *twelfth* **work-shop* with *live > projects* > > > on *Python, Web 3.0, Android and Cloud Computing* in* **Bangalore* at > > > GuRu Prevails! For detailed syllabus *visit www.guruprevails.com * > > > > > > *Now watch *the following* videos* > > > > > > *IBM and Cloud Computing , > > Book > > > writing Machine web 3.0 , > > Google > > > Employee on Python , > Google > > on > > > Android * > > > > > > * *Darshan > > > (star alumnus and now Google employee!) speaks about GuRu Prevails : > > > > > > *"I am an alumnus of GuRu Prevails. By the end of the course we were > > > doing projects that were at par with the projects done at Stanford , > MIT > > > and Yahoo research. I am really grateful to GuRu Prevails for the > quality > > > of the course and transformation that they bring in the students. I am > > proud > > > to say that I am a student of GuRu prevails."* > > > > > > Let us show you a list of *companies* that *need people* on *Python, > > > Web3.0, Android and Hadoop* > > > > > > *FaceBook ,Google, Amazon, AOL, Samsung, Motorola, eBay, > > > Yahoo, Microsoft , Nasa *and our own Indian IT companies like TCS, > > > Infosys, Wipro among others. > > > > > > > > > > > > Dates and details are as follows: > > > > > > *Python* and* web 3.0 *: 25th,26th June, and 2nd, 3rd July > > > > > > *Android *and *Cloud Computing *: 9th,10th,16th, and 17th July > > > > > > Jobs in Python , Jobs in > > Android > > > , Jobs in Web , Jobs in Cloud > > > Computing > > > > > > For *sign-up* details email to info at guruprevails.com *before 17th June > > > 2011* > > > > > > > > > Make this *commit*ment *now*. *Join* *us* and *become special* in IT > > > Industry. > > > > > > * * > > > > > > NB. Pre-requisite for the Android module is familiarity with Object > > > Oriented programming and for the Hadoop module is familiarity with > Python > > or > > > Java.* > > > > > > Regards,* > > > > > > *GuRu Prevails Labs* > > > > > > Voice: +91 9972952810 > > > > > > www.guruprevails.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > > > > -- > --Anand > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From abpillai at gmail.com Wed Jun 15 09:12:28 2011 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Wed, 15 Jun 2011 12:42:28 +0530 Subject: [BangPypers] How to compare the relevancy between news headlines? In-Reply-To: References: Message-ID: On Wed, Jun 15, 2011 at 8:25 AM, Gopalakrishnan Subramani < gopalakrishnan.subramani at gmail.com> wrote: > Thank you Anand.. OpenCalais seems more promising.. I will play around this > weekend.. > If you want any code to start with, email me. I can share what I wrote with you. python-calais is pretty much full featured, so you shouldn't have any problems running it. > > -- > > Gopal > > On Tue, Jun 14, 2011 at 5:44 PM, Anand Balachandran Pillai < > abpillai at gmail.com> wrote: > > > On Tue, Jun 14, 2011 at 5:16 PM, Gopalakrishnan Subramani < > > gopalakrishnan.subramani at gmail.com> wrote: > > > > > Dear All, > > > > > > Thanks for very informative answers. I would follow NLT & also try out > > > Patra's advice as well. Post you my updates. > > > > > > > You can also do this by utilizing the entity extraction/categorization > > provided by > > online Linked-data/clustering providers. One such service is OpenCalais > > provided by Thomson-Reuters. > > > > I had played around with Calais one year back and found it very useful > > to learn about Linked-data and entity extraction. > > > > In fact, there is an already existing news clustering service written > > on top of OpenCalais. > > > > http://www.opencalais.com/applications/interceder > > > > Klezio.com was also a very good example of this, but now it seems > > to be down. > > > > In fact I cooked up an application to pull out the cost of mobile > > phones using Opencalais and demoed it in a BangPypers meeting > > some time back, here is an archive of it. > > > > http://web.archiveorange.com/archive/v/nwVbqtZ9jcT56TZEpxjw > > > > HTH. > > > > --Anand > > > > > > > > > -- > > > > > > Gopal > > > > > > On Tue, Jun 14, 2011 at 4:55 PM, Gora Mohanty > > wrote: > > > > > > > On Tue, Jun 14, 2011 at 1:28 PM, Gopalakrishnan Subramani > > > > wrote: > > > > > Thanks for suggestion. Can you give me a specific NLT > > toolset/approach > > > > with > > > > > example if you have experience already? > > > > > > > > Try clustering with Python NLTK ( http://www.nltk.org/ ). > > > > NLTK is well documented, and what you are looking for > > > > will probably be available from nltk.cluster. The site has > > > > a free, downloadable book , and extensive documentation. > > > > See, e.g., > > > http://www.opendocs.net/nltk/0.9.5/api/nltk.cluster-module.html > > > > > > > > If you are willing to go away from Python, there are various > > > > options, such as: > > > > * Carrot 2: http://search.carrot2.org/stable/search > > > > * Mahout: http://lucene.apache.org/mahout/ > > > > > > > > Regards, > > > > Gora > > > > _______________________________________________ > > > > BangPypers mailing list > > > > BangPypers at python.org > > > > http://mail.python.org/mailman/listinfo/bangpypers > > > > > > > _______________________________________________ > > > BangPypers mailing list > > > BangPypers at python.org > > > http://mail.python.org/mailman/listinfo/bangpypers > > > > > > > > > > > -- > > --Anand > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand From prem251 at yahoo.co.in Fri Jun 17 09:48:31 2011 From: prem251 at yahoo.co.in (prem) Date: Fri, 17 Jun 2011 13:18:31 +0530 (IST) Subject: [BangPypers] looking for python developers Message-ID: <625624.42981.qm@web95412.mail.in2.yahoo.com> Hi everyone, our company is looking for some python developers who can write some fantastic code in python and django. If you already know at least some python and think that you can easily learn without much hand holding, I request you to send your profiles to "prem251 at yahoo.co.in". As for the company, it is a mid sized product company based in hyderabad with development centre in chennai too. It is a reputed company known for a lot of good products and talented employees. Regards, Prem From gopalakrishnan.subramani at gmail.com Fri Jun 17 11:45:47 2011 From: gopalakrishnan.subramani at gmail.com (Gopalakrishnan Subramani) Date: Fri, 17 Jun 2011 15:15:47 +0530 Subject: [BangPypers] looking for python developers In-Reply-To: <625624.42981.qm@web95412.mail.in2.yahoo.com> References: <625624.42981.qm@web95412.mail.in2.yahoo.com> Message-ID: Prem, Mentioning [Job] in title is more appropriate. Is your company name is that secret? I don't think, you get fantastic coder program for without knowing company.. All the best, Gopal On Fri, Jun 17, 2011 at 1:18 PM, prem wrote: > Hi everyone, > our company is looking for some python developers who can write some > fantastic code in python and django. > If you already know at least some python and think that you can easily > learn without much hand holding, I request you to send your profiles to " > prem251 at yahoo.co.in". > As for the company, it is a mid sized product company based in hyderabad > with development centre in chennai too. It is a reputed company known for a > lot of good products and talented employees. > > Regards, > Prem > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From amandeep at relaystrategy.com Fri Jun 17 13:38:56 2011 From: amandeep at relaystrategy.com (Amandeep Singh Sapra) Date: Fri, 17 Jun 2011 17:08:56 +0530 Subject: [BangPypers] [Job] Django developers/consultants needed Message-ID: <005401cc2ce3$276fabd0$764f0370$@com> Hi, We are looking for full time python/Django developers or a full time/part time consultants. The position is based out of Chandigarh/remote. The job description is pasted below. If you are interested, please contact me. Thanks, Amandeep Singh Sapra Ph: +91 9779391062 Email: amandeep at relaystrategy.com Web: http://www.relaystrategy.com [Job Description] Exceptional Python/DJango Programmer (with exceptional attitude to learn new things) About Us: . We're a software development and consulting company that focuses on building high quality mobile and web based products for our clients around the world. . We have been around for 3 years and have grown rapidly from 0 to 60 employees as well as acquired 40 clients in the healthcare, travel, media and enterprise mobility space. . We focus on solving complex problems for our customers and we acquire majority of our new customers through our existing customer referrals. . We strive each day to figure out a way to add value to our customers' business and help them realize their dreams. We're looking for you if: . You are an exceptional Python/DJango programmer and have experience building web applications. . You are fundamentally sound with various MVC frameworks . You have a very good handle on database concepts and proven track record of writing complex queries and stored procedures. . You can put in long hours to master a new concept or skill . You can clearly explain why DJango and MVC is a great choice for building web applications . You aspire to write good, clean, modular code. . You have a sense of design and can tell good design from bad . You have a great work ethic What you'll be working on: . Challenging web applications that will stretch your existing view of programming and force you to learn new techniques and ideas. . Building in-house demos of various ideas we'd like to try and bring to the marketplace including but not limited to facebook games, mobile apps and any other interesting ideas you might have as well. Who should apply? . If you're passionate about programming and always want to learn new things . You have an engineering degree (we can make exceptions if you can prove to us that it would have been a waste of time for you to go to engineering college) . Enjoy working in a challenging, independent environment where the only thing that matters is results . Willing to work flexible hours - the job offer will say 40 hours per week but we'll expect you to work whatever hours are required to get the job done (the right way) Who should not apply? . If you just want a 10 to 6pm job . If you rather be a singer or a chemist but your parents thought it was a good idea to go into computer programming. What we're offering . Opportunity to work on some very exciting and engaging projects using bleeding edge technologies. . Complete flexibility to explore new ideas and time set aside to work on your pet projects . An environment in which you work with a great team and mentor who would help you learn and grow on a daily basis. They are also fun people who are passionate about their work. . Market level salary + shares in the company (if you do well, you'll make a lot more than market level salary in less than 1 year) From noufal at gmail.com Fri Jun 17 12:48:47 2011 From: noufal at gmail.com (Noufal Ibrahim) Date: Fri, 17 Jun 2011 16:18:47 +0530 Subject: [BangPypers] looking for python developers In-Reply-To: (Gopalakrishnan Subramani's message of "Fri, 17 Jun 2011 15:15:47 +0530") References: <625624.42981.qm@web95412.mail.in2.yahoo.com> Message-ID: <87mxhgn374.fsf@sanitarium.localdomain> Gopalakrishnan Subramani writes: > Prem, > > Mentioning [Job] in title is more appropriate. > > Is your company name is that secret? I don't think, you get fantastic coder > program for without knowing company.. My thoughts exactly. A "reputed company known for a lot of good products and talented employees." surely has a name that it's proud of. [...] -- ~noufal http://nibrahim.net.in "I always avoid prophesying beforehand because it is much better to prophesy after the event has already taken place. " - Winston Churchill From vijay750 at gmail.com Mon Jun 20 05:54:32 2011 From: vijay750 at gmail.com (Vijay Ramachandran) Date: Mon, 20 Jun 2011 09:24:32 +0530 Subject: [BangPypers] How to compare the relevancy between news headlines? Message-ID: On Tue, Jun 14, 2011 at 12:07 PM, wrote: > While looking into news.google.co.in site, they find the similar news by > grouping them.. > > For example, The following news headlines from different online portal are > grouped together. > > Jayalalithaa meets PM, DMK watches closely > Jaya to meet PM today in New Delhi > Jaya-PM meet, 'jittery' DMK watches on Times > > How to do this in Python? I think, NLT toolkit is too large for me to learn > and do.. Any other fun & simpler way to do that? > Both are fairly standard machine learning tasks. First, you can use clusteringto identify classes - there are quite a few well known algorithms, such as k-means. Or, you could manually select which are your classes. Then, you need to train a classifierwhich will classify new articles into one of your classes. For both these tasks, nltk provides very nice, pythonic tools. You can also search for other pythonic machine learning toolkits. If you need to do anything with natural language processing, though, nltk is well worth your time to learn. It has excellent documentation including a few books. HTH, Vijay -- Targeted direct marketing on Twitter - http://www.wisdomtap.com/ From nitin.nitp at gmail.com Wed Jun 22 11:39:20 2011 From: nitin.nitp at gmail.com (Nitin Kumar) Date: Wed, 22 Jun 2011 15:09:20 +0530 Subject: [BangPypers] remote ip change Message-ID: Hi All, I want to change the IP of remote server. I can do it manually using control panel. But i need to do that in a script. So is there any simple API in python which can be used for the same? -- Nitin K From noufal at gmail.com Wed Jun 22 11:53:43 2011 From: noufal at gmail.com (Noufal Ibrahim) Date: Wed, 22 Jun 2011 15:23:43 +0530 Subject: [BangPypers] remote ip change In-Reply-To: (Nitin Kumar's message of "Wed, 22 Jun 2011 15:09:20 +0530") References: Message-ID: <87k4ce9opk.fsf@sanitarium.localdomain> Nitin Kumar writes: > Hi All, > > I want to change the IP of remote server. I can do it manually using > control panel. But i need to do that in a script. So is there any > simple API in python which can be used for the same? You should be able to ssh into the machine and use ifconfig to change it. I don't know how that will crap your existing connection so it might be a good idea to simply run it as a shell pipeline. Why involve Python for this at all? -- ~noufal http://nibrahim.net.in No one goes to that restaurant anymore-it's always too crowded. (attributed to Yogi Berra) From sriramnrn at gmail.com Wed Jun 22 13:09:12 2011 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Wed, 22 Jun 2011 16:39:12 +0530 Subject: [BangPypers] remote ip change In-Reply-To: <87k4ce9opk.fsf@sanitarium.localdomain> References: <87k4ce9opk.fsf@sanitarium.localdomain> Message-ID: If you _want_ to involve python, then take a look at func. With Func, changing the machine IP is just one of the many sysadmin tasks you'll be able to perform. -- Ram On 6/22/11, Noufal Ibrahim wrote: > Nitin Kumar writes: > >> Hi All, >> >> I want to change the IP of remote server. I can do it manually using >> control panel. But i need to do that in a script. So is there any >> simple API in python which can be used for the same? > > You should be able to ssh into the machine and use ifconfig to change > it. I don't know how that will crap your existing connection so it might > be a good idea to simply run it as a shell pipeline. Why involve Python > for this at all? > > > -- > ~noufal > http://nibrahim.net.in > > No one goes to that restaurant anymore-it's always too crowded. (attributed > to Yogi Berra) > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Sent from my mobile device ================== Belenix: www.belenix.org From shashidhar85 at gmail.com Wed Jun 22 13:49:25 2011 From: shashidhar85 at gmail.com (Shashidhar P) Date: Wed, 22 Jun 2011 17:19:25 +0530 Subject: [BangPypers] python SVN delete functionality Message-ID: Dear Python developers I want to achieve svn delete functionality using python v2.3.5 >>> I have repository and working copy >>> I do checkin and checkout >>> If end user deletes some files from working copy MANUALLY not using SVN delete, I need to comapare working copy and repository before checkin and make sure that files which are deleted manually from working copy should be deleted from the repository. please help me with code snippet if possible. What is best lists comparing method to get items not present in working copy, present in repository. Thanking you in advance. ------------- Regards, Shashidhar N.Paragonda shashidhar85 at gmail.com +919449073835 From noufal at gmail.com Wed Jun 22 13:49:26 2011 From: noufal at gmail.com (Noufal Ibrahim) Date: Wed, 22 Jun 2011 17:19:26 +0530 Subject: [BangPypers] remote ip change In-Reply-To: (Sriram Narayanan's message of "Wed, 22 Jun 2011 16:39:12 +0530") References: <87k4ce9opk.fsf@sanitarium.localdomain> Message-ID: <87fwn29jcp.fsf@sanitarium.localdomain> Sriram Narayanan writes: > If you _want_ to involve python, then take a look at func. With Func, > changing the machine IP is just one of the many sysadmin tasks you'll > be able to perform. Do you have a URL Sriram? It sounds useful. [...] -- ~noufal http://nibrahim.net.in Everyone writes on the walls except me. -Said to be graffiti seen in Pompeii From lawgon at gmail.com Wed Jun 22 14:00:47 2011 From: lawgon at gmail.com (Kenneth Gonsalves) Date: Wed, 22 Jun 2011 17:30:47 +0530 Subject: [BangPypers] python SVN delete functionality In-Reply-To: References: Message-ID: <1308744047.2007.154.camel@localhost> On Wed, 2011-06-22 at 17:19 +0530, Shashidhar P wrote: > >>> If end user deletes some files from working copy MANUALLY > not > using SVN delete, I need to comapare working copy and repository > before > checkin and make sure that files which are deleted manually from > working > copy should be deleted from the repository. that is what svn status does. -- regards Kenneth Gonsalves http://lawgon.livejournal.com/ From shashidhar85 at gmail.com Wed Jun 22 14:15:11 2011 From: shashidhar85 at gmail.com (Shashidhar P) Date: Wed, 22 Jun 2011 17:45:11 +0530 Subject: [BangPypers] python SVN delete functionality In-Reply-To: <1308744047.2007.154.camel@localhost> References: <1308744047.2007.154.camel@localhost> Message-ID: Hello Kenneth, I want to check all the files from working copy to repository if files are missing from working copy and found in repository I need to delete them. Ya SVN Status gives me files added, removed, I mentioned user deletes files manually not using SVN delete. how should I check for deleted files. On Wed, Jun 22, 2011 at 5:30 PM, Kenneth Gonsalves wrote: > On Wed, 2011-06-22 at 17:19 +0530, Shashidhar P wrote: > > >>> If end user deletes some files from working copy MANUALLY > > not > > using SVN delete, I need to comapare working copy and repository > > before > > checkin and make sure that files which are deleted manually from > > working > > copy should be deleted from the repository. > > that is what svn status does. > -- > regards > Kenneth Gonsalves > http://lawgon.livejournal.com/ > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Regards, Shashidhar N.Paragonda shashidhar85 at gmail.com +919449073835 From lawgon at gmail.com Wed Jun 22 14:16:30 2011 From: lawgon at gmail.com (Kenneth Gonsalves) Date: Wed, 22 Jun 2011 17:46:30 +0530 Subject: [BangPypers] python SVN delete functionality In-Reply-To: References: <1308744047.2007.154.camel@localhost> Message-ID: <1308744990.2007.157.camel@localhost> On Wed, 2011-06-22 at 17:45 +0530, Shashidhar P wrote: > I want to check all the files from working copy to repository if > files are missing from working copy and found in repository I need to > delete > them. > > Ya SVN Status gives me files added, removed, I mentioned > user > deletes files manually not using SVN delete. how should I check for > deleted > files. shown as '!' - svn help status -- regards Kenneth Gonsalves http://lawgon.livejournal.com/ From baiju.m.mail at gmail.com Wed Jun 22 14:18:25 2011 From: baiju.m.mail at gmail.com (Baiju M) Date: Wed, 22 Jun 2011 17:48:25 +0530 Subject: [BangPypers] python SVN delete functionality In-Reply-To: References: <1308744047.2007.154.camel@localhost> Message-ID: On Wed, Jun 22, 2011 at 5:45 PM, Shashidhar P wrote: > Hello Kenneth, > > ? ? ? ? ? I want to check all the files from working copy to repository if > files are missing from working copy and found in repository I need to delete > them. > > ? ? ? ? ? Ya SVN Status gives me files added, removed, I mentioned user > deletes files manually not using SVN delete. how should I check for deleted > files. http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.status.html '!' - Item is missing (e.g., you moved or deleted it without using svn). This also indicates that a directory is incomplete (a checkout or update was interrupted). -- Baiju M From sriramnrn at gmail.com Wed Jun 22 15:23:08 2011 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Wed, 22 Jun 2011 18:53:08 +0530 Subject: [BangPypers] remote ip change In-Reply-To: <87fwn29jcp.fsf@sanitarium.localdomain> References: <87k4ce9opk.fsf@sanitarium.localdomain> <87fwn29jcp.fsf@sanitarium.localdomain> Message-ID: On Wed, Jun 22, 2011 at 5:19 PM, Noufal Ibrahim wrote: > Sriram Narayanan writes: > >> If you _want_ to involve python, then take a look at func. With Func, >> changing the machine IP is just one of the many sysadmin tasks you'll >> be able to perform. > > Do you have a URL Sriram? It sounds useful. https://fedorahosted.org/func/ -- Sriram ================== Belenix: www.belenix.org From b.ghose at gmail.com Wed Jun 22 15:27:59 2011 From: b.ghose at gmail.com (Baishampayan Ghose) Date: Wed, 22 Jun 2011 18:57:59 +0530 Subject: [BangPypers] remote ip change In-Reply-To: References: <87k4ce9opk.fsf@sanitarium.localdomain> <87fwn29jcp.fsf@sanitarium.localdomain> Message-ID: >>> If you _want_ to involve python, then take a look at func. With Func, >>> changing the machine IP is just one of the many sysadmin tasks you'll >>> be able to perform. >> >> Do you have a URL Sriram? It sounds useful. > > https://fedorahosted.org/func/ Seems to be similar to Fabric [http://fabfile.org] but limited to administering Fedora machines. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com From sriramnrn at gmail.com Wed Jun 22 15:38:46 2011 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Wed, 22 Jun 2011 19:08:46 +0530 Subject: [BangPypers] remote ip change In-Reply-To: References: <87k4ce9opk.fsf@sanitarium.localdomain> <87fwn29jcp.fsf@sanitarium.localdomain> Message-ID: On Wed, Jun 22, 2011 at 6:57 PM, Baishampayan Ghose wrote: >>>> If you _want_ to involve python, then take a look at func. With Func, >>>> changing the machine IP is just one of the many sysadmin tasks you'll >>>> be able to perform. >>> >>> Do you have a URL Sriram? It sounds useful. >> >> https://fedorahosted.org/func/ > > Seems to be similar to Fabric [http://fabfile.org] but limited to > administering Fedora machines. > Nothing Fedoraspecific apart form being hosted at a fedorahosted. There are people using this on other platforms too. There are other more popular tools which do similar stuff, though. Some of these are Puppet and Chef (incidentally, both are written in Ruby). > Regards, > BG > > -- > Baishampayan Ghose > b.ghose at gmail.com > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- ================== Belenix: www.belenix.org From sriramnrn at gmail.com Wed Jun 22 20:59:09 2011 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Thu, 23 Jun 2011 00:29:09 +0530 Subject: [BangPypers] python SVN delete functionality In-Reply-To: References: Message-ID: There's also the python API to SVN which let's you d a lot of stuff. -- Sriram On 6/22/11, Shashidhar P wrote: > Dear Python developers I want to achieve svn delete functionality using > python v2.3.5 > > >>> I have repository and working copy > >>> I do checkin and checkout > >>> If end user deletes some files from working copy MANUALLY not > using SVN delete, I need to comapare working copy and repository before > checkin and make sure that files which are deleted manually from working > copy should be deleted from the repository. > > please help me with code snippet if possible. What is best lists > comparing method to get items not present in working copy, present in > repository. > > > Thanking you in advance. > > ------------- > Regards, > > Shashidhar N.Paragonda > shashidhar85 at gmail.com > +919449073835 > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Sent from my mobile device ================== Belenix: www.belenix.org From noufal at gmail.com Wed Jun 22 21:04:58 2011 From: noufal at gmail.com (Noufal Ibrahim) Date: Thu, 23 Jun 2011 00:34:58 +0530 Subject: [BangPypers] python SVN delete functionality In-Reply-To: (Sriram Narayanan's message of "Thu, 23 Jun 2011 00:29:09 +0530") References: Message-ID: <87aad9adr9.fsf@sanitarium.localdomain> Sriram Narayanan writes: > There's also the python API to SVN which let's you d a lot of stuff. [...] The last time I checked (and it was a long time ago), it needed physical access to the repository file system (not just the checkout) to be able to do anything. That makes it useless for the OPs needs. -- ~noufal http://nibrahim.net.in Thank God I'm an atheist. From brijithp at gmail.com Thu Jun 23 05:37:08 2011 From: brijithp at gmail.com (brijithp at gmail.com) Date: Thu, 23 Jun 2011 09:07:08 +0530 Subject: [BangPypers] python SVN delete functionality In-Reply-To: <87aad9adr9.fsf@sanitarium.localdomain> References: <87aad9adr9.fsf@sanitarium.localdomain> Message-ID: @Shashidhar * * You mean the *svn delete* must work when you *svn update?. *Yes we can do it. but its a tricky way. What I suggest is to create a shell/python script named *svn *and put in higher path hierarchy (for example /usr/local/bin). In side the script you code like if its ran with argument other than *up* or *update* the run /usr/bin/svn . if the argument is *update* or *up* you have to do your tasks like checking for the removed files in the working copy and /usr/bin/svn delete the files you got , and then you can run /usr/bin/svn update inside the script. :) That means write a script to override the existing svn command.. this may work.. try it.. Note:- Every svn command you use in side the script must contain absolute path other wise it will end up in a looping call * Regards, Brijith P * * * On Thu, Jun 23, 2011 at 12:34 AM, Noufal Ibrahim wrote: > Sriram Narayanan writes: > > > There's also the python API to SVN which let's you d a lot of stuff. > > [...] > > The last time I checked (and it was a long time ago), it needed physical > access to the repository file system (not just the checkout) to be able > to do anything. That makes it useless for the OPs needs. > > -- > ~noufal > http://nibrahim.net.in > > Thank God I'm an atheist. > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From shashidhar85 at gmail.com Thu Jun 23 06:03:46 2011 From: shashidhar85 at gmail.com (Shashidhar P) Date: Thu, 23 Jun 2011 09:33:46 +0530 Subject: [BangPypers] python SVN delete functionality In-Reply-To: References: <87aad9adr9.fsf@sanitarium.localdomain> Message-ID: Hello Brijith >>> I will explain the situation completely >>> I have 3 files : F1 , F2, F3 >>> I make version V1 which has all 3 files in it. >>> Now user deletes file F3 manually i.e normal right click and delete not "svn delete" from working copy and add file F4 to it. >>> when I make version V2 i should make sure that file F3 shouldn't be included and F4 is added into V2. >>> Now V2 will have only F1, F2, F4 files. >>> Again when I recall V1 now I should check both working copy and repository have similar files if not delete respective file from repository. In my case F3 shouldnt be included in version V3. >>> arguments I get is absolute path of both repository and working copy. This is were I got struct unable to understand how to do please help me Thanking you in advance. On Thu, Jun 23, 2011 at 9:07 AM, brijithp at gmail.com wrote: > @Shashidhar > * > * > You mean the *svn delete* must work when you *svn update?. *Yes > we can do it. but its a tricky way. What I suggest is to create a > shell/python script named *svn *and put in higher path hierarchy (for > example /usr/local/bin). In side the script you code like if its ran with > argument other than *up* or *update* the run /usr/bin/svn . if > the argument is *update* or *up* you have to do your tasks like checking > for > the removed files in the working copy and /usr/bin/svn delete the files you > got , and then you can run /usr/bin/svn update inside the script. :) > > That means write a script to override the existing svn command.. this may > work.. try it.. > > Note:- Every svn command you use in side the script must contain absolute > path other wise it will end up in a looping call > > * > Regards, > Brijith P > * > * > * > > > > On Thu, Jun 23, 2011 at 12:34 AM, Noufal Ibrahim wrote: > > > Sriram Narayanan writes: > > > > > There's also the python API to SVN which let's you d a lot of stuff. > > > > [...] > > > > The last time I checked (and it was a long time ago), it needed physical > > access to the repository file system (not just the checkout) to be able > > to do anything. That makes it useless for the OPs needs. > > > > -- > > ~noufal > > http://nibrahim.net.in > > > > Thank God I'm an atheist. > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Regards, Shashidhar N.Paragonda shashidhar85 at gmail.com +919449073835 From kunal.t2 at gmail.com Thu Jun 23 12:45:19 2011 From: kunal.t2 at gmail.com (kunal ghosh) Date: Thu, 23 Jun 2011 16:15:19 +0530 Subject: [BangPypers] Python WebDAV client library Message-ID: Hi all, Can anyone please suggest some actively developed python WebDAV client library ? I did my preliminary search and found quite a few libraries almost all of them are abandon ware. -- regards ------- Kunal Ghosh Dept of Computer Sc. & Engineering. Sir MVIT Bangalore,India permalink: member.acm.org/~kunal.t2 Blog:kunalghosh.wordpress.com Website:www.kunalghosh.net46.net From umar43 at gmail.com Thu Jun 23 13:08:19 2011 From: umar43 at gmail.com (Umar Shah) Date: Thu, 23 Jun 2011 16:38:19 +0530 Subject: [BangPypers] export methods from a python class as RESTful webservice calls Message-ID: Hello group, I have used Django, Pylons for different projects before but i want something minimal without overheads of MVC frameworks. say I have something like class X(object): ... def A(p1, p2,...): .... return {'state':x} def B(p1, p2,..): .... return {'state':y} I want to expose calls to A and B over HTTP. Assuming I do not want any more features, I was wondering is what would be best/ efficient way to export methods A, B as RESTfull webservice calls. thanks, umar From noufal at gmail.com Thu Jun 23 13:11:33 2011 From: noufal at gmail.com (Noufal Ibrahim) Date: Thu, 23 Jun 2011 16:41:33 +0530 Subject: [BangPypers] export methods from a python class as RESTful webservice calls In-Reply-To: (Umar Shah's message of "Thu, 23 Jun 2011 16:38:19 +0530") References: Message-ID: <87sjr07qfu.fsf@sanitarium.localdomain> Umar Shah writes: > Hello group, > > I have used Django, Pylons for different projects before but i want > something minimal without overheads of MVC frameworks. > > say I have something like > > class X(object): > ... > > def A(p1, p2,...): > .... > return {'state':x} > > def B(p1, p2,..): > .... > return {'state':y} > > I want to expose calls to A and B over HTTP. > > Assuming I do not want any more features, I was wondering is what would be > best/ efficient way to export methods A, B as RESTfull webservice calls. [...] You have quite a few options. 1. Use the plain old SimpleHTTPServer module and write something to expose these calls. 2. Use a microframework like web.py or flask. A complete flask or web.py app looks almost like the code you've pasted here. 3. Use a framework explicitly meant for writing restful services (e.g. restish) -- ~noufal http://nibrahim.net.in Everyone writes on the walls except me. -Said to be graffiti seen in Pompeii From umar43 at gmail.com Thu Jun 23 13:38:34 2011 From: umar43 at gmail.com (Umar Shah) Date: Thu, 23 Jun 2011 17:08:34 +0530 Subject: [BangPypers] export methods from a python class as RESTful webservice calls In-Reply-To: <87sjr07qfu.fsf@sanitarium.localdomain> References: <87sjr07qfu.fsf@sanitarium.localdomain> Message-ID: thanks noufal, I can see i am spoiled with choices. Flask looks enticing , SimpleHTTPServer is not a bad idea either in my case (no external dependency). On Thu, Jun 23, 2011 at 4:41 PM, Noufal Ibrahim wrote: > Umar Shah writes: > > > Hello group, > > > > I have used Django, Pylons for different projects before but i want > > something minimal without overheads of MVC frameworks. > > > > say I have something like > > > > class X(object): > > ... > > > > def A(p1, p2,...): > > .... > > return {'state':x} > > > > def B(p1, p2,..): > > .... > > return {'state':y} > > > > I want to expose calls to A and B over HTTP. > > > > Assuming I do not want any more features, I was wondering is what would > be > > best/ efficient way to export methods A, B as RESTfull webservice calls. > > [...] > > You have quite a few options. > 1. Use the plain old SimpleHTTPServer module and write something to > expose these calls. > 2. Use a microframework like web.py or flask. A complete flask or web.py > app looks almost like the code you've pasted here. > 3. Use a framework explicitly meant for writing restful services > (e.g. restish) > > > -- > ~noufal > http://nibrahim.net.in > > Everyone writes on the walls except me. -Said to be graffiti seen in > Pompeii > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From noufal at gmail.com Thu Jun 23 15:01:57 2011 From: noufal at gmail.com (Noufal Ibrahim) Date: Thu, 23 Jun 2011 18:31:57 +0530 Subject: [BangPypers] [OT] Sponsorships for PyCon India Message-ID: <87boxo7lbu.fsf@sanitarium.localdomain> Hello everyone, We're still looking for sponsors for PyCon India 2011. The details of the event are on the website http://in.pycon.org. The summary is that it's in Pune on the 16, 17 and 18 of September of this year. If you know of any companies who might be interested, please raise your hand! All aspects of the conference are coordinated and conducted by volunteers and members of the Indian Python community. It relies on all of us to do our part to get it going. We had a decent run for 2 years. Let's make it happen again and keep it going. Thanks. -- ~noufal http://nibrahim.net.in It's more than magnificent-it's mediocre. -Samuel Goldwyn From sree at mahiti.org Thu Jun 23 15:04:44 2011 From: sree at mahiti.org (Sreekanth S Rameshaiah) Date: Thu, 23 Jun 2011 18:34:44 +0530 Subject: [BangPypers] [OT] Sponsorships for PyCon India In-Reply-To: <87boxo7lbu.fsf@sanitarium.localdomain> References: <87boxo7lbu.fsf@sanitarium.localdomain> Message-ID: On 23 June 2011 18:31, Noufal Ibrahim wrote: > > > Hello everyone, > We're still looking for sponsors for PyCon India 2011. > > The details of the event are on the website > http://in.pycon.org. The summary is that it's in Pune on the 16, 17 and > 18 of September of this year. > > If you know of any companies who might be interested, please > raise your hand! > > All aspects of the conference are coordinated and conducted by > volunteers and members of the Indian Python community. It relies on all > of us to do our part to get it going. We had a decent run for 2 > years. Let's make it happen again and keep it going. > > Thanks. > > -- > ~noufal > http://nibrahim.net.in > > It's more than magnificent-it's mediocre. -Samuel Goldwyn > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Sreekanth S Rameshaiah Executive Director Mahiti Infotech Pvt. Ltd. "OpenSpace", #583, Vyalikaval HBCS Layout, Nagawara, Veerannapalya, Bangalore, India - 560043 Phone: +91 80 428-444-44 Mobile: +91 98455 12611 www.mahiti.org From lorddaemon at gmail.com Thu Jun 23 16:17:33 2011 From: lorddaemon at gmail.com (Sidu Ponnappa) Date: Thu, 23 Jun 2011 19:47:33 +0530 Subject: [BangPypers] [OT] Sponsorships for PyCon India In-Reply-To: <87boxo7lbu.fsf@sanitarium.localdomain> References: <87boxo7lbu.fsf@sanitarium.localdomain> Message-ID: Hi Noufal, Is there a link on the site that shows the sponsor brackets etc. I looked and couldn't find it - something like http://rubyconf.org/sponsor would be nice. Thanks, Sidu. http://c42.in On Thu, Jun 23, 2011 at 6:31 PM, Noufal Ibrahim wrote: > > > Hello everyone, > ? ? ? ?We're still looking for sponsors for PyCon India 2011. > > ? ? ? ?The details of the event are on the website > http://in.pycon.org. The summary is that it's in Pune on the 16, 17 and > 18 of September of this year. > > ? ? ? ?If you know of any companies who might be interested, please > raise your hand! > > ? ? ? ?All aspects of the conference are coordinated and conducted by > volunteers and members of the Indian Python community. It relies on all > of us to do our part to get it going. We had a decent run for 2 > years. Let's make it happen again and keep it going. > > Thanks. > > -- > ~noufal > http://nibrahim.net.in > > It's more than magnificent-it's mediocre. -Samuel Goldwyn > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From noufal at gmail.com Thu Jun 23 16:18:49 2011 From: noufal at gmail.com (Noufal Ibrahim) Date: Thu, 23 Jun 2011 19:48:49 +0530 Subject: [BangPypers] [OT] Sponsorships for PyCon India In-Reply-To: (Sidu Ponnappa's message of "Thu, 23 Jun 2011 19:47:33 +0530") References: <87boxo7lbu.fsf@sanitarium.localdomain> Message-ID: <87tybg4omu.fsf@sanitarium.localdomain> Sidu Ponnappa writes: > Hi Noufal, > > Is there a link on the site that shows the sponsor brackets etc. I > looked and couldn't find it - something like > http://rubyconf.org/sponsor would be nice. [...] Good point. I'll get it up on the website. -- ~noufal http://nibrahim.net.in Thank God I'm an atheist. From director at guruprevails.com Thu Jun 23 16:22:50 2011 From: director at guruprevails.com (director guruprevails) Date: Thu, 23 Jun 2011 19:52:50 +0530 Subject: [BangPypers] [OT] Sponsorships for PyCon India In-Reply-To: <87boxo7lbu.fsf@sanitarium.localdomain> References: <87boxo7lbu.fsf@sanitarium.localdomain> Message-ID: Noufal, May you let us know the following details 1. Sponsorship Slabs? 2. Who do you expect to attend the event from corporate? 3. Any specific event for sponsors? -Thanks Dattatreya On Thu, Jun 23, 2011 at 6:31 PM, Noufal Ibrahim wrote: > > > Hello everyone, > We're still looking for sponsors for PyCon India 2011. > > The details of the event are on the website > http://in.pycon.org. The summary is that it's in Pune on the 16, 17 and > 18 of September of this year. > > If you know of any companies who might be interested, please > raise your hand! > > All aspects of the conference are coordinated and conducted by > volunteers and members of the Indian Python community. It relies on all > of us to do our part to get it going. We had a decent run for 2 > years. Let's make it happen again and keep it going. > > Thanks. > > -- > ~noufal > http://nibrahim.net.in > > It's more than magnificent-it's mediocre. -Samuel Goldwyn > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From bugcy013 at gmail.com Fri Jun 24 08:01:23 2011 From: bugcy013 at gmail.com (Ganesh Kumar) Date: Fri, 24 Jun 2011 11:31:23 +0530 Subject: [BangPypers] Uninstalling Python 2.6 Message-ID: Hey Guys, I want to remove Python 2.6 from my computer, or at least change the default python to 2.5. When I try to remove Python 2.6 through the package manager, it asks me if I want to remove about 200 other things, which I don't want to do. Things that only support Python 2.5 (like vim.. etc) try to use python 2.6 instead of python 2.5 by default, which screws things up. How do I fix this? Note: I am trying with ubuntu-9.10(Karmic) -Ganesh. Did I learn something today? If not, I wasted it. From b.ghose at gmail.com Fri Jun 24 08:06:22 2011 From: b.ghose at gmail.com (Baishampayan Ghose) Date: Fri, 24 Jun 2011 11:36:22 +0530 Subject: [BangPypers] Uninstalling Python 2.6 In-Reply-To: References: Message-ID: > I want to remove Python 2.6 from my computer, or at least change the > default python to 2.5. When I try to remove Python 2.6 through the > package manager, it asks me if I want to remove about 200 other > things, which I don't want to do. Things that only support Python 2.5 > (like vim.. etc) try to use python 2.6 instead of python 2.5 by > default, which screws things up. How do I fix this? > > Note: I am trying with ubuntu-9.10(Karmic) You won't be able to remove python-2.6 because of dependencies, but you can install python-2.5 and make it the default by using the `update-alternatives` command (http://manpages.ubuntu.com/manpages/karmic/man8/update-alternatives.8.html). It would be something like (after installing python-2.5) - # update-alternatives --config python Regards, BG -- Baishampayan Ghose b.ghose at gmail.com From bugcy013 at gmail.com Fri Jun 24 08:26:44 2011 From: bugcy013 at gmail.com (Ganesh Kumar) Date: Fri, 24 Jun 2011 11:56:44 +0530 Subject: [BangPypers] Uninstalling Python 2.6 In-Reply-To: References: Message-ID: Thanks for u r kindly mail, I have tried u r suggestion I got output.. > It would be something like (after installing python-2.5) - > > # update-alternatives --config python > Ganesh:~# update-alternatives --config python update-alternatives: error: no alternatives for python. -Ganesh. Did I learn something today? If not, I wasted it. From b.ghose at gmail.com Fri Jun 24 08:51:32 2011 From: b.ghose at gmail.com (Baishampayan Ghose) Date: Fri, 24 Jun 2011 12:21:32 +0530 Subject: [BangPypers] Uninstalling Python 2.6 In-Reply-To: References: Message-ID: >> # update-alternatives --config python >> > Ganesh:~# update-alternatives --config python > update-alternatives: error: no alternatives for python. Hmm, in that case, you might need to do something like this but YMMV - # update-alternatives --install /usr/bin/python python /usr/bin/python2.6 1 # update-alternatives --install /usr/bin/python python /usr/bin/python2.5 10 # update-alternatives --config python I would recommend that you read the update-alternatives manual page before trying any of the above. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com From vikasruhil06 at gmail.com Fri Jun 24 08:56:26 2011 From: vikasruhil06 at gmail.com (vikas ruhil) Date: Fri, 24 Jun 2011 12:26:26 +0530 Subject: [BangPypers] problem with Pinax setting up profile Message-ID: ckhat06-Inspiron-1440:~$ cd ~/Downloads/acadworld/awstealth/blackhat06 at blackhat06-Inspiron-1440:~/Downloads/acadworld/awstealth$ source ~/Downloads/pinaxenv/bin/activate (pinaxenv)blackhat06 at blackhat06-Inspiron-1440:~/Downloads/acadworld/awstealth$ pinax-admin clone project acadworld Unable to find command 'clone' (pinaxenv)blackhat06 at blackhat06-Inspiron-1440 :~/Downloads/acadworld/awstealth$ can help here is clone command is not found !! need urgent help regarding this ?? also problem in setting up database ? following command line is >> blackhat06 at blackhat06-Inspiron-1440:~$ cd ~/Downloads/acadworld/awstealth/blackhat06 at blackhat06-Inspiron-1440:~/Downloads/acadworld/awstealth$ source ~/Downloads/pinaxenv/bin/activate (pinaxenv)blackhat06 at blackhat06-Inspiron-1440:~/Downloads/acadworld/awstealth$ pinax-admin clone project acadworld Unable to find command 'clone' (pinaxenv)blackhat06 at blackhat06-Inspiron-1440:~/Downloads/acadworld/awstealth$ ^C (pinaxenv)blackhat06 at blackhat06-Inspiron-1440:~/Downloads/acadworld/awstealth$ sudo apt-get install sqllite3 [sudo] password for blackhat06: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package sqllite3 (pinaxenv)blackhat06 at blackhat06-Inspiron-1440:~/Downloads/acadworld/awstealth$ sqlite3 dev.db The program 'sqlite3' is currently not installed. You can install it by typing: sudo apt-get install sqlite3 (pinaxenv)blackhat06 at blackhat06-Inspiron-1440 :~/Downloads/acadworld/awstealth$ help anybody familiar with pinax From madhav.bnk at gmail.com Fri Jun 24 09:16:04 2011 From: madhav.bnk at gmail.com (B.Nanda Kishore) Date: Fri, 24 Jun 2011 12:46:04 +0530 Subject: [BangPypers] problem with Pinax setting up profile In-Reply-To: References: Message-ID: Regarding the "clone" operation problem, I think its "pinax-admin clone_project" (you missed underscore I guess between *clone* and *project*). Its in the docs And regarding sqlite, I think you tried installing sqllite(with double el in the spelling) and thats why bash errored telling you to type sqlite(single el). Did I answer your question ? Regards, Nandakishore On Fri, Jun 24, 2011 at 12:26 PM, vikas ruhil wrote: > ckhat06-Inspiron-1440:~$ cd > ~/Downloads/acadworld/awstealth/blackhat06 at blackhat06-Inspiron-1440 > :~/Downloads/acadworld/awstealth$ > source ~/Downloads/pinaxenv/bin/activate > (pinaxenv)blackhat06 at blackhat06-Inspiron-1440 > :~/Downloads/acadworld/awstealth$ > pinax-admin clone project acadworld > Unable to find command 'clone' > (pinaxenv)blackhat06 at blackhat06-Inspiron-1440 > :~/Downloads/acadworld/awstealth$ > > can help here is clone command is not found !! > need urgent help regarding this ?? > also problem in setting up database ? > following command line is > >> > blackhat06 at blackhat06-Inspiron-1440:~$ cd > ~/Downloads/acadworld/awstealth/blackhat06 at blackhat06-Inspiron-1440 > :~/Downloads/acadworld/awstealth$ > source ~/Downloads/pinaxenv/bin/activate > (pinaxenv)blackhat06 at blackhat06-Inspiron-1440 > :~/Downloads/acadworld/awstealth$ > pinax-admin clone project acadworld > Unable to find command 'clone' > (pinaxenv)blackhat06 at blackhat06-Inspiron-1440 > :~/Downloads/acadworld/awstealth$ > ^C > (pinaxenv)blackhat06 at blackhat06-Inspiron-1440 > :~/Downloads/acadworld/awstealth$ > sudo apt-get install sqllite3 > [sudo] password for blackhat06: > Reading package lists... Done > Building dependency tree > Reading state information... Done > E: Unable to locate package sqllite3 > (pinaxenv)blackhat06 at blackhat06-Inspiron-1440 > :~/Downloads/acadworld/awstealth$ > sqlite3 dev.db > The program 'sqlite3' is currently not installed. You can install it by > typing: > sudo apt-get install sqlite3 > (pinaxenv)blackhat06 at blackhat06-Inspiron-1440 > :~/Downloads/acadworld/awstealth$ > > help anybody familiar with pinax > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From bugcy013 at gmail.com Fri Jun 24 09:21:33 2011 From: bugcy013 at gmail.com (Ganesh Kumar) Date: Fri, 24 Jun 2011 12:51:33 +0530 Subject: [BangPypers] Uninstalling Python 2.6 In-Reply-To: References: Message-ID: Hi.. > # update-alternatives --install /usr/bin/python python /usr/bin/python2.6 1 > # update-alternatives --install /usr/bin/python python /usr/bin/python2.5 10 > # update-alternatives --config python Thanks its working .. Did I learn something today? If not, I wasted it. From noufal at gmail.com Fri Jun 24 10:34:11 2011 From: noufal at gmail.com (Noufal Ibrahim) Date: Fri, 24 Jun 2011 14:04:11 +0530 Subject: [BangPypers] Uninstalling Python 2.6 In-Reply-To: (Baishampayan Ghose's message of "Fri, 24 Jun 2011 11:36:22 +0530") References: Message-ID: <87pqm339x8.fsf@sanitarium.localdomain> Baishampayan Ghose writes: [...] > You won't be able to remove python-2.6 because of dependencies, but > you can install python-2.5 and make it the default by using the > `update-alternatives` command > (http://manpages.ubuntu.com/manpages/karmic/man8/update-alternatives.8.html). [...] Won't making 2.5 the default mess up quiet a few packages on Ubuntu? -- ~noufal http://nibrahim.net.in Gentlemen, I want you to know that I am not always right, but I am never wrong. -Samuel Goldwyn From vikasruhil06 at gmail.com Fri Jun 24 10:40:33 2011 From: vikasruhil06 at gmail.com (vikas ruhil) Date: Fri, 24 Jun 2011 14:10:33 +0530 Subject: [BangPypers] problem with Pinax setting up profile In-Reply-To: References: Message-ID: Thanks for helping ! I do the same ! now also same error with sqlite ?? also i try it again sudo apt-get install sqlite3 , same error ! , my local host is running ! but i need to set up profile to login i am able to do that any link plz! I realize sorry for spell mistake. Regards, Vikash ruhil On Fri, Jun 24, 2011 at 12:46 PM, B.Nanda Kishore wrote: > Regarding the "clone" operation problem, I think its "pinax-admin > clone_project" (you missed underscore I guess between *clone* and > *project*). > Its in the docs< > http://pinaxproject.com/docs/0.7/install/#starting-a-new-pinax-project> > > And regarding sqlite, I think you tried installing sqllite(with double el > in > the spelling) and thats why bash errored telling you to type sqlite(single > el). > > Did I answer your question ? > > Regards, > Nandakishore > > > On Fri, Jun 24, 2011 at 12:26 PM, vikas ruhil >wrote: > > > ckhat06-Inspiron-1440:~$ cd > > ~/Downloads/acadworld/awstealth/blackhat06 at blackhat06-Inspiron-1440 > > :~/Downloads/acadworld/awstealth$ > > source ~/Downloads/pinaxenv/bin/activate > > (pinaxenv)blackhat06 at blackhat06-Inspiron-1440 > > :~/Downloads/acadworld/awstealth$ > > pinax-admin clone project acadworld > > Unable to find command 'clone' > > (pinaxenv)blackhat06 at blackhat06-Inspiron-1440 > > :~/Downloads/acadworld/awstealth$ > > > > can help here is clone command is not found !! > > need urgent help regarding this ?? > > also problem in setting up database ? > > following command line is > > >> > > blackhat06 at blackhat06-Inspiron-1440:~$ cd > > ~/Downloads/acadworld/awstealth/blackhat06 at blackhat06-Inspiron-1440 > > :~/Downloads/acadworld/awstealth$ > > source ~/Downloads/pinaxenv/bin/activate > > (pinaxenv)blackhat06 at blackhat06-Inspiron-1440 > > :~/Downloads/acadworld/awstealth$ > > pinax-admin clone project acadworld > > Unable to find command 'clone' > > (pinaxenv)blackhat06 at blackhat06-Inspiron-1440 > > :~/Downloads/acadworld/awstealth$ > > ^C > > (pinaxenv)blackhat06 at blackhat06-Inspiron-1440 > > :~/Downloads/acadworld/awstealth$ > > sudo apt-get install sqllite3 > > [sudo] password for blackhat06: > > Reading package lists... Done > > Building dependency tree > > Reading state information... Done > > E: Unable to locate package sqllite3 > > (pinaxenv)blackhat06 at blackhat06-Inspiron-1440 > > :~/Downloads/acadworld/awstealth$ > > sqlite3 dev.db > > The program 'sqlite3' is currently not installed. You can install it by > > typing: > > sudo apt-get install sqlite3 > > (pinaxenv)blackhat06 at blackhat06-Inspiron-1440 > > :~/Downloads/acadworld/awstealth$ > > > > help anybody familiar with pinax > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From madhav.bnk at gmail.com Fri Jun 24 11:15:41 2011 From: madhav.bnk at gmail.com (B.Nanda Kishore) Date: Fri, 24 Jun 2011 14:45:41 +0530 Subject: [BangPypers] problem with Pinax setting up profile In-Reply-To: References: Message-ID: So.. Did you try to install sqlite3 and got it installed ? If you can print the error/exception details that would be helpful. Regards, Nandakishore On Fri, Jun 24, 2011 at 2:10 PM, vikas ruhil wrote: > Thanks for helping ! I do the same ! now also same error with sqlite ?? > also i try it again sudo apt-get install sqlite3 , same error ! , my local > host is running ! but i need to set up profile to login i am able to do > that > any link plz! I realize sorry for spell mistake. > > Regards, > Vikash ruhil > > On Fri, Jun 24, 2011 at 12:46 PM, B.Nanda Kishore >wrote: > > > Regarding the "clone" operation problem, I think its "pinax-admin > > clone_project" (you missed underscore I guess between *clone* and > > *project*). > > Its in the docs< > > http://pinaxproject.com/docs/0.7/install/#starting-a-new-pinax-project> > > > > And regarding sqlite, I think you tried installing sqllite(with double el > > in > > the spelling) and thats why bash errored telling you to type > sqlite(single > > el). > > > > Did I answer your question ? > > > > Regards, > > Nandakishore > > > > > > On Fri, Jun 24, 2011 at 12:26 PM, vikas ruhil > >wrote: > > > > > ckhat06-Inspiron-1440:~$ cd > > > ~/Downloads/acadworld/awstealth/blackhat06 at blackhat06-Inspiron-1440 > > > :~/Downloads/acadworld/awstealth$ > > > source ~/Downloads/pinaxenv/bin/activate > > > (pinaxenv)blackhat06 at blackhat06-Inspiron-1440 > > > :~/Downloads/acadworld/awstealth$ > > > pinax-admin clone project acadworld > > > Unable to find command 'clone' > > > (pinaxenv)blackhat06 at blackhat06-Inspiron-1440 > > > :~/Downloads/acadworld/awstealth$ > > > > > > can help here is clone command is not found !! > > > need urgent help regarding this ?? > > > also problem in setting up database ? > > > following command line is > > > >> > > > blackhat06 at blackhat06-Inspiron-1440:~$ cd > > > ~/Downloads/acadworld/awstealth/blackhat06 at blackhat06-Inspiron-1440 > > > :~/Downloads/acadworld/awstealth$ > > > source ~/Downloads/pinaxenv/bin/activate > > > (pinaxenv)blackhat06 at blackhat06-Inspiron-1440 > > > :~/Downloads/acadworld/awstealth$ > > > pinax-admin clone project acadworld > > > Unable to find command 'clone' > > > (pinaxenv)blackhat06 at blackhat06-Inspiron-1440 > > > :~/Downloads/acadworld/awstealth$ > > > ^C > > > (pinaxenv)blackhat06 at blackhat06-Inspiron-1440 > > > :~/Downloads/acadworld/awstealth$ > > > sudo apt-get install sqllite3 > > > [sudo] password for blackhat06: > > > Reading package lists... Done > > > Building dependency tree > > > Reading state information... Done > > > E: Unable to locate package sqllite3 > > > (pinaxenv)blackhat06 at blackhat06-Inspiron-1440 > > > :~/Downloads/acadworld/awstealth$ > > > sqlite3 dev.db > > > The program 'sqlite3' is currently not installed. You can install it > by > > > typing: > > > sudo apt-get install sqlite3 > > > (pinaxenv)blackhat06 at blackhat06-Inspiron-1440 > > > :~/Downloads/acadworld/awstealth$ > > > > > > help anybody familiar with pinax > > > _______________________________________________ > > > BangPypers mailing list > > > BangPypers at python.org > > > http://mail.python.org/mailman/listinfo/bangpypers > > > > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From nitin.nitp at gmail.com Fri Jun 24 12:58:45 2011 From: nitin.nitp at gmail.com (Nitin Kumar) Date: Fri, 24 Jun 2011 16:28:45 +0530 Subject: [BangPypers] python32 bit crash on win7 64bit machine Message-ID: Hi All, I am facing python crash with my script on win7 64 bit machine. I am using 32bit Python. Some of the info (from the file C:\Users\admin\AppData\Local\Temp\WERD22.tmp.WERInternalMetadata.xml) which I was able to collect is shown below. - - 6.1 7601 Service Pack 1 (0x30): Windows 7 ProfessionalProfessional 7601.17592.amd64fre.win7sp1_gdr.110408-1631 1130 Multiprocessor Free X641033 - 2420 C:\matrix\win\deskinfo.exec:\matrix\win\deskinfo sd= C:\clientapp_test\test\testMain.py dir= xml-file="PQA-Master-BAM" report-html=c:\report.html ip=10.11.64.42 username=oanhd csv-file= autorerun=yes project=Harrison-1.0 testruns=BookletMaker-PerfectBinding, CommandWorkstation-DeviceCenter, CommandWorkstation-JobCenter, CommandWorkstation-JobErrorReport, JobManagement-ProofPrint, JobProperties-FinishingTab, JobProperties-ImageTab, JobProperties-Layout_Booklet, JobProperties-VDPTab osname=win codebase=Flame3 oem=Ricoh - APPCRASH python.exe 0.0.0.0 4ba3e443*MSVCR90.dll* 9.0.30729.4940 4ca2ef57 40000015 0005beae - 6.1.7601.2.1.0.256.48 1033 14a3 14a3a80f8fe674ac213997683eb37eb4 6c5a 6c5a12bff349d19c4dddbb77ee493933 - 1D18664B-57D0-4ED5-B268-913A3D384734 VMware, Inc. VMware VirtualPlatform 6.00 Any idea on the issue? -- Nitin K From sree at mahiti.org Sat Jun 25 05:34:12 2011 From: sree at mahiti.org (Sreekanth S Rameshaiah) Date: Sat, 25 Jun 2011 09:04:12 +0530 Subject: [BangPypers] Invite for today's python sessions Message-ID: Hi, You said, you will send the invite. Did not get it. If not too late, would like to drop in. Regards, - sree -- Sreekanth S Rameshaiah Executive Director Mahiti Infotech Pvt. Ltd. "OpenSpace", #583, Vyalikaval HBCS Layout, Nagawara, Veerannapalya, Bangalore, India - 560043 Phone: +91 80 428-444-44 Mobile: +91 98455 12611 www.mahiti.org From noufal at gmail.com Sat Jun 25 06:38:31 2011 From: noufal at gmail.com (Noufal Ibrahim) Date: Sat, 25 Jun 2011 10:08:31 +0530 Subject: [BangPypers] Invite for today's python sessions In-Reply-To: References: Message-ID: What invite? On 6/25/11, Sreekanth S Rameshaiah wrote: > Hi, > You said, you will send the invite. Did not get it. If not too late, would > like to drop in. > Regards, > - sree > > > > -- > Sreekanth S Rameshaiah > Executive Director > Mahiti Infotech Pvt. Ltd. > "OpenSpace", #583, > Vyalikaval HBCS Layout, > Nagawara, Veerannapalya, > Bangalore, India - 560043 > Phone: +91 80 428-444-44 > Mobile: +91 98455 12611 > www.mahiti.org > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- ~noufal http://nibrahim.net.in From senthil at uthcode.com Sat Jun 25 21:36:53 2011 From: senthil at uthcode.com (Senthil Kumaran) Date: Sat, 25 Jun 2011 12:36:53 -0700 Subject: [BangPypers] Development Process of CPython Message-ID: <20110625193653.GC3648@mathmagic> Good presentation by Ezio Melotti (CPython core-dev) http://svadilfari.altervista.org/ep2011/development-process-of-python.html -- Senthil From abpillai at gmail.com Mon Jun 27 08:39:09 2011 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Mon, 27 Jun 2011 12:09:09 +0530 Subject: [BangPypers] Python WebDAV client library In-Reply-To: References: Message-ID: On Thu, Jun 23, 2011 at 4:15 PM, kunal ghosh wrote: > Hi all, > Can anyone please suggest some actively developed python WebDAV client > library ? > I did my preliminary search and found quite a few libraries almost all of > them are abandon ware. > Haven't played with python and web-dav, but did you checkout https://launchpad.net/python-webdav-lib ? > > -- > regards > ------- > Kunal Ghosh > Dept of Computer Sc. & Engineering. > Sir MVIT > Bangalore,India > > permalink: member.acm.org/~kunal.t2 > Blog:kunalghosh.wordpress.com > Website:www.kunalghosh.net46.net > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand From kunal.t2 at gmail.com Mon Jun 27 10:06:11 2011 From: kunal.t2 at gmail.com (kunal ghosh) Date: Mon, 27 Jun 2011 13:36:11 +0530 Subject: [BangPypers] Python WebDAV client library In-Reply-To: References: Message-ID: Hi Anand, > Haven't played with python and web-dav, but did you checkout > https://launchpad.net/python-webdav-lib ? > I forgot to post back , that I found the exact same link a while ago and It allowed me to do pretty much everything I wanted to do with WebDAV :) Thanks for the link. > > > > > > -- > > regards > > ------- > > Kunal Ghosh > > Dept of Computer Sc. & Engineering. > > Sir MVIT > > Bangalore,India > > > > permalink: member.acm.org/~kunal.t2 > > Blog:kunalghosh.wordpress.com > > Website:www.kunalghosh.net46.net > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > > > > -- > --Anand > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- regards ------- Kunal Ghosh Dept of Computer Sc. & Engineering. Sir MVIT Bangalore,India permalink: member.acm.org/~kunal.t2 Blog:kunalghosh.wordpress.com Website:www.kunalghosh.net46.net From vid at svaksha.com Mon Jun 27 15:45:56 2011 From: vid at svaksha.com (=?UTF-8?B?4KWlIOCkuOCljeCkteCkleCljeCktyDgpaUg?=) Date: Mon, 27 Jun 2011 13:45:56 +0000 Subject: [BangPypers] [x-post] [ANN] Fwd: [Conferences] PyCon AU gender diversity grants for women in Python! In-Reply-To: References: Message-ID: FYI. ---------- Forwarded message ---------- PyCon AU gender diversity grants for women in Python ==================================================== PyCon AU is pleased to announce that it will be offering two gender diversity delegate grants to women who wish to attend PyCon AU in 2011. These grants will *both* cover full registration costs; in addition, one of the grants will cover up to $AUD500 of travel and accommodation costs for a woman living outside of the Sydney region to attend. These grants aim to reduce the financial barriers to attending PyCon AU 2011, by subsidising the registration and travel costs of people from diverse groups, who contribute in important ways to the Python community. More information can be found at?http://pycon-au.org/2011/grants/ Eligibility ----------- In order to be eligible for one of the grants, you must be: ?* a woman, aged 18 or older ?* professional, hobbyist or student interested in, or currently ? ?working in Python-related fields or projects ?* planning to attend both days of PyCon AU 2011 In order to be eligible for the travel and accommodation grant, you must additionally: ?* live further than 150 km from the conference venue. (If you are unsure, please visit ?http://maps.google.com.au/maps/place?q=66+Goulburn+St,+Sydney,+NSW+2000 ?and use the "Get Directions" link in the upper left-hand corner to ?calculate the driving distance from your place of residence to the venue.) More information can be found at?http://pycon-au.org/2011/grants/ Award Amount ------------ Both selected grant recipients will receive a free Full registration to PyCon AU (including a seat at the conference dinner on Saturday night), worth $198. In addition, the recipient of the travel and accommodation grant will be reimbursed up to $500 in travel and accommodation costs. More information can be found at?http://pycon-au.org/2011/grants/ Timeline -------- Applications for the gender diversity delegates grants are open now, and will close on **8th of July**. We will notify all successful recipients of their award by **15th of July** so that you can have ample time to complete your travel plans. More information can be found at?http://pycon-au.org/2011/grants/ Tim 'mithro' Ansell PyConAU Organiser -- vid ? http://svaksha.com ? From asif.jamadar at rezayat.net Tue Jun 28 07:29:34 2011 From: asif.jamadar at rezayat.net (Asif Jamadar) Date: Tue, 28 Jun 2011 05:29:34 +0000 Subject: [BangPypers] How to read barcoded value from the PDF Message-ID: Hi, I have a PDF document which consist of barcode characters. Now how can I retrieve that bar-coded value programmatically. When I googled I found a tool called Pypdf which provides a function called 'PdfFileReader' To read the PDF file, but how can I read the barcode form the existing PDF. Any solution? From lawgon at gmail.com Tue Jun 28 09:02:18 2011 From: lawgon at gmail.com (Kenneth Gonsalves) Date: Tue, 28 Jun 2011 12:32:18 +0530 Subject: [BangPypers] bof Message-ID: <1309244538.2443.8.camel@localhost> hi, there will be a bof this evening at Koshys, 7 pm onwards. -- regards Kenneth Gonsalves http://lawgon.livejournal.com/ From sree at mahiti.org Tue Jun 28 09:18:10 2011 From: sree at mahiti.org (Sreekanth S Rameshaiah) Date: Tue, 28 Jun 2011 12:48:10 +0530 Subject: [BangPypers] bof In-Reply-To: <1309244538.2443.8.camel@localhost> References: <1309244538.2443.8.camel@localhost> Message-ID: Dear Kenneth, On 28 June 2011 12:32, Kenneth Gonsalves wrote: > hi, > > there will be a bof this evening at Koshys, 7 pm onwards. > Will join. - sree > -- > regards > Kenneth Gonsalves > http://lawgon.livejournal.com/ > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Sreekanth S Rameshaiah Executive Director Mahiti Infotech Pvt. Ltd. "OpenSpace", #583, Vyalikaval HBCS Layout, Nagawara, Veerannapalya, Bangalore, India - 560043 Phone: +91 80 428-444-44 Mobile: +91 98455 12611 www.mahiti.org From noufal at gmail.com Tue Jun 28 09:36:18 2011 From: noufal at gmail.com (Noufal Ibrahim) Date: Tue, 28 Jun 2011 13:06:18 +0530 Subject: [BangPypers] bof In-Reply-To: <1309244538.2443.8.camel@localhost> (Kenneth Gonsalves's message of "Tue, 28 Jun 2011 12:32:18 +0530") References: <1309244538.2443.8.camel@localhost> Message-ID: <87boxio1al.fsf@sanitarium.localdomain> Kenneth Gonsalves writes: > hi, > > there will be a bof this evening at Koshys, 7 pm onwards. I'll try to make it. My daughter is not well so I might not be there. -- ~noufal http://nibrahim.net.in I never liked you, and I always will. -Samuel Goldwyn From gora at mimirtech.com Tue Jun 28 10:01:24 2011 From: gora at mimirtech.com (Gora Mohanty) Date: Tue, 28 Jun 2011 13:31:24 +0530 Subject: [BangPypers] How to read barcoded value from the PDF In-Reply-To: References: Message-ID: On Tue, Jun 28, 2011 at 10:59 AM, Asif Jamadar wrote: > Hi, > > > ?I have a PDF document which consist of barcode characters. Now how can I retrieve that bar-coded value programmatically. When I googled I found a tool called Pypdf which provides a function called 'PdfFileReader' > > To read the PDF file, but how can I read the barcode form the existing PDF. Any solution? Not quite sure what you expect to extract here? The barcode is just an image, so what exactly would you expect the output of this program to be? If you need to decode the barcode, there are a couple of open-source packages to do that. One that I have used is libdmtx ( http://www.libdmtx.org/ ). It is in C, though there seems to be a Python wrapper for it: http://libdmtx.wikidot.com/libdmtx-python-wrapper Regards, Gora From shashidhar85 at gmail.com Tue Jun 28 10:48:24 2011 From: shashidhar85 at gmail.com (Shashidhar P) Date: Tue, 28 Jun 2011 14:18:24 +0530 Subject: [BangPypers] bof In-Reply-To: References: <1309244538.2443.8.camel@localhost> Message-ID: Which Koshys ? Richmond town or where? and what is bof? On Tue, Jun 28, 2011 at 12:48 PM, Sreekanth S Rameshaiah wrote: > Dear Kenneth, > On 28 June 2011 12:32, Kenneth Gonsalves wrote: > > > hi, > > > > there will be a bof this evening at Koshys, 7 pm onwards. > > > Will join. > - sree > > > > -- > > regards > > Kenneth Gonsalves > > http://lawgon.livejournal.com/ > > > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > > > > -- > Sreekanth S Rameshaiah > Executive Director > Mahiti Infotech Pvt. Ltd. > "OpenSpace", #583, > Vyalikaval HBCS Layout, > Nagawara, Veerannapalya, > Bangalore, India - 560043 > Phone: +91 80 428-444-44 > Mobile: +91 98455 12611 > www.mahiti.org > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- ----------------------------------- Regards, Shashidhar N.Paragonda shashidhar85 at gmail.com +919449073835 From maxin_john at yahoo.co.uk Tue Jun 28 13:09:28 2011 From: maxin_john at yahoo.co.uk (Maxin B John) Date: Tue, 28 Jun 2011 12:09:28 +0100 (BST) Subject: [BangPypers] How to read barcoded value from the PDF In-Reply-To: References: Message-ID: <1309259368.8518.YahooMailNeo@web26604.mail.ukl.yahoo.com> Hi, > I have a PDF document which consist of barcode characters. Now how can I retrieve that >bar-coded value programmatically. When I googled I found a tool called Pypdf which provides a function called 'PdfFileReader' >To read the PDF file, but how can I read the barcode form the existing PDF. Any solution? Another solution might be using zbar: http://zbar.sourceforge.net/ Zbar can be used for reading bar codes from various sources, such as video streams, image files and raw intensity sensors (from: README) It's python binding (python-zbar) can be installed directly using the apt-get. Hope this helps. Maxin From lawgon at gmail.com Tue Jun 28 13:15:52 2011 From: lawgon at gmail.com (Kenneth Gonsalves) Date: Tue, 28 Jun 2011 16:45:52 +0530 Subject: [BangPypers] bof In-Reply-To: References: <1309244538.2443.8.camel@localhost> Message-ID: <1309259752.2355.9.camel@localhost> On Tue, 2011-06-28 at 14:18 +0530, Shashidhar P wrote: > Which Koshys ? Richmond town or where? st Marks road > and what is bof? come and find out -- regards Kenneth Gonsalves http://lawgon.livejournal.com/ From noufal at gmail.com Tue Jun 28 13:23:22 2011 From: noufal at gmail.com (Noufal Ibrahim) Date: Tue, 28 Jun 2011 16:53:22 +0530 Subject: [BangPypers] bof In-Reply-To: (Shashidhar P.'s message of "Tue, 28 Jun 2011 14:18:24 +0530") References: <1309244538.2443.8.camel@localhost> Message-ID: <87y60mmc7p.fsf@sanitarium.localdomain> Shashidhar P writes: > Which Koshys ? Richmond town or where? > and what is bof? [...] http://en.wikipedia.org/wiki/Birds_of_a_Feather_(computing) -- ~noufal http://nibrahim.net.in This page intentionally left blank. From brian.curtin at gmail.com Wed Jun 29 05:10:54 2011 From: brian.curtin at gmail.com (Brian Curtin) Date: Tue, 28 Jun 2011 22:10:54 -0500 Subject: [BangPypers] Python User Group International Survey Message-ID: The PSF is happy to launch today an international survey of Pythonuser group organizers to help it better serve the large and ever-expanding international Python user community. The survey contains questions on user group organization, events, demographics, and growth. There are some questions with numerical answers, and while your best guess is fine, you may find it helpful to gather some statistics on your user group membership before starting the survey (example statistics include the number of active members and the size and topics for recent user group events). We expect this survey to take around 30 minutes to complete. We appreciate your time and honesty in answering these questions. The PSF blog post announcing the survey: http://pyfound.blogspot.com/2011/06/tell-us-about-your-user-group.html The survey was written by Jessica McKellar (http://jesstess.com), organizer for the Boston Python Meetup (http://meetup.bostonpython.com), and Jesse Noller (http://jessenoller.com/), PSF board member and PyCon chair with input and feedback from survey specialists and others. https://www.surveymonkey.com/s/BWLG8SZ The survey was pretested with a handful of user group organizers, and their answers were phenomenal. Organizers have tons to say about these topics, and we hope to get a lot of great, actionable data for strengthening the relationship between the PSF and Python user groups out of this effort. Outreach, education, diversity and community building are critical for Python as a community, and the Foundation - this data should greatly assist in our targeting our resources and furthering the mission of the Foundation in all ways. Thank you The Python Software Foundation Jessica McKellar Jesse Noller From abpillai at gmail.com Wed Jun 29 06:54:18 2011 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Wed, 29 Jun 2011 10:24:18 +0530 Subject: [BangPypers] [Ipss] Python User Group International Survey In-Reply-To: References: Message-ID: Hi Brian, Thank you for informing the list(s). I have already completed this survey on behalf of BangPypers. --Anand On Wed, Jun 29, 2011 at 8:45 AM, Brian Curtin wrote: > The PSF is happy to launch today an international survey of Python user > group organizers to help it better serve the large and ever-expanding > international Python user community. > > The survey contains questions on user group organization, events, > demographics, and growth. There are some questions with numerical > answers, and while your best guess is fine, you may find it helpful to > gather some statistics on your user group membership before starting > the survey (example statistics include the number of active members > and the size and topics for recent user group events). > > We expect this survey to take around 30 minutes to complete. We > appreciate your time and honesty in answering these questions. > > The PSF blog post announcing the survey: > http://pyfound.blogspot.com/2011/06/tell-us-about-your-user-group.html > > The survey was written by Jessica McKellar (http://jesstess.com), > organizer for the Boston Python Meetup > (http://meetup.bostonpython.com), and Jesse Noller > (http://jessenoller.com/), PSF board member and PyCon chair with input > and feedback from survey specialists and others. > > https://www.surveymonkey.com/s/BWLG8SZ > > The survey was pretested with a handful of user group organizers, and > their answers were phenomenal. Organizers have tons to say about these > topics, and we hope to get a lot of great, actionable data for > strengthening the relationship between the PSF and Python user groups > out of this effort. > > Outreach, education, diversity and community building are critical for > Python as a community, and the Foundation - this data should greatly > assist in our targeting our resources and furthering the mission of > the Foundation in all ways. > > Thank you > > The Python Software Foundation > Jessica McKellar > Jesse Noller > > _______________________________________________ > Ipss mailing list > Ipss at python.org > http://mail.python.org/mailman/listinfo/ipss > > -- --Anand From venkat83 at gmail.com Wed Jun 29 07:47:29 2011 From: venkat83 at gmail.com (Venkatraman S) Date: Wed, 29 Jun 2011 11:17:29 +0530 Subject: [BangPypers] svg string to pdf Message-ID: Hi, I am trying to use reportlab(along with svglib) to draw a svg string into a pdf, but so far have not been successful. I can share the code for the same; but was wondering if anyone has any other options for the same? -Venkat From venkat83 at gmail.com Wed Jun 29 09:04:36 2011 From: venkat83 at gmail.com (Venkatraman S) Date: Wed, 29 Jun 2011 12:34:36 +0530 Subject: [BangPypers] svg string to pdf In-Reply-To: <1309327251.74906.YahooMailClassic@web95305.mail.in2.yahoo.com> References: <1309327251.74906.YahooMailClassic@web95305.mail.in2.yahoo.com> Message-ID: So the problem is this: I need to scale the svg - know how to do that? On Wed, Jun 29, 2011 at 11:30 AM, vijay wrote: > Hi Venkat, > i can try to help you if you can share code with me and explain me > problem area. > > With Regards > Vijay > > > --- On *Wed, 29/6/11, Venkatraman S * wrote: > > > From: Venkatraman S > Subject: [BangPypers] svg string to pdf > To: "Bangalore Python Users Group - India" > Date: Wednesday, 29 June, 2011, 11:17 AM > > Hi, > > I am trying to use reportlab(along with svglib) to draw a svg string into a > pdf, but so far have not been successful. > I can share the code for the same; but was wondering if anyone has any > other > options for the same? > > -Venkat > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > From venkat83 at gmail.com Wed Jun 29 09:08:57 2011 From: venkat83 at gmail.com (Venkatraman S) Date: Wed, 29 Jun 2011 12:38:57 +0530 Subject: [BangPypers] svg string to pdf In-Reply-To: References: <1309327251.74906.YahooMailClassic@web95305.mail.in2.yahoo.com> Message-ID: Ah. got it , had to use : drawing.transform = (0.5,0,0,0.5,0,0) On Wed, Jun 29, 2011 at 12:34 PM, Venkatraman S wrote: > So the problem is this: I need to scale the svg - know how to do that? > > > On Wed, Jun 29, 2011 at 11:30 AM, vijay wrote: > >> Hi Venkat, >> i can try to help you if you can share code with me and explain me >> problem area. >> >> With Regards >> Vijay >> >> >> --- On *Wed, 29/6/11, Venkatraman S * wrote: >> >> >> From: Venkatraman S >> Subject: [BangPypers] svg string to pdf >> To: "Bangalore Python Users Group - India" >> Date: Wednesday, 29 June, 2011, 11:17 AM >> >> Hi, >> >> I am trying to use reportlab(along with svglib) to draw a svg string into >> a >> pdf, but so far have not been successful. >> I can share the code for the same; but was wondering if anyone has any >> other >> options for the same? >> >> -Venkat >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> >> > From venkat83 at gmail.com Wed Jun 29 09:34:22 2011 From: venkat83 at gmail.com (Venkatraman S) Date: Wed, 29 Jun 2011 13:04:22 +0530 Subject: [BangPypers] svg string to pdf In-Reply-To: References: Message-ID: On Wed, Jun 29, 2011 at 11:17 AM, Venkatraman S wrote: > I am trying to use reportlab(along with svglib) to draw a svg string into a > pdf, but so far have not been successful. > I can share the code for the same; but was wondering if anyone has any > other options for the same? > It was a fun hack in the morning : i wanted to export protovis charts as a pdf. Tried pycairo, but couldnt set it up right. Also, pisa wasnt working right. Then tried with reportlab but of no avail. Then stumbled on svglib and made it work on svgstring. But something wasnt right, if i had multiple bars in a chart, the 0.5 version of svglib wasnt working right. Had to break my head for sometime, but later stumbled on the latest version of svglib, thats 0.6.3. Things worked, but the scaling was screwed up. More looking around for scaling/transform functions. And finally it all worked seamlessly. Will post this in github in a couple of days. -V From gora at mimirtech.com Wed Jun 29 10:07:13 2011 From: gora at mimirtech.com (Gora Mohanty) Date: Wed, 29 Jun 2011 13:37:13 +0530 Subject: [BangPypers] svg string to pdf In-Reply-To: References: Message-ID: On Wed, Jun 29, 2011 at 1:04 PM, Venkatraman S wrote: > On Wed, Jun 29, 2011 at 11:17 AM, Venkatraman S wrote: > >> I am trying to use reportlab(along with svglib) to draw a svg string into a >> pdf, but so far have not been successful. >> I can share the code for the same; but was wondering if anyone has any >> other options for the same? [...] Not quite what you want, but after struggling with PIL, and other libraries for some simple-to-moderately complex image processing, we have chosen to simply use ImageMagick via popen. Imagemagick is fully featured, at least as far as we are concerned. You could use it to convert SVG to PDF, and scale the image in the process. Regards, Gora From venkat83 at gmail.com Wed Jun 29 10:17:59 2011 From: venkat83 at gmail.com (Venkatraman S) Date: Wed, 29 Jun 2011 13:47:59 +0530 Subject: [BangPypers] svg string to pdf In-Reply-To: References: Message-ID: On Wed, Jun 29, 2011 at 1:37 PM, Gora Mohanty wrote: > > Not quite what you want, but after struggling with PIL, and other libraries > for some simple-to-moderately complex image processing, we have chosen > to simply use ImageMagick via popen. Imagemagick is fully featured, at > least > as far as we are concerned. You could use it to convert SVG to PDF, and > scale the image in the process. > Problem statement : given a svg string, i want this to be converted-to/embedded-in pdf. The svg file should NOT be created on the file system. (If the svg can *automatically* scale based on the width of the pdf, then its awsum!) What is the memory footprint of ImageMagick? I dont like to have truck load of apps to get something done. ReportLab is a known name in creating pdfs and its installed almost always, and svglib is just ONE single py file. But if ImageMagick is AWSUM, then dont mind giving it a try. -V http://blizzardzblogs.blogspot.com/ From sharan at indee.tv Wed Jun 29 11:20:30 2011 From: sharan at indee.tv (Sharan Reddy) Date: Wed, 29 Jun 2011 14:50:30 +0530 Subject: [BangPypers] BangPypers Digest, Vol 46, Issue 25 In-Reply-To: References: Message-ID: <1578AD41-33BB-4852-9AB6-BA0B26D90F21@indee.tv> Anyone interested in the Hacker News meetup tomorrow? http://news.ycombinator.com/item?id=2704635 ___________ www.Indee.tv On Jun 29, 2011, at 12:34, bangpypers-request at python.org wrote: > Send BangPypers mailing list submissions to > bangpypers at python.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://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. Re: How to read barcoded value from the PDF (Maxin B John) > 2. Re: bof (Kenneth Gonsalves) > 3. Re: bof (Noufal Ibrahim) > 4. Python User Group International Survey (Brian Curtin) > 5. Re: [Ipss] Python User Group International Survey > (Anand Balachandran Pillai) > 6. svg string to pdf (Venkatraman S) > 7. Re: svg string to pdf (Venkatraman S) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 28 Jun 2011 12:09:28 +0100 (BST) > From: Maxin B John > To: "bangpypers at python.org" > Subject: Re: [BangPypers] How to read barcoded value from the PDF > Message-ID: <1309259368.8518.YahooMailNeo at web26604.mail.ukl.yahoo.com> > Content-Type: text/plain; charset=utf-8 > > Hi, > >> I have a PDF document which consist of barcode characters. Now how > can I retrieve that > >> bar-coded value programmatically. When I googled I > found a tool called Pypdf which provides a function called > 'PdfFileReader' >> To read the PDF file, but how can I read the barcode form the existing PDF. Any solution? > > Another solution might be using zbar: http://zbar.sourceforge.net/ > > > Zbar can be used for reading bar codes from various sources, such as video streams, image files and raw > intensity sensors (from: README) > > It's python binding (python-zbar) can be installed directly using the apt-get. > > Hope this helps. > > Maxin > > > > ------------------------------ > > Message: 2 > Date: Tue, 28 Jun 2011 16:45:52 +0530 > From: Kenneth Gonsalves > To: Bangalore Python Users Group - India > Subject: Re: [BangPypers] bof > Message-ID: <1309259752.2355.9.camel at localhost> > Content-Type: text/plain; charset="UTF-8" > > On Tue, 2011-06-28 at 14:18 +0530, Shashidhar P wrote: >> Which Koshys ? Richmond town or where? > > st Marks road >> and what is bof? > > come and find out > -- > regards > Kenneth Gonsalves > http://lawgon.livejournal.com/ > > > > ------------------------------ > > Message: 3 > Date: Tue, 28 Jun 2011 16:53:22 +0530 > From: Noufal Ibrahim > To: Bangalore Python Users Group - India > Cc: mahiti at mahiti.org > Subject: Re: [BangPypers] bof > Message-ID: <87y60mmc7p.fsf at sanitarium.localdomain> > Content-Type: text/plain; charset=us-ascii > > Shashidhar P writes: > >> Which Koshys ? Richmond town or where? >> and what is bof? > > [...] > > http://en.wikipedia.org/wiki/Birds_of_a_Feather_(computing) > > -- > ~noufal > http://nibrahim.net.in > > This page intentionally left blank. > > > ------------------------------ > > Message: 4 > Date: Tue, 28 Jun 2011 22:10:54 -0500 > From: Brian Curtin > To: bangpypers at python.org > Subject: [BangPypers] Python User Group International Survey > Message-ID: > Content-Type: text/plain; charset=ISO-8859-1 > > The PSF is happy to launch today an international survey of Pythonuser > group organizers to help it better serve the large and ever-expanding > international Python user community. > > The survey contains questions on user group organization, events, > demographics, and growth. There are some questions with numerical > answers, and while your best guess is fine, you may find it helpful to > gather some statistics on your user group membership before starting > the survey (example statistics include the number of active members > and the size and topics for recent user group events). > > We expect this survey to take around 30 minutes to complete. We > appreciate your time and honesty in answering these questions. > > The PSF blog post announcing the survey: > http://pyfound.blogspot.com/2011/06/tell-us-about-your-user-group.html > > The survey was written by Jessica McKellar (http://jesstess.com), > organizer for the Boston Python Meetup > (http://meetup.bostonpython.com), and Jesse Noller > (http://jessenoller.com/), PSF board member and PyCon chair with input > and feedback from survey specialists and others. > > https://www.surveymonkey.com/s/BWLG8SZ > > The survey was pretested with a handful of user group organizers, and > their answers were phenomenal. Organizers have tons to say about these > topics, and we hope to get a lot of great, actionable data for > strengthening the relationship between the PSF and Python user groups > out of this effort. > > Outreach, education, diversity and community building are critical for > Python as a community, and the Foundation - this data should greatly > assist in our targeting our resources and furthering the mission of > the Foundation in all ways. > > Thank you > > The Python Software Foundation > Jessica McKellar > Jesse Noller > > > ------------------------------ > > Message: 5 > Date: Wed, 29 Jun 2011 10:24:18 +0530 > From: Anand Balachandran Pillai > To: Indian Python Software Society > Cc: Bangalore Python Users Group - India > Subject: Re: [BangPypers] [Ipss] Python User Group International > Survey > Message-ID: > Content-Type: text/plain; charset=UTF-8 > > Hi Brian, > > Thank you for informing the list(s). I have already > completed this survey on behalf of BangPypers. > > --Anand > > On Wed, Jun 29, 2011 at 8:45 AM, Brian Curtin wrote: > >> The PSF is happy to launch today an international survey of Python user >> group organizers to help it better serve the large and ever-expanding >> international Python user community. >> >> The survey contains questions on user group organization, events, >> demographics, and growth. There are some questions with numerical >> answers, and while your best guess is fine, you may find it helpful to >> gather some statistics on your user group membership before starting >> the survey (example statistics include the number of active members >> and the size and topics for recent user group events). >> >> We expect this survey to take around 30 minutes to complete. We >> appreciate your time and honesty in answering these questions. >> >> The PSF blog post announcing the survey: >> http://pyfound.blogspot.com/2011/06/tell-us-about-your-user-group.html >> >> The survey was written by Jessica McKellar (http://jesstess.com), >> organizer for the Boston Python Meetup >> (http://meetup.bostonpython.com), and Jesse Noller >> (http://jessenoller.com/), PSF board member and PyCon chair with input >> and feedback from survey specialists and others. >> >> https://www.surveymonkey.com/s/BWLG8SZ >> >> The survey was pretested with a handful of user group organizers, and >> their answers were phenomenal. Organizers have tons to say about these >> topics, and we hope to get a lot of great, actionable data for >> strengthening the relationship between the PSF and Python user groups >> out of this effort. >> >> Outreach, education, diversity and community building are critical for >> Python as a community, and the Foundation - this data should greatly >> assist in our targeting our resources and furthering the mission of >> the Foundation in all ways. >> >> Thank you >> >> The Python Software Foundation >> Jessica McKellar >> Jesse Noller >> >> _______________________________________________ >> Ipss mailing list >> Ipss at python.org >> http://mail.python.org/mailman/listinfo/ipss >> >> > > > -- > --Anand > > > ------------------------------ > > Message: 6 > Date: Wed, 29 Jun 2011 11:17:29 +0530 > From: Venkatraman S > To: Bangalore Python Users Group - India > Subject: [BangPypers] svg string to pdf > Message-ID: > Content-Type: text/plain; charset=UTF-8 > > Hi, > > I am trying to use reportlab(along with svglib) to draw a svg string into a > pdf, but so far have not been successful. > I can share the code for the same; but was wondering if anyone has any other > options for the same? > > -Venkat > > > ------------------------------ > > Message: 7 > Date: Wed, 29 Jun 2011 12:34:36 +0530 > From: Venkatraman S > To: Bangalore Python Users Group - India > Subject: Re: [BangPypers] svg string to pdf > Message-ID: > Content-Type: text/plain; charset=UTF-8 > > So the problem is this: I need to scale the svg - know how to do that? > > On Wed, Jun 29, 2011 at 11:30 AM, vijay wrote: > >> Hi Venkat, >> i can try to help you if you can share code with me and explain me >> problem area. >> >> With Regards >> Vijay >> >> >> --- On *Wed, 29/6/11, Venkatraman S * wrote: >> >> >> From: Venkatraman S >> Subject: [BangPypers] svg string to pdf >> To: "Bangalore Python Users Group - India" >> Date: Wednesday, 29 June, 2011, 11:17 AM >> >> Hi, >> >> I am trying to use reportlab(along with svglib) to draw a svg string into a >> pdf, but so far have not been successful. >> I can share the code for the same; but was wondering if anyone has any >> other >> options for the same? >> >> -Venkat >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> >> > > > ------------------------------ > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > > End of BangPypers Digest, Vol 46, Issue 25 > ****************************************** From gora at mimirtech.com Wed Jun 29 22:10:10 2011 From: gora at mimirtech.com (Gora Mohanty) Date: Thu, 30 Jun 2011 01:40:10 +0530 Subject: [BangPypers] svg string to pdf In-Reply-To: References: Message-ID: On Wed, Jun 29, 2011 at 1:47 PM, Venkatraman S wrote: > On Wed, Jun 29, 2011 at 1:37 PM, Gora Mohanty wrote: [...] > Problem statement : given a svg string, i want this to be > converted-to/embedded-in > pdf. The svg file should NOT be created on the file system. Not sure what you mean by a "svg string". > (If the svg can *automatically* scale based on the width of the pdf, then > its awsum!) > > What is the memory footprint of ImageMagick? I dont like to have truck load > of apps to get > something done. ReportLab is a known name in creating pdfs and its installed > almost > always, and svglib is just ONE single py file. But if ImageMagick is AWSUM, > then dont > mind giving it a try. [...] You must have mistaken me for someone willing to do your homework for you for free. By all means, go with ReportLab if that meets your needs: I have *no* particular need to push Imagemagick on to you. Regards, Gora From lawgon at gmail.com Thu Jun 30 05:23:11 2011 From: lawgon at gmail.com (Kenneth Gonsalves) Date: Thu, 30 Jun 2011 08:53:11 +0530 Subject: [BangPypers] svg string to pdf In-Reply-To: References: Message-ID: <1309404191.2708.8.camel@localhost> On Thu, 2011-06-30 at 01:40 +0530, Gora Mohanty wrote: > You must have mistaken me for someone willing to do your homework for > you > for free. please watch your tone - this is not ilugd. -- regards Kenneth Gonsalves http://lawgon.livejournal.com/ From venkat83 at gmail.com Thu Jun 30 06:55:13 2011 From: venkat83 at gmail.com (Venkatraman S) Date: Thu, 30 Jun 2011 10:25:13 +0530 Subject: [BangPypers] svg string to pdf In-Reply-To: <1309404191.2708.8.camel@localhost> References: <1309404191.2708.8.camel@localhost> Message-ID: On Thu, Jun 30, 2011 at 8:53 AM, Kenneth Gonsalves wrote: > On Thu, 2011-06-30 at 01:40 +0530, Gora Mohanty wrote: > > You must have mistaken me for someone willing to do your homework for > > you > > for free. > > please watch your tone - this is not ilugd. > Sigh! Well, if i had asked you to do my homework, i wouldnt have taken the hassles of investigating so much before posting. And wouldn't ask you pertinent Qs w.r.t what you suggest. If you namedrop, then substantiate it suitably - i.e, suggesting a package should come with its own reasons, and you should also be ready to take questions. But nwayz, get a Ethics 101 course in the nearest school. -V From venkat83 at gmail.com Thu Jun 30 07:00:29 2011 From: venkat83 at gmail.com (Venkatraman S) Date: Thu, 30 Jun 2011 10:30:29 +0530 Subject: [BangPypers] svg string to pdf In-Reply-To: References: <1309404191.2708.8.camel@localhost> Message-ID: So, i spent some more time in investigating some issues with SVG to PDF conversion and it looks like that the text and opacity present in SVG cant be converted to PDF 'directly'. For eg. the last image on this page : http://mbostock.github.com/protovis/docs/label.html Using Reportlab and svglib, i see no opacity and also the text size doesnt scale. But, i heard from one more guy(who was using cairo) that he was getting the right opacity but not the right text size. I tried contacting the author of svglib for some support, but looks like he is not maintaining it anymore. I looked around the code of svglib and it looks like this can be done, but i need to investigate on how reportlab works with opacity. -V From gora at mimirtech.com Thu Jun 30 07:15:06 2011 From: gora at mimirtech.com (Gora Mohanty) Date: Thu, 30 Jun 2011 10:45:06 +0530 Subject: [BangPypers] svg string to pdf In-Reply-To: References: <1309404191.2708.8.camel@localhost> Message-ID: On Thu, Jun 30, 2011 at 10:25 AM, Venkatraman S wrote: > On Thu, Jun 30, 2011 at 8:53 AM, Kenneth Gonsalves wrote: > >> On Thu, 2011-06-30 at 01:40 +0530, Gora Mohanty wrote: >> > You must have mistaken me for someone willing to do your homework for >> > you >> > for free. >> >> please watch your tone - this is not ilugd. >> > > Sigh! > > Well, if i had asked you to do my homework, i wouldnt have ?taken the > hassles of investigating > so much before posting. And wouldn't ask you pertinent Qs w.r.t what you > suggest. My apologies: My tone was too snarky. We use Imagemagick through the command-line interface, and our demands are nowhere near high enough that I have had cause to investigate memory usage. Also, forgot to mention that Imagemagick does have Python bindings, but they are sadly incomplete. So, going through the command-line via Popen seemed to be the best bet. > If you namedrop, then substantiate it suitably - i.e, suggesting a package > should come with its own reasons, > and you should also be ready to take questions. [...] Sorry, disagree there, and am not sure what exactly you mean by "namedropping". Also, I pointed out a solution to you, and definitely do *not* feel that my obligations extend beyond that. I am not sure where you derive that expectation from. Regards, Gora From noufal at gmail.com Thu Jun 30 07:14:47 2011 From: noufal at gmail.com (Noufal Ibrahim) Date: Thu, 30 Jun 2011 10:44:47 +0530 Subject: [BangPypers] svg string to pdf In-Reply-To: (Venkatraman S.'s message of "Thu, 30 Jun 2011 10:25:13 +0530") References: <1309404191.2708.8.camel@localhost> Message-ID: <87mxgz3np4.fsf@sanitarium.localdomain> Venkatraman S writes: > On Thu, Jun 30, 2011 at 8:53 AM, Kenneth Gonsalves > wrote: > >> On Thu, 2011-06-30 at 01:40 +0530, Gora Mohanty wrote: >> > You must have mistaken me for someone willing to do your homework >> > for you for free. >> please watch your tone - this is not ilugd. >> > > Sigh! > > Well, if i had asked you to do my homework, i wouldnt have taken the > hassles of investigating so much before posting. And wouldn't ask you > pertinent Qs w.r.t what you suggest. If you namedrop, then > substantiate it suitably - i.e, suggesting a package should come with > its own reasons, and you should also be ready to take questions. [...] +1. A couple of side points. There is a PythonMagick which are bindings to image magick - http://www.imagemagick.org/download/python/. They look reasonably uptodate and I'd expect them to perform better than suprocesses. -- ~noufal http://nibrahim.net.in As famous as the unknown soldier. From baiju.m.mail at gmail.com Thu Jun 30 07:22:37 2011 From: baiju.m.mail at gmail.com (Baiju M) Date: Thu, 30 Jun 2011 10:52:37 +0530 Subject: [BangPypers] svg string to pdf In-Reply-To: <87mxgz3np4.fsf@sanitarium.localdomain> References: <1309404191.2708.8.camel@localhost> <87mxgz3np4.fsf@sanitarium.localdomain> Message-ID: On Thu, Jun 30, 2011 at 10:44 AM, Noufal Ibrahim wrote: [...snip...] > A couple of side points. There is a PythonMagick which are bindings to > image magick - http://www.imagemagick.org/download/python/. They look > reasonably uptodate and I'd expect them to perform better than > suprocesses. wkhtmltopdf also might be an option: http://code.google.com/p/wkhtmltopdf/ -- Baiju M From vsapre80 at gmail.com Thu Jun 30 08:27:12 2011 From: vsapre80 at gmail.com (Vishal) Date: Thu, 30 Jun 2011 11:57:12 +0530 Subject: [BangPypers] [OT] getting a business email vendor Message-ID: Hello Friends, This is Off Topic and nothing related to Python in general...thought of sending here since many industry veterans watch this list. We would like to have a *good* business email vendor, and hosting for our website. Would like to know the ones you have found to be good in *India*. Google Apps looks very attractive...but prices are high ($50/per account/per year)...where as many Indian vendors provide 5-10 email addresses at much lower price. Any suggestions? -- Thanks and best regards, Vishal Sapre --- "So say...Day by day, in every way, I am getting better, better and better !!!" "A Strong and Positive attitude creates more miracles than anything else." "Life is 10% how you make it, and 90% how you take it" "Diamond is another piece of coal that did well under pressure? "May we do good and not evil. May we find forgiveness for ourself and forgive others. May we share freely, never taking more than we give." "????? ?????, ????? ????? (Benefit for most people, Happiness for most people.)" The difference between "*ordinary*" and "*extraordinary*" is that "extra". Its called by another name, "*preparation*". Extraordinary people prepare themselves for situations that ordinary people choose to ignore. From navin.kabra at gmail.com Thu Jun 30 08:55:20 2011 From: navin.kabra at gmail.com (Navin Kabra) Date: Thu, 30 Jun 2011 12:25:20 +0530 Subject: [BangPypers] [OT] getting a business email vendor In-Reply-To: References: Message-ID: On Thu, Jun 30, 2011 at 11:57 AM, Vishal wrote: > We would like to have a *good* business email vendor, and hosting for our > website. > > Would like to know the ones you have found to be good in *India*. > Try Mithi Software (http://www.mithi.com/) a Pune-based company. From venkat83 at gmail.com Thu Jun 30 09:03:17 2011 From: venkat83 at gmail.com (Venkatraman S) Date: Thu, 30 Jun 2011 12:33:17 +0530 Subject: [BangPypers] [OT] getting a business email vendor In-Reply-To: References: Message-ID: On Thu, Jun 30, 2011 at 11:57 AM, Vishal wrote: > > Google Apps looks very attractive...but prices are high ($50/per > account/per > year)...where as many Indian vendors provide 5-10 email addresses at much > lower price. > > Any suggestions? > Try mitsu.in for a domain registration and host the website in appspot. I find this combination to be the cheapest of all. I have always been doing/using this combo. Also, if the number of users is just going to be 5-10, then google appsshould be good. -V http://blizzardzblogs.blogspot.com/ From lawgon at gmail.com Thu Jun 30 10:18:19 2011 From: lawgon at gmail.com (Kenneth Gonsalves) Date: Thu, 30 Jun 2011 13:48:19 +0530 Subject: [BangPypers] [OT] getting a business email vendor In-Reply-To: References: Message-ID: <1309421899.2444.7.camel@localhost> On Thu, 2011-06-30 at 11:57 +0530, Vishal wrote: > This is Off Topic and nothing related to Python in general...thought > of > sending here since many industry veterans watch this list. > > please refrain from such questions in future. -- regards Kenneth Gonsalves http://lawgon.livejournal.com/ From aritra.ghosh007 at gmail.com Thu Jun 30 12:06:31 2011 From: aritra.ghosh007 at gmail.com (aritra ghosh) Date: Thu, 30 Jun 2011 15:36:31 +0530 Subject: [BangPypers] BangPypers Digest, Vol 46, Issue 28 In-Reply-To: References: Message-ID: Try atmail.com On Thu, Jun 30, 2011 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 > http://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. [OT] getting a business email vendor (Vishal) > 2. Re: [OT] getting a business email vendor (Navin Kabra) > 3. Re: [OT] getting a business email vendor (Venkatraman S) > 4. Re: [OT] getting a business email vendor (Kenneth Gonsalves) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 30 Jun 2011 11:57:12 +0530 > From: Vishal > To: Bangalore Python Users Group - India > Subject: [BangPypers] [OT] getting a business email vendor > Message-ID: > Content-Type: text/plain; charset=UTF-8 > > Hello Friends, > > This is Off Topic and nothing related to Python in general...thought of > sending here since many industry veterans watch this list. > > We would like to have a *good* business email vendor, and hosting for our > website. > > Would like to know the ones you have found to be good in *India*. > > Google Apps looks very attractive...but prices are high ($50/per > account/per > year)...where as many Indian vendors provide 5-10 email addresses at much > lower price. > > Any suggestions? > > -- > Thanks and best regards, > Vishal Sapre > > --- > "So say...Day by day, in every way, I am getting better, better and better > !!!" > "A Strong and Positive attitude creates more miracles than anything else." > "Life is 10% how you make it, and 90% how you take it" > "Diamond is another piece of coal that did well under pressure? > "May we do good and not evil. May we find forgiveness for ourself and > forgive others. May we share freely, never taking more than we give." > "????? ?????, ????? ????? (Benefit for most people, Happiness for most > people.)" > The difference between "*ordinary*" and "*extraordinary*" is that "extra". > Its called by another name, "*preparation*". Extraordinary people prepare > themselves for situations that ordinary people choose to ignore. > > > ------------------------------ > > Message: 2 > Date: Thu, 30 Jun 2011 12:25:20 +0530 > From: Navin Kabra > To: Bangalore Python Users Group - India > Subject: Re: [BangPypers] [OT] getting a business email vendor > Message-ID: > > > Content-Type: text/plain; charset=ISO-8859-1 > > On Thu, Jun 30, 2011 at 11:57 AM, Vishal wrote: > > > We would like to have a *good* business email vendor, and hosting for our > > website. > > > > Would like to know the ones you have found to be good in *India*. > > > > Try Mithi Software (http://www.mithi.com/) a Pune-based company. > > > ------------------------------ > > Message: 3 > Date: Thu, 30 Jun 2011 12:33:17 +0530 > From: Venkatraman S > To: Bangalore Python Users Group - India > Subject: Re: [BangPypers] [OT] getting a business email vendor > Message-ID: > Content-Type: text/plain; charset=UTF-8 > > On Thu, Jun 30, 2011 at 11:57 AM, Vishal wrote: > > > > > Google Apps looks very attractive...but prices are high ($50/per > > account/per > > year)...where as many Indian vendors provide 5-10 email addresses at much > > lower price. > > > > Any suggestions? > > > > Try mitsu.in for a domain registration and host the website in appspot. > I find this combination to be the cheapest of all. I have always been > doing/using this combo. > > Also, if the number of users is just going to be 5-10, then google > appsshould be > good. > > -V > http://blizzardzblogs.blogspot.com/ > > > ------------------------------ > > Message: 4 > Date: Thu, 30 Jun 2011 13:48:19 +0530 > From: Kenneth Gonsalves > To: Bangalore Python Users Group - India > Subject: Re: [BangPypers] [OT] getting a business email vendor > Message-ID: <1309421899.2444.7.camel at localhost> > Content-Type: text/plain; charset="UTF-8" > > On Thu, 2011-06-30 at 11:57 +0530, Vishal wrote: > > This is Off Topic and nothing related to Python in general...thought > > of > > sending here since many industry veterans watch this list. > > > > > > please refrain from such questions in future. > -- > regards > Kenneth Gonsalves > http://lawgon.livejournal.com/ > > > > ------------------------------ > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > > End of BangPypers Digest, Vol 46, Issue 28 > ****************************************** > -- Aritra Ghosh Dastidar From look4puneet at gmail.com Thu Jun 30 15:19:33 2011 From: look4puneet at gmail.com (Puneet Aggarwal) Date: Thu, 30 Jun 2011 18:49:33 +0530 Subject: [BangPypers] Spell Checker Python Message-ID: Hello Everyone, Anyone knows any good package for spell checker/corrector in python ? Something like google's did you mean functionality. Thanks, Puneet From gora at mimirtech.com Thu Jun 30 15:26:17 2011 From: gora at mimirtech.com (Gora Mohanty) Date: Thu, 30 Jun 2011 18:56:17 +0530 Subject: [BangPypers] Spell Checker Python In-Reply-To: References: Message-ID: On Thu, Jun 30, 2011 at 6:49 PM, Puneet Aggarwal wrote: > Hello Everyone, > > Anyone knows any good package for spell checker/corrector in python ? The best open-source spellchecker that I know of is aspell. Unfortunately, only C bindings are available by default, but one can build Python bindings with SWIG. We have done that already, though not yet put it together as an open-source package. Please email me off-list if you are interested in this. > Something like google's did you mean functionality. This is not the same thing as spellchecking. It is more like a recommendation engine. Which one did you want? Can you provide some use cases? Regards, Gora From munichlinux at gmail.com Thu Jun 30 15:27:27 2011 From: munichlinux at gmail.com (Prashanth) Date: Thu, 30 Jun 2011 18:57:27 +0530 Subject: [BangPypers] Spell Checker Python In-Reply-To: References: Message-ID: Hi Puneet, On Thu, Jun 30, 2011 at 6:49 PM, Puneet Aggarwal wrote: > > Anyone knows any good package for spell checker/corrector in python ? > Python binding for GNU aspell?http://0x80.pl/proj/aspell-python/ -- regards, Prashanth twitter: munichlinux From look4puneet at gmail.com Thu Jun 30 15:29:26 2011 From: look4puneet at gmail.com (Puneet Aggarwal) Date: Thu, 30 Jun 2011 18:59:26 +0530 Subject: [BangPypers] Spell Checker Python In-Reply-To: References: Message-ID: Hi Gora, Thanks for the quick reply. Basically I am looking for spell correction in the sense if someone does a mistake in spelling. Let say someone want to search "restaurant" and types the spelling wrong as resturant or something. So that we can help him correct it. Thanks, Puneet On Thu, Jun 30, 2011 at 6:56 PM, Gora Mohanty wrote: > On Thu, Jun 30, 2011 at 6:49 PM, Puneet Aggarwal > wrote: > > Hello Everyone, > > > > Anyone knows any good package for spell checker/corrector in python ? > > The best open-source spellchecker that I know of is aspell. Unfortunately, > only C bindings are available by default, but one can build Python bindings > with SWIG. We have done that already, though not yet put it together as > an open-source package. Please email me off-list if you are interested in > this. > > > Something like google's did you mean functionality. > > This is not the same thing as spellchecking. It is more like a > recommendation > engine. Which one did you want? Can you provide some use cases? > > Regards, > Gora > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From look4puneet at gmail.com Thu Jun 30 15:30:04 2011 From: look4puneet at gmail.com (Puneet Aggarwal) Date: Thu, 30 Jun 2011 19:00:04 +0530 Subject: [BangPypers] Spell Checker Python In-Reply-To: References: Message-ID: On Thu, Jun 30, 2011 at 6:57 PM, Prashanth wrote: > Hi Puneet, > > On Thu, Jun 30, 2011 at 6:49 PM, Puneet Aggarwal > wrote: > > > > Anyone knows any good package for spell checker/corrector in python ? > > > > > Python binding for GNU aspell http://0x80.pl/proj/aspell-python/ > Thanks Prashanth, I will check it. > > -- > regards, > Prashanth > twitter: munichlinux > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From jaganadhg at gmail.com Thu Jun 30 16:18:44 2011 From: jaganadhg at gmail.com (JAGANADH G) Date: Thu, 30 Jun 2011 19:48:44 +0530 Subject: [BangPypers] Spell Checker Python In-Reply-To: References: Message-ID: On Thu, Jun 30, 2011 at 6:49 PM, Puneet Aggarwal wrote: > Hello Everyone, > > Anyone knows any good package for spell checker/corrector in python ? > Something like google's did you mean functionality. > > The best Python library for the purpose is PyEnchant Refer http://www.rfk.id.au/software/pyenchant/ If you require any further assistance on the same let me know -- ********************************** JAGANADH G http://jaganadhg.freeflux.net/blog *ILUGCBE* http://ilugcbe.techstud.org From gora at mimirtech.com Thu Jun 30 17:23:12 2011 From: gora at mimirtech.com (Gora Mohanty) Date: Thu, 30 Jun 2011 20:53:12 +0530 Subject: [BangPypers] Spell Checker Python In-Reply-To: References: Message-ID: On Thu, Jun 30, 2011 at 6:59 PM, Puneet Aggarwal wrote: > Hi Gora, > > Thanks for the quick reply. Basically I am looking for spell correction in > the sense if someone does a mistake in spelling. > > Let say someone want to search "restaurant" and types the spelling wrong as > resturant or something. So that we can help him correct it. [...] In that case, you definitely want a Python binding around aspell. Several people have already suggested possibilities here. Try Enchant before other things, as it allows one the possibility of using backends other than aspell, such as hunspell, though at least last when I looked at it, aspell was better, and supported better. Regards, Gora From jaganadhg at gmail.com Thu Jun 30 17:31:02 2011 From: jaganadhg at gmail.com (JAGANADH G) Date: Thu, 30 Jun 2011 21:01:02 +0530 Subject: [BangPypers] Spell Checker Python In-Reply-To: References: Message-ID: On Thu, Jun 30, 2011 at 8:53 PM, Gora Mohanty wrote: > On Thu, Jun 30, 2011 at 6:59 PM, Puneet Aggarwal > wrote: > > Hi Gora, > > > > Thanks for the quick reply. Basically I am looking for spell correction > in > > the sense if someone does a mistake in spelling. > > > > Let say someone want to search "restaurant" and types the spelling wrong > as > > resturant or something. So that we can help him correct it. > [...] > > In that case, you definitely want a Python binding around aspell. Several > people have already suggested possibilities here. Try Enchant before > other things, as it allows one the possibility of using backends other > than aspell, such as hunspell, though at least last when I looked at it, > aspell was better, and supported better. > > Enchant + edit distance will solve the problem . You can use theedit_distance from nltk.metrocs -- ********************************** JAGANADH G http://jaganadhg.freeflux.net/blog *ILUGCBE* http://ilugcbe.techstud.org From vikram.kmth at gmail.com Thu Jun 30 18:04:30 2011 From: vikram.kmth at gmail.com (Vikram Kamath) Date: Thu, 30 Jun 2011 21:34:30 +0530 Subject: [BangPypers] BangPypers Digest, Vol 46, Issue 29 In-Reply-To: References: Message-ID: Hi, I hope this helps: http://www.norvig.com/spell-correct.html On Thu, Jun 30, 2011 at 7:49 PM, wrote: > Send BangPypers mailing list submissions to > bangpypers at python.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://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. Re: BangPypers Digest, Vol 46, Issue 28 (aritra ghosh) > 2. Spell Checker Python (Puneet Aggarwal) > 3. Re: Spell Checker Python (Gora Mohanty) > 4. Re: Spell Checker Python (Prashanth) > 5. Re: Spell Checker Python (Puneet Aggarwal) > 6. Re: Spell Checker Python (Puneet Aggarwal) > 7. Re: Spell Checker Python (JAGANADH G) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 30 Jun 2011 15:36:31 +0530 > From: aritra ghosh > To: bangpypers at python.org > Subject: Re: [BangPypers] BangPypers Digest, Vol 46, Issue 28 > Message-ID: > Content-Type: text/plain; charset=ISO-8859-1 > > Try atmail.com > > On Thu, Jun 30, 2011 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 > > http://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. [OT] getting a business email vendor (Vishal) > > 2. Re: [OT] getting a business email vendor (Navin Kabra) > > 3. Re: [OT] getting a business email vendor (Venkatraman S) > > 4. Re: [OT] getting a business email vendor (Kenneth Gonsalves) > > > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Thu, 30 Jun 2011 11:57:12 +0530 > > From: Vishal > > To: Bangalore Python Users Group - India > > Subject: [BangPypers] [OT] getting a business email vendor > > Message-ID: > > Content-Type: text/plain; charset=UTF-8 > > > > Hello Friends, > > > > This is Off Topic and nothing related to Python in general...thought of > > sending here since many industry veterans watch this list. > > > > We would like to have a *good* business email vendor, and hosting for our > > website. > > > > Would like to know the ones you have found to be good in *India*. > > > > Google Apps looks very attractive...but prices are high ($50/per > > account/per > > year)...where as many Indian vendors provide 5-10 email addresses at much > > lower price. > > > > Any suggestions? > > > > -- > > Thanks and best regards, > > Vishal Sapre > > > > --- > > "So say...Day by day, in every way, I am getting better, better and > better > > !!!" > > "A Strong and Positive attitude creates more miracles than anything > else." > > "Life is 10% how you make it, and 90% how you take it" > > "Diamond is another piece of coal that did well under pressure? > > "May we do good and not evil. May we find forgiveness for ourself and > > forgive others. May we share freely, never taking more than we give." > > "????? ?????, ????? ????? (Benefit for most people, Happiness for most > > people.)" > > The difference between "*ordinary*" and "*extraordinary*" is that > "extra". > > Its called by another name, "*preparation*". Extraordinary people prepare > > themselves for situations that ordinary people choose to ignore. > > > > > > ------------------------------ > > > > Message: 2 > > Date: Thu, 30 Jun 2011 12:25:20 +0530 > > From: Navin Kabra > > To: Bangalore Python Users Group - India > > Subject: Re: [BangPypers] [OT] getting a business email vendor > > Message-ID: > > 5Rfw at mail.gmail.com > > > > > Content-Type: text/plain; charset=ISO-8859-1 > > > > On Thu, Jun 30, 2011 at 11:57 AM, Vishal wrote: > > > > > We would like to have a *good* business email vendor, and hosting for > our > > > website. > > > > > > Would like to know the ones you have found to be good in *India*. > > > > > > > Try Mithi Software (http://www.mithi.com/) a Pune-based company. > > > > > > ------------------------------ > > > > Message: 3 > > Date: Thu, 30 Jun 2011 12:33:17 +0530 > > From: Venkatraman S > > To: Bangalore Python Users Group - India > > Subject: Re: [BangPypers] [OT] getting a business email vendor > > Message-ID: > > Content-Type: text/plain; charset=UTF-8 > > > > On Thu, Jun 30, 2011 at 11:57 AM, Vishal wrote: > > > > > > > > Google Apps looks very attractive...but prices are high ($50/per > > > account/per > > > year)...where as many Indian vendors provide 5-10 email addresses at > much > > > lower price. > > > > > > Any suggestions? > > > > > > > Try mitsu.in for a domain registration and host the website in appspot. > > I find this combination to be the cheapest of all. I have always been > > doing/using this combo. > > > > Also, if the number of users is just going to be 5-10, then google > > appsshould be > > good. > > > > -V > > http://blizzardzblogs.blogspot.com/ > > > > > > ------------------------------ > > > > Message: 4 > > Date: Thu, 30 Jun 2011 13:48:19 +0530 > > From: Kenneth Gonsalves > > To: Bangalore Python Users Group - India > > Subject: Re: [BangPypers] [OT] getting a business email vendor > > Message-ID: <1309421899.2444.7.camel at localhost> > > Content-Type: text/plain; charset="UTF-8" > > > > On Thu, 2011-06-30 at 11:57 +0530, Vishal wrote: > > > This is Off Topic and nothing related to Python in general...thought > > > of > > > sending here since many industry veterans watch this list. > > > > > > > > > > please refrain from such questions in future. > > -- > > regards > > Kenneth Gonsalves > > http://lawgon.livejournal.com/ > > > > > > > > ------------------------------ > > > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > > > > End of BangPypers Digest, Vol 46, Issue 28 > > ****************************************** > > > > > > -- > Aritra Ghosh Dastidar > > > > > ------------------------------ > > Message: 2 > Date: Thu, 30 Jun 2011 18:49:33 +0530 > From: Puneet Aggarwal > To: Bangalore Python Users Group - India > Subject: [BangPypers] Spell Checker Python > Message-ID: > Content-Type: text/plain; charset=ISO-8859-1 > > Hello Everyone, > > Anyone knows any good package for spell checker/corrector in python ? > Something like google's did you mean functionality. > > Thanks, > Puneet > > > ------------------------------ > > Message: 3 > Date: Thu, 30 Jun 2011 18:56:17 +0530 > From: Gora Mohanty > To: Bangalore Python Users Group - India > Subject: Re: [BangPypers] Spell Checker Python > Message-ID: > Content-Type: text/plain; charset=ISO-8859-1 > > On Thu, Jun 30, 2011 at 6:49 PM, Puneet Aggarwal > wrote: > > Hello Everyone, > > > > Anyone knows any good package for spell checker/corrector in python ? > > The best open-source spellchecker that I know of is aspell. Unfortunately, > only C bindings are available by default, but one can build Python bindings > with SWIG. We have done that already, though not yet put it together as > an open-source package. Please email me off-list if you are interested in > this. > > > Something like google's did you mean functionality. > > This is not the same thing as spellchecking. It is more like a > recommendation > engine. Which one did you want? Can you provide some use cases? > > Regards, > Gora > > > ------------------------------ > > Message: 4 > Date: Thu, 30 Jun 2011 18:57:27 +0530 > From: Prashanth > To: Bangalore Python Users Group - India > Subject: Re: [BangPypers] Spell Checker Python > Message-ID: > Content-Type: text/plain; charset=UTF-8 > > Hi Puneet, > > On Thu, Jun 30, 2011 at 6:49 PM, Puneet Aggarwal > wrote: > > > > Anyone knows any good package for spell checker/corrector in python ? > > > > > Python binding for GNU aspell?http://0x80.pl/proj/aspell-python/ > > -- > regards, > Prashanth > twitter: munichlinux > > > ------------------------------ > > Message: 5 > Date: Thu, 30 Jun 2011 18:59:26 +0530 > From: Puneet Aggarwal > To: Bangalore Python Users Group - India > Subject: Re: [BangPypers] Spell Checker Python > Message-ID: > Content-Type: text/plain; charset=ISO-8859-1 > > Hi Gora, > > Thanks for the quick reply. Basically I am looking for spell correction in > the sense if someone does a mistake in spelling. > > Let say someone want to search "restaurant" and types the spelling wrong as > resturant or something. So that we can help him correct it. > > Thanks, > Puneet > > On Thu, Jun 30, 2011 at 6:56 PM, Gora Mohanty wrote: > > > On Thu, Jun 30, 2011 at 6:49 PM, Puneet Aggarwal > > wrote: > > > Hello Everyone, > > > > > > Anyone knows any good package for spell checker/corrector in python ? > > > > The best open-source spellchecker that I know of is aspell. > Unfortunately, > > only C bindings are available by default, but one can build Python > bindings > > with SWIG. We have done that already, though not yet put it together as > > an open-source package. Please email me off-list if you are interested in > > this. > > > > > Something like google's did you mean functionality. > > > > This is not the same thing as spellchecking. It is more like a > > recommendation > > engine. Which one did you want? Can you provide some use cases? > > > > Regards, > > Gora > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > > > ------------------------------ > > Message: 6 > Date: Thu, 30 Jun 2011 19:00:04 +0530 > From: Puneet Aggarwal > To: Bangalore Python Users Group - India > Subject: Re: [BangPypers] Spell Checker Python > Message-ID: > Content-Type: text/plain; charset=ISO-8859-1 > > On Thu, Jun 30, 2011 at 6:57 PM, Prashanth wrote: > > > Hi Puneet, > > > > On Thu, Jun 30, 2011 at 6:49 PM, Puneet Aggarwal > > wrote: > > > > > > Anyone knows any good package for spell checker/corrector in python ? > > > > > > > > > Python binding for GNU aspell http://0x80.pl/proj/aspell-python/ > > > > Thanks Prashanth, I will check it. > > > > > > > -- > > regards, > > Prashanth > > twitter: munichlinux > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > > > ------------------------------ > > Message: 7 > Date: Thu, 30 Jun 2011 19:48:44 +0530 > From: JAGANADH G > To: Bangalore Python Users Group - India > Subject: Re: [BangPypers] Spell Checker Python > Message-ID: > Content-Type: text/plain; charset=ISO-8859-1 > > On Thu, Jun 30, 2011 at 6:49 PM, Puneet Aggarwal >wrote: > > > Hello Everyone, > > > > Anyone knows any good package for spell checker/corrector in python ? > > Something like google's did you mean functionality. > > > > > > The best Python library for the purpose is PyEnchant > Refer http://www.rfk.id.au/software/pyenchant/ > > If you require any further assistance on the same let me know > > > -- > ********************************** > JAGANADH G > http://jaganadhg.freeflux.net/blog > *ILUGCBE* > http://ilugcbe.techstud.org > > > ------------------------------ > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > > End of BangPypers Digest, Vol 46, Issue 29 > ****************************************** > -- Vikram Kamath #401, Vinyas Renaissance, Jnanabharati Main Road, Bangalore 560072 Phone: 9036823513/08023390047 Email: vikram.kmth at gmail.com From noufal at gmail.com Thu Jun 30 19:18:49 2011 From: noufal at gmail.com (Noufal Ibrahim) Date: Thu, 30 Jun 2011 22:48:49 +0530 Subject: [BangPypers] Spell Checker Python In-Reply-To: (Puneet Aggarwal's message of "Thu, 30 Jun 2011 18:59:26 +0530") References: Message-ID: <87wrg31bly.fsf@sanitarium.localdomain> Puneet Aggarwal writes: > Hi Gora, > > Thanks for the quick reply. Basically I am looking for spell correction in > the sense if someone does a mistake in spelling. > > Let say someone want to search "restaurant" and types the spelling wrong as > resturant or something. So that we can help him correct it. Not a library but probably something you should read. http://norvig.com/spell-correct.html [...] -- ~noufal http://nibrahim.net.in The scene is dull. Tell him to put more life into his dying. -- Samuel Goldwyn From ramdaz at gmail.com Thu Jun 30 20:43:01 2011 From: ramdaz at gmail.com (Ramdas S) Date: Fri, 1 Jul 2011 00:13:01 +0530 Subject: [BangPypers] COMMERCIAL-- BOUNTY or Consulting assignment Message-ID: Hi, We have a project that's is to build a desktop application on top of Linux using Python either using PyQT or wxPython. We estimate around 15-20 hours of work for an experienced developer. Apart from building a GUI, this would also mean writing code to recognize CD Drives, removable disk and cards. Rest of the logic would be simple. Interested. please get off the list, via email with me -- Ramdas S +91 9342 583 065 From shashidhar85 at gmail.com Thu Jun 30 20:44:52 2011 From: shashidhar85 at gmail.com (Shashidhar P) Date: Fri, 1 Jul 2011 00:14:52 +0530 Subject: [BangPypers] Spell Checker Python In-Reply-To: References: Message-ID: Hello Jaganadh I already used pyenchant and implemented for German, French, Italy, Czech, English languages. But I am also facing problem with special characters in the German language i.e UMLAUTS. Its not giving me proper result for the German special characters. It check a word and says its wrong. Do you have any idea about how to handle this exception? Thanks in advance. On Thu, Jun 30, 2011 at 7:48 PM, JAGANADH G wrote: > On Thu, Jun 30, 2011 at 6:49 PM, Puneet Aggarwal >wrote: > > > Hello Everyone, > > > > Anyone knows any good package for spell checker/corrector in python ? > > Something like google's did you mean functionality. > > > > > > The best Python library for the purpose is PyEnchant > Refer http://www.rfk.id.au/software/pyenchant/ > > If you require any further assistance on the same let me know > > > -- > ********************************** > JAGANADH G > http://jaganadhg.freeflux.net/blog > *ILUGCBE* > http://ilugcbe.techstud.org > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- ----------------------------------- Regards, Shashidhar N.Paragonda shashidhar85 at gmail.com +919449073835 From jaganadhg at gmail.com Thu Jun 30 21:15:52 2011 From: jaganadhg at gmail.com (JAGANADH G) Date: Fri, 1 Jul 2011 00:45:52 +0530 Subject: [BangPypers] Spell Checker Python In-Reply-To: References: Message-ID: On Fri, Jul 1, 2011 at 12:14 AM, Shashidhar P wrote: > Hello Jaganadh > > I already used pyenchant and implemented for German, French, > Italy, Czech, English languages. > But I am also facing problem with special characters in the > German language i.e UMLAUTS. Its not giving me proper result for the German > special characters. It check a word and says its wrong. > > Do you have any idea about how to handle this exception? > Which function from Enahcnt dict you are using ".check(word)" or ".suggest(word)" ? . I think the german special charcters problem may due to: 1) Either enchant may not be reading the dict file with proper encoding . I am not sure about this . I will check and tell -- ********************************** JAGANADH G http://jaganadhg.freeflux.net/blog *ILUGCBE* http://ilugcbe.techstud.org From dhananjay.nene at gmail.com Thu Jun 30 22:45:20 2011 From: dhananjay.nene at gmail.com (Dhananjay Nene) Date: Fri, 1 Jul 2011 02:15:20 +0530 Subject: [BangPypers] Cool developments on the PyPy front Message-ID: This is an informational post only. I've been watching some of the performance developments on PyPy, but this one made me feel real good. Apparently PyPy is going to lose the GIL and implement locking via STM http://morepypy.blogspot.com/2011/06/global-interpreter-lock-or-how-to-kill.html -- ----------------------------------------------------------------------------------- http://blog.dhananjaynene.com twitter: @dnene