From nagappan at gmail.com Fri Feb 1 19:08:07 2008 From: nagappan at gmail.com (Nagappan A) Date: Fri, 1 Feb 2008 10:08:07 -0800 Subject: [BangPypers] python + LDTP help Message-ID: <9d0602eb0802011008n4c637deau28ca807548e45511@mail.gmail.com> Hi Anand and Bangpypers, I need python + LDTP help. # ============= code starts here ============ import ldtp state = ldtp.state invokableFunctions = {'push_button' : ['click', 'hasstate'], 'menu' : ['selectmenuitem'], 'menu_item' : ['selectmenuitem']} class component: def __init__ (self, window, name): self.window = window self.name = name self.role = ldtp.getobjectproperty (window, name, 'class') if invokableFunctions.has_key (self.role): functions = invokableFunctions [self.role] for function in functions: self.__dict__ [function] = ldtp.__dict__ [function] self.__dict__ [function].func_defaults = (window, name) def hasstate (checkState): if isinstance (checkState, type (state)) == False: raise ldtp.LdtpExecutionError ('Argument should be of type state') return ldtp.hasstate (self.window, self.name, checkState) class context: def __init__ (self, window): self.window = window def child (self, name): return component (self.window, name) e = context ('*-gedit') f = e.child ('btnFind') f.click () f.hasstate (state.VISIBLE) # ============= code starts here ============ In LDTP, i have already implemented more than 160 functions, thought will reuse them for making it as OO, as the existing ones are written in structured way. Now, with the above steps, I'm able to use any function that has two arguments. Like, click takes two arguments, window name and the object name, in which the click action has to take place. Ex: click ('*-gedit', 'btnFind') # Clicks on button with label 'Find', in any window title that ends with '-gedit'. I have some other functions, like to set a text value on a give object or to check the property of an object, like its state (visible / enabled). It can be achieved with the existing implementation like, ldtp.hasstate ('*-gedit', 'btnFind', ldtp.state.VISIBLE) and none of them are optional arguments. My Question: What I'm trying to do with the above implementation is, use the initial two arguments from the object, which I have created - context --> window, component --> object name and then the last argument get from user, like e = context ('*-gedit') f = e.child ('btnFind') f.hasstate (state.VISIBLE) # obviously, I get an error. My assumption is, hasstate takes first 2 arguments as string, but I'm passing the first argument as integer. Thanks Nagappan -- Linux Desktop Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/bangpypers/attachments/20080201/35f4be0a/attachment.htm From skpatel20 at hotmail.com Sat Feb 2 14:41:27 2008 From: skpatel20 at hotmail.com (Sanjaya Kumar Patel) Date: Sat, 2 Feb 2008 19:11:27 +0530 Subject: [BangPypers] Tutorial on TurboGears + SQLAlchemy In-Reply-To: <9d0602eb0802011008n4c637deau28ca807548e45511@mail.gmail.com> References: <9d0602eb0802011008n4c637deau28ca807548e45511@mail.gmail.com> Message-ID: Hi All, I am into compiling a set of tutorials and guide on rapid application development using latest free and open source MVC frameworks and tools. I plan to gradually cover many usage patterns of these FOSS frameworks and related tools starting from development environment set up, integrating with IDE till testing, deployment and hosting. Python being my favorite, many tuorials will be around python. To start with, there is a primer tutorial on Turbogears + SQLAlchemy at http://radisfun.com/Tutorials. Feedback, suggestions, bug reports are sincerely welcome! thanks Sanjay _________________________________________________________________ Post ads for free - to sell, rent or even buy.www.yello.in http://ss1.richmedia.in/recurl.asp?pid=186 From jace at pobox.com Tue Feb 5 17:17:44 2008 From: jace at pobox.com (Kiran Jonnalagadda) Date: Tue, 5 Feb 2008 21:47:44 +0530 Subject: [BangPypers] Python at Comat Message-ID: Hello. This is yet another recruitment notice, though one that will hopefully not pass for being just Yet Another. I'm posting this to a few lists. For those subscribed to them, I hope you don't mind the repeat posts. If you think this is worth forwarding elsewhere, please do. I represent a small team at Comat Technologies (www.comat.com). We're seven people, with two joining later this month, which will take us to nine. We're looking for a tenth person to round off our skills and take us into double digit team size. Maybe even a eleventh and twelfth. But before I describe the job, let me describe what we do. Comat is a ten year old born-again startup that operates in rural India. You've no doubt heard the rhetoric of the digital divide and how it needs more attention. We operate in that space. We're not a charity. We're a proper business that pays competitive salaries and believes there's a genuine opportunity that may not be easily accessible, but is very real. In real terms, what we do is setup and operate computer telecentres in villages across the country. Our first project was in Karnataka, where we operate the 800 telecentres that you've probably heard of as the government's Nemmadi project. These telecentres are basically a shop on the main street of the main village in each cluster of villages (aka a "hobli") containing two computers, a printer, scanner, webcam, UPS, satellite internet connection, and a human operator who talks to customers. The services offered include getting a copy of one's land ownership certificate and recharging a pre-paid mobile phone. Does this sound exciting? Perhaps as much as the rundown neighbourhood DTP shop where the fellow who once must have been a glorious computer professional now appears a lowly typist, augmenting his income with a Real Estate desk that finds you local Paying Guest accommodation? What would you want to be doing in there? Consider this: the average village that we operate in receives four hours of power supply a day. The supply is often at 150V, far too low to power a computer or charge a UPS battery. The place is also a good four hours from the nearest urban centre, and given the state of roads in much of the country, that's four agonising hours for anyone who must go attend a support call because the operator complained that his web browser is saying "Page Not Loading" and he's got a long queue of agitated customers who are threatening a riot because that printer is not producing the document that will determine their livelihood. You, the hotshot Web 2.0 and assorted buzzword compliant web developer, must produce an app that will keep that crowd happy. You're not going to get away by telling them that your JSON-spewing Ajax application requires a low latency internet connection. You're going to have think this through very carefully. If your family is from a village that you visit on vacation once a year, you've probably fantasised having to explain to your grandfather's neighbour what Python is and why it's not a snake, and what the heck a programming language is if it's not a snake. What we're offering you is a telecentre that is already in your village (if that village is in Karnataka), where folks will directly or indirectly use the code you write. That's a guarantee. The trick, and the challenge, is to do this in a manner that's applicable across the country. A field trip to one location that's reporting weird behaviour is probably an adventure. You'll pack for a day trip, leave early in the morning to avoid the rush, drive till the road turns bad, grit and bear the next two hours to the location, break for lunch, have a nice chat with the operator, take some pictures of the neighbourhood, and maybe even figure out that his problem is that his browser somehow got set to cache too aggressively. Someone must have told him it was good strategy given the low quality connection. Maybe you'll make a new note for the helpdesk people to check before they ask you go to have a look next time. And then it'll be evening and time for a ride back, shower, dinner and a good night's sleep. A day well spent. But do this five times, and it no longer seems an adventure. You want to write code, not be trapped in this debugging nightmare. We're not supporting five or fifty or 500 centres. We're currently close to a thousand operational centres, scaling up to six in the next six months and aiming for ten thousand by the end of the year. Operations on this scale require a wholly different thought process, for both software development and support. I'd like to tell you that our little team of seven does all this, that we're superhuman ninjas who write code so great, it never fails, who oversee operations for thousands of centres, who uphold peace and harmony everywhere, and still go home at 6 PM. But you know better. An operation at this scale literally requires thousands of people. There are all the telecentre operators, at least one in each location, their supervisors, people who specialise in various forms of support, people who talk to other people to introduce new services, people who count even when they're sleeping, and people who think deeply about the larger purpose of all this. We're the little team in the middle of the operation that provides and supports the technology everyone depends on, and that is constantly in pursuit of greater automation to enable larger scale. We bear a great deal of responsibility for such a small team and it shows in the way we're structured. We have no patience for bureaucratic approvals and hierarchies. Everyone is their own manager and must see their project through its entire life cycle. In return, everyone gets to decide how they want to work, when they want to work, and what they want to work with. Since the company has an overall HR policy, we fit our team structure within it. We recognise the notion of people working On Site (ie, home) and offer compensatory leave if someone works through a holiday. We meet once a day to catch up on what we've been up to and determine if someone needs help or could do with the experience of another. Actually, calling that a "meeting" makes that sound more formal than it really is, because we also sit close to each other and talk throughout the day (with the more discreet types using IM with the chap three feet away). We don't follow any formal methodology as we're making it up as we go along. Two standard features so far are the daily stand up meeting and two week iterations for the folks whose primary contribution is in code. Our next iteration starts on Feb 18. Several of us hang out together after work. We share hobbies and intellectual pursuits, we blog, we organise events, we superpoke each other on Facebook, and we go to conferences (even the un- variety) to talk about our work. We do not de-bar the personal from the workplace. We believe in taking personal pride in what we do. We are, however, not superhuman or all knowing. We lack certain crucial skills, and where we do have them, there are just too many things to be done. It would be nice to actually go home at 6 PM every day. It would help to be working with people who can round off our skills. In particular: * Python (but of course!) * Ubuntu/Debian Linux admin (both servers and user desktops) * Windows desktop admin (the uncomfortable reality of working in the space we do) * Windows/Linux network management (thousands of machines, remember?) * Project management (people who know what a gantt chart is and why it's useful, or not) * Process observation, documentation and automation (let's see you repeat that complicated setup again) * Technical documentation (for interface with external entities) Any combination of these skills is useful, interesting combinations better. An advanced ability with at least one is needed. If interested, send your resume to my work id (kiran dot j at comat dot com) with a note on why you're interested. Or if you're just curious and have a question or a comment, I'm 'jace' on irc.freenode.net, usually in ##linux-india, and 'jackerhack' on most IM networks. You could also call me during a reasonable hour. My phone number is easy to find. -- Kiran Jonnalagadda http://jace.seacrow.com/ http://jace.livejournal.com/ From ashim at stoke.com Tue Feb 5 18:55:28 2008 From: ashim at stoke.com (Ashim Roy) Date: Tue, 5 Feb 2008 09:55:28 -0800 Subject: [BangPypers] Python at Comat Message-ID: <23EECEC9B06584478B1C9E38C253D35FDE4A0A@minsk.us.stoke.com> I am sure you all have enjoyed the well spun YARN (Yet Another Recruitment Notice) from Jace. I can tell you activities that Jace and his team are doing has a bit of "Chak De India" feel. I know all this because until a couple of months ago, I used head the software development activities at Comat. You may be wondering if it was so great why am I not part of the team. It is simply because there are equally interesting things to pursue. I was at a conference last week and Sam Pitroda was the Keynote speaker. He came up with 3 point action plan for India - a) Rural access (aka bridging the digital divide); b) Broadband access and I forget what the 3rd one was. I have been involved in rural access for the past 3 years at Comat. I feel the better broadband access will make a huge difference. So, that's what I am working on now. If any of you guys are not convinced with Jace's Yarn, please feel free to get in touch with me. I have a different yarn. Perhaps we can work together for better broadband access. Cheers, Ashim M: +91 988 077 5520 E: ashim at stoke.com -----Original Message----- From: bangpypers-bounces at python.org [mailto:bangpypers-bounces at python.org] On Behalf Of Kiran Jonnalagadda Sent: Tuesday, February 05, 2008 9:48 PM To: Bangalore Python Users Group - India Subject: [BangPypers] Python at Comat Hello. This is yet another recruitment notice, though one that will hopefully not pass for being just Yet Another. I'm posting this to a few lists. For those subscribed to them, I hope you don't mind the repeat posts. If you think this is worth forwarding elsewhere, please do. I represent a small team at Comat Technologies (www.comat.com). We're seven people, with two joining later this month, which will take us to nine. We're looking for a tenth person to round off our skills and take us into double digit team size. Maybe even a eleventh and twelfth. But before I describe the job, let me describe what we do. Comat is a ten year old born-again startup that operates in rural India. You've no doubt heard the rhetoric of the digital divide and how it needs more attention. We operate in that space. We're not a charity. We're a proper business that pays competitive salaries and believes there's a genuine opportunity that may not be easily accessible, but is very real. In real terms, what we do is setup and operate computer telecentres in villages across the country. Our first project was in Karnataka, where we operate the 800 telecentres that you've probably heard of as the government's Nemmadi project. These telecentres are basically a shop on the main street of the main village in each cluster of villages (aka a "hobli") containing two computers, a printer, scanner, webcam, UPS, satellite internet connection, and a human operator who talks to customers. The services offered include getting a copy of one's land ownership certificate and recharging a pre-paid mobile phone. Does this sound exciting? Perhaps as much as the rundown neighbourhood DTP shop where the fellow who once must have been a glorious computer professional now appears a lowly typist, augmenting his income with a Real Estate desk that finds you local Paying Guest accommodation? What would you want to be doing in there? Consider this: the average village that we operate in receives four hours of power supply a day. The supply is often at 150V, far too low to power a computer or charge a UPS battery. The place is also a good four hours from the nearest urban centre, and given the state of roads in much of the country, that's four agonising hours for anyone who must go attend a support call because the operator complained that his web browser is saying "Page Not Loading" and he's got a long queue of agitated customers who are threatening a riot because that printer is not producing the document that will determine their livelihood. You, the hotshot Web 2.0 and assorted buzzword compliant web developer, must produce an app that will keep that crowd happy. You're not going to get away by telling them that your JSON-spewing Ajax application requires a low latency internet connection. You're going to have think this through very carefully. If your family is from a village that you visit on vacation once a year, you've probably fantasised having to explain to your grandfather's neighbour what Python is and why it's not a snake, and what the heck a programming language is if it's not a snake. What we're offering you is a telecentre that is already in your village (if that village is in Karnataka), where folks will directly or indirectly use the code you write. That's a guarantee. The trick, and the challenge, is to do this in a manner that's applicable across the country. A field trip to one location that's reporting weird behaviour is probably an adventure. You'll pack for a day trip, leave early in the morning to avoid the rush, drive till the road turns bad, grit and bear the next two hours to the location, break for lunch, have a nice chat with the operator, take some pictures of the neighbourhood, and maybe even figure out that his problem is that his browser somehow got set to cache too aggressively. Someone must have told him it was good strategy given the low quality connection. Maybe you'll make a new note for the helpdesk people to check before they ask you go to have a look next time. And then it'll be evening and time for a ride back, shower, dinner and a good night's sleep. A day well spent. But do this five times, and it no longer seems an adventure. You want to write code, not be trapped in this debugging nightmare. We're not supporting five or fifty or 500 centres. We're currently close to a thousand operational centres, scaling up to six in the next six months and aiming for ten thousand by the end of the year. Operations on this scale require a wholly different thought process, for both software development and support. I'd like to tell you that our little team of seven does all this, that we're superhuman ninjas who write code so great, it never fails, who oversee operations for thousands of centres, who uphold peace and harmony everywhere, and still go home at 6 PM. But you know better. An operation at this scale literally requires thousands of people. There are all the telecentre operators, at least one in each location, their supervisors, people who specialise in various forms of support, people who talk to other people to introduce new services, people who count even when they're sleeping, and people who think deeply about the larger purpose of all this. We're the little team in the middle of the operation that provides and supports the technology everyone depends on, and that is constantly in pursuit of greater automation to enable larger scale. We bear a great deal of responsibility for such a small team and it shows in the way we're structured. We have no patience for bureaucratic approvals and hierarchies. Everyone is their own manager and must see their project through its entire life cycle. In return, everyone gets to decide how they want to work, when they want to work, and what they want to work with. Since the company has an overall HR policy, we fit our team structure within it. We recognise the notion of people working On Site (ie, home) and offer compensatory leave if someone works through a holiday. We meet once a day to catch up on what we've been up to and determine if someone needs help or could do with the experience of another. Actually, calling that a "meeting" makes that sound more formal than it really is, because we also sit close to each other and talk throughout the day (with the more discreet types using IM with the chap three feet away). We don't follow any formal methodology as we're making it up as we go along. Two standard features so far are the daily stand up meeting and two week iterations for the folks whose primary contribution is in code. Our next iteration starts on Feb 18. Several of us hang out together after work. We share hobbies and intellectual pursuits, we blog, we organise events, we superpoke each other on Facebook, and we go to conferences (even the un- variety) to talk about our work. We do not de-bar the personal from the workplace. We believe in taking personal pride in what we do. We are, however, not superhuman or all knowing. We lack certain crucial skills, and where we do have them, there are just too many things to be done. It would be nice to actually go home at 6 PM every day. It would help to be working with people who can round off our skills. In particular: * Python (but of course!) * Ubuntu/Debian Linux admin (both servers and user desktops) * Windows desktop admin (the uncomfortable reality of working in the space we do) * Windows/Linux network management (thousands of machines, remember?) * Project management (people who know what a gantt chart is and why it's useful, or not) * Process observation, documentation and automation (let's see you repeat that complicated setup again) * Technical documentation (for interface with external entities) Any combination of these skills is useful, interesting combinations better. An advanced ability with at least one is needed. If interested, send your resume to my work id (kiran dot j at comat dot com) with a note on why you're interested. Or if you're just curious and have a question or a comment, I'm 'jace' on irc.freenode.net, usually in ##linux-india, and 'jackerhack' on most IM networks. You could also call me during a reasonable hour. My phone number is easy to find. -- Kiran Jonnalagadda http://jace.seacrow.com/ http://jace.livejournal.com/ _______________________________________________ BangPypers mailing list BangPypers at python.org http://mail.python.org/mailman/listinfo/bangpypers From abpillai at gmail.com Tue Feb 5 19:10:37 2008 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Tue, 5 Feb 2008 23:40:37 +0530 Subject: [BangPypers] Python at Comat In-Reply-To: References: Message-ID: <8548c5f30802051010s6b74b629n2d9446a8e2d6d6bc@mail.gmail.com> Hi Kiran, That was a very well written post and the most "non-recruiting" sounding recruitment post yet in this list. Though a tard too long perhaps. Well written it may be, though I like to remind you that the policy of the list is to make concise posts regarding any kind of job postings and then provide links to websites where one can learn more. Isn't some of this information available at the website of comat ? Wish you the very best. Thanks --Anand On Feb 5, 2008 9:47 PM, Kiran Jonnalagadda wrote: > Hello. This is yet another recruitment notice, though one that will > hopefully not pass for being just Yet Another. I'm posting this to a > few lists. For those subscribed to them, I hope you don't mind the > repeat posts. If you think this is worth forwarding elsewhere, please > do. > > I represent a small team at Comat Technologies (www.comat.com). We're > seven people, with two joining later this month, which will take us to > nine. We're looking for a tenth person to round off our skills and > take us into double digit team size. Maybe even a eleventh and twelfth. > > But before I describe the job, let me describe what we do. > > Comat is a ten year old born-again startup that operates in rural > India. You've no doubt heard the rhetoric of the digital divide and > how it needs more attention. We operate in that space. We're not a > charity. We're a proper business that pays competitive salaries and > believes there's a genuine opportunity that may not be easily > accessible, but is very real. > > In real terms, what we do is setup and operate computer telecentres in > villages across the country. Our first project was in Karnataka, where > we operate the 800 telecentres that you've probably heard of as the > government's Nemmadi project. > > These telecentres are basically a shop on the main street of the main > village in each cluster of villages (aka a "hobli") containing two > computers, a printer, scanner, webcam, UPS, satellite internet > connection, and a human operator who talks to customers. The services > offered include getting a copy of one's land ownership certificate and > recharging a pre-paid mobile phone. > > Does this sound exciting? Perhaps as much as the rundown neighbourhood > DTP shop where the fellow who once must have been a glorious computer > professional now appears a lowly typist, augmenting his income with a > Real Estate desk that finds you local Paying Guest accommodation? What > would you want to be doing in there? > > Consider this: the average village that we operate in receives four > hours of power supply a day. The supply is often at 150V, far too low > to power a computer or charge a UPS battery. The place is also a good > four hours from the nearest urban centre, and given the state of roads > in much of the country, that's four agonising hours for anyone who > must go attend a support call because the operator complained that his > web browser is saying "Page Not Loading" and he's got a long queue of > agitated customers who are threatening a riot because that printer is > not producing the document that will determine their livelihood. > > You, the hotshot Web 2.0 and assorted buzzword compliant web > developer, must produce an app that will keep that crowd happy. You're > not going to get away by telling them that your JSON-spewing Ajax > application requires a low latency internet connection. You're going > to have think this through very carefully. > > If your family is from a village that you visit on vacation once a > year, you've probably fantasised having to explain to your > grandfather's neighbour what Python is and why it's not a snake, and > what the heck a programming language is if it's not a snake. > > What we're offering you is a telecentre that is already in your > village (if that village is in Karnataka), where folks will directly > or indirectly use the code you write. That's a guarantee. > > The trick, and the challenge, is to do this in a manner that's > applicable across the country. A field trip to one location that's > reporting weird behaviour is probably an adventure. You'll pack for a > day trip, leave early in the morning to avoid the rush, drive till the > road turns bad, grit and bear the next two hours to the location, > break for lunch, have a nice chat with the operator, take some > pictures of the neighbourhood, and maybe even figure out that his > problem is that his browser somehow got set to cache too aggressively. > Someone must have told him it was good strategy given the low quality > connection. Maybe you'll make a new note for the helpdesk people to > check before they ask you go to have a look next time. And then it'll > be evening and time for a ride back, shower, dinner and a good night's > sleep. A day well spent. > > But do this five times, and it no longer seems an adventure. You want > to write code, not be trapped in this debugging nightmare. > > We're not supporting five or fifty or 500 centres. We're currently > close to a thousand operational centres, scaling up to six in the next > six months and aiming for ten thousand by the end of the year. > Operations on this scale require a wholly different thought process, > for both software development and support. > > I'd like to tell you that our little team of seven does all this, that > we're superhuman ninjas who write code so great, it never fails, who > oversee operations for thousands of centres, who uphold peace and > harmony everywhere, and still go home at 6 PM. > > But you know better. An operation at this scale literally requires > thousands of people. There are all the telecentre operators, at least > one in each location, their supervisors, people who specialise in > various forms of support, people who talk to other people to introduce > new services, people who count even when they're sleeping, and people > who think deeply about the larger purpose of all this. > > We're the little team in the middle of the operation that provides and > supports the technology everyone depends on, and that is constantly in > pursuit of greater automation to enable larger scale. > > We bear a great deal of responsibility for such a small team and it > shows in the way we're structured. We have no patience for > bureaucratic approvals and hierarchies. Everyone is their own manager > and must see their project through its entire life cycle. In return, > everyone gets to decide how they want to work, when they want to work, > and what they want to work with. > > Since the company has an overall HR policy, we fit our team structure > within it. We recognise the notion of people working On Site (ie, > home) and offer compensatory leave if someone works through a holiday. > > We meet once a day to catch up on what we've been up to and determine > if someone needs help or could do with the experience of another. > Actually, calling that a "meeting" makes that sound more formal than > it really is, because we also sit close to each other and talk > throughout the day (with the more discreet types using IM with the > chap three feet away). > > We don't follow any formal methodology as we're making it up as we go > along. Two standard features so far are the daily stand up meeting and > two week iterations for the folks whose primary contribution is in > code. Our next iteration starts on Feb 18. > > Several of us hang out together after work. We share hobbies and > intellectual pursuits, we blog, we organise events, we superpoke each > other on Facebook, and we go to conferences (even the un- variety) to > talk about our work. We do not de-bar the personal from the workplace. > We believe in taking personal pride in what we do. > > We are, however, not superhuman or all knowing. We lack certain > crucial skills, and where we do have them, there are just too many > things to be done. It would be nice to actually go home at 6 PM every > day. It would help to be working with people who can round off our > skills. In particular: > > * Python (but of course!) > * Ubuntu/Debian Linux admin (both servers and user desktops) > * Windows desktop admin (the uncomfortable reality of working in the > space we do) > * Windows/Linux network management (thousands of machines, remember?) > * Project management (people who know what a gantt chart is and why > it's useful, or not) > * Process observation, documentation and automation (let's see you > repeat that complicated setup again) > * Technical documentation (for interface with external entities) > > Any combination of these skills is useful, interesting combinations > better. An advanced ability with at least one is needed. > > If interested, send your resume to my work id (kiran dot j at comat > dot com) with a note on why you're interested. Or if you're just > curious and have a question or a comment, I'm 'jace' on > irc.freenode.net, usually in ##linux-india, and 'jackerhack' on most > IM networks. You could also call me during a reasonable hour. My phone > number is easy to find. > > -- > Kiran Jonnalagadda > http://jace.seacrow.com/ > http://jace.livejournal.com/ > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- -Anand From abpillai at gmail.com Thu Feb 7 13:00:09 2008 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Thu, 7 Feb 2008 17:30:09 +0530 Subject: [BangPypers] Announcing HarvestMan 2.0 and Hget 1.0 alpha Message-ID: <8548c5f30802070400y4e646861gd8c1f892551b6bac@mail.gmail.com> Hi, HarvestMan has been under development since Jul 2003. However the last time a public release was made was in Sep 2005. Now after a gap of more than two years, I am announcing the initial release (alpha) of the version 2.0 of HarvestMan and the companion program Hget. The version 2.0 is under development still and a lot of things will change down the line. I have been thinking of making a final announcement after everything is done; however it looks like it will take a long time for the complete work to be done, so I have decide to make intermediate alpha and beta releases, till the final version is ready. There are lots of changes in HarvestMan, the main change being a new plugin feature which allows to modify program behaviour by writing small pieces of Python code as plugins (say, akin to Firefox extensions). As of now, plugins exist for integration with Lucene, Swish-e. (As of this writing, HarvestMan + plugins is currently being used by students in a University in Europe to write custom web crawling applications.) The changes are not completed yet. The program is still a single process. I will be changing this to first a client/server split and then to a p2p architecture for better scaling, as development progresses. The highlight is actually another application named "Hget" which is built on top of HarvestMan as a framework. Hget can be considered as wget on steroids, and can be used as a download manager to perform HTTP downloads in pieces from the web. It can perform HTTP Multipart downloading, mirror search and download, HTTP resuming, failover and has built-in support for sourceforge.net mirrors. More features are getting added daily. Hget and HarvestMan are packaged together. The URL is http://www.harvestmanontheweb.com/packages/2.0/HarvestMan-2.0alpha.tar.gz The setup.py script can be used to install both programs. I have improved setup.py a lot and it now does a very good job of pulling in the required dependencies and doing a clean install. HarvestMan depends on pyparsing , so this is pulled in automatically, if not found. The current version of HarvestMan also includes a rudimentary Javascript parser (2 in fact). There is a pure Python parser written using pyparsing which can extract Javascript from HTML and do basic processing (like document.write and Javascript redirection). Then there is another one, a pure Python re-implementation of RbNarcissus, a pure ruby parser for Javascript. Since this is an alpha version, there would be bugs. Also this dissemination is for a limited audience, so I am announcing this here only. There is no cheeseshop package yet and no announcement in larger Python mailing lists (like c.l.py). If you are interested in the program and in general interested in web crawling etc, do download it and give it a try. Even if you are not interested in web crawling, I think the Hget application would be very useful to you. Please report bugs preferably at, http://developer.berlios.de/bugs/?group_id=1873 or email them straight to me. For anyone interested in development, the project is currently hosted on the server http://svn.eiao.net . The trunk can be checked out at http://svn.eiao.net/robacc/experimental/HarvestMan-2.0 . Kindly note that the trunk is under development and may not be stable. I don't yet have the notion of nightly drops etc, since this is mostly a single person project :) Thanks & regards, -- -Anand From jace at pobox.com Thu Feb 7 15:40:19 2008 From: jace at pobox.com (Kiran Jonnalagadda) Date: Thu, 7 Feb 2008 20:10:19 +0530 Subject: [BangPypers] Python at Comat In-Reply-To: <8548c5f30802051010s6b74b629n2d9446a8e2d6d6bc@mail.gmail.com> References: <8548c5f30802051010s6b74b629n2d9446a8e2d6d6bc@mail.gmail.com> Message-ID: On 05-Feb-08, at 11:40 PM, Anand Balachandran Pillai wrote: > That was a very well written post and the most "non-recruiting" > sounding > recruitment post yet in this list. Though a tard too long perhaps. > > Well written it may be, though I like to remind you that the policy > of the list is > to make concise posts regarding any kind of job postings and then > provide > links to websites where one can learn more. Isn't some of this > information > available at the website of comat ? > > Wish you the very best. Thanks for the kind words, Anand. The Comat website is woefully out of date and we've been too busy to give it any attention. But now that you mention it, maybe we'll setup a separate site for just the team. I've had several responses to the posting, and am already running a large mail backlog. For those who wrote in, please give me a day or two to respond. J. From akashmahajan at gmail.com Thu Feb 7 18:12:35 2008 From: akashmahajan at gmail.com (Akash) Date: Thu, 7 Feb 2008 22:42:35 +0530 Subject: [BangPypers] How about a BoF at Devcamp.in? Message-ID: <868b524f0802070912t354c4b58y6cb3288787fd0bdd@mail.gmail.com> Hi, I will be talking at devcamp.in and hopefully most of you will be present since its at thoughtworks. How about just meeting for a small session? -- regards akash From siddharta.lists at gmail.com Mon Feb 11 13:40:00 2008 From: siddharta.lists at gmail.com (Siddharta) Date: Mon, 11 Feb 2008 18:10:00 +0530 Subject: [BangPypers] More Django Screencasts Message-ID: <47B04220.4080109@gmail.com> Hi, My third beginner Django screencast is up at ShowMeDo here - http://showmedo.com/videos/video?name=1100020&fromSeriesID=110 For the more advanced Django developers, check out this series of screencasts from Michael Trier - http://showmedo.com/videos/series?name=gX2zbSIMf -- Siddharta Govindaraj http://www.silverstripesoftware.com/blog/ http://siddhi.blogspot.com From raonikhilesh at gmail.com Tue Feb 12 11:54:44 2008 From: raonikhilesh at gmail.com (Nikhilesh Rao) Date: Tue, 12 Feb 2008 16:24:44 +0530 Subject: [BangPypers] Orglex Update Message-ID: <5f298b300802120254g35806852yd8b41e2457d9caac@mail.gmail.com> Hi Everybody, Hope things are going well. I wanted to send a quick update on our service (the last one may have been many months ago) to share some of our learnings for building our service (its Python/Django based). I also have a small recruiting pitch at the end of the note :) I know that there has been quite a bit of discussion around machine learning, AI and other statistical based approaches to text and data mining on this mailing list. I wanted to share our experience while building our service ( http://www.orglex.com ) As some of you may know, from my previous emails, we aggregate all types of content (e.g. News, Blogs, Jobs, People etc...) focused on Industries and Organizations (e.g. You can see a hub here http://www.orglex.com/hubs/clinical-trials ). Our content aggregation is completely automated and very relevant to the topic at hand (See another example at www.orglex.com/hubs/venture-capital ). While we believe that we have achieved a far greater degree of relevance than anything existing in the market, we still need to make a lot of progress. We also white label our aggregated content and we have a very important validation from one of the leading technology and venture capital blog networks, VentureBeat- http://www.venturebeat.com/vc-news/ . Additionally, the traffic to our site has also been growing quite fast over the past few months. To achieve this level of relevance, we experimented, implemented and iterated with many purely algorithmic techniques (e.g. TFIDF, Bayesian methods etc...) to assign and tag our content. However, we were not satisfied with the relevance of the content and had to apply a hybrid approach. One of the issues with a purely algorthmic approach is that it works broadly for generic content (e.g. using topical/document similarities see here-http://blogoscoped.com/archive/2006-07-28-n49.html ) but has decay issues for narrow topics. Our platform has many pieces to it but some of the important elements are: =>We utilize industry specific semantic ontologies to help the system appropriately understand the content. This is classic semantic web stuff ( http://www.semanticweb.com/article.php/3721831 ). =>We understand the importance of relevant sources within an industry and appropriately weight them while looking at the source Given this hybrid approach, we are able to keep the relevance to a very high quality and yet automate the process. We are still a small team but given all this exciting progress, we are looking to expand our team by 1-2 more people. We have a preference for people with 0-2 years of experience but wont hold experience against folks :) Looking forward to hearing feedback from folks. Nik -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/bangpypers/attachments/20080212/073129ca/attachment.htm From vimes656 at gmail.com Wed Feb 13 07:07:46 2008 From: vimes656 at gmail.com (Danny Navarro) Date: Wed, 13 Feb 2008 11:37:46 +0530 Subject: [BangPypers] Zope 3 developer position at the institute of bioinformatics Message-ID: Hi all, We are a team of 40 scientists at the Institute of Bioinformatics ( http://ibioinformatics.org), a non-profit interdisciplinary research centre at ITPL in Bangalore. Our Institute has a close collaboration with Johns Hopkins University, USA. We combine computational and experimental biology as we have a team of people with expertise in programming, bioinformatics, genomics and proteomics. We are looking for experienced Python developers willing to learn and apply Zope 3 technologies to the new projects we are starting and to refactor our legacy web applications: http://hprd.org http://netpath.org http://humanproteinpedia.org You can send me CVs to danny AT ibioinformatics org Regards, Danny -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/bangpypers/attachments/20080213/35dba058/attachment.htm From jayasimha.makineni at gmail.com Wed Feb 13 17:52:00 2008 From: jayasimha.makineni at gmail.com (jayasimha makineni) Date: Wed, 13 Feb 2008 22:22:00 +0530 Subject: [BangPypers] Zope 3 developer position at the institute of bioinformatics In-Reply-To: References: Message-ID: Hi Danny, Can I work part time ? Regards, jayasimha On Feb 13, 2008 11:37 AM, Danny Navarro wrote: > Hi all, > > We are a team of 40 scientists at the Institute of Bioinformatics ( > http://ibioinformatics.org), a non-profit interdisciplinary research > centre at ITPL in Bangalore. Our Institute has a close collaboration with > Johns Hopkins University, USA. We combine computational and experimental > biology as we have a team of people with expertise in programming, > bioinformatics, genomics and proteomics. > > We are looking for experienced Python developers willing to learn and > apply Zope 3 technologies to the new projects we are starting and to > refactor our legacy web applications: > > http://hprd.org > http://netpath.org > http://humanproteinpedia.org > > You can send me CVs to danny AT ibioinformatics org > > Regards, > > Danny > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/bangpypers/attachments/20080213/2b59630b/attachment.htm From kushaldas at gmail.com Fri Feb 15 10:15:27 2008 From: kushaldas at gmail.com (Kushal Das) Date: Fri, 15 Feb 2008 14:45:27 +0530 Subject: [BangPypers] Any link for xmlrpc in zope3 Message-ID: <200802151445.27404.kushaldas@gmail.com> Hi, I am looking for any nice tutorial link from xmlrpc in zope3. The only one I can find is http://blogs.nuxeo.com/sections/blogs/tarek_ziade/2005_11_04_xml-rpc-over-zope-3 But I installed zope3 useing easy_install and the directory structure is matching with that tutorial. Kushal -- Fedora Ambassador, India http://kushaldas.in http://dgplug.org (Linux User Group of Durgapur) From pradeep at btbytes.com Fri Feb 15 11:42:40 2008 From: pradeep at btbytes.com (Pradeep Kishore Gowda) Date: Fri, 15 Feb 2008 16:12:40 +0530 Subject: [BangPypers] Any link for xmlrpc in zope3 In-Reply-To: <200802151445.27404.kushaldas@gmail.com> References: <200802151445.27404.kushaldas@gmail.com> Message-ID: <3e3294b70802150242u4f2d6831v9febe114d24e93e7@mail.gmail.com> On 2/15/08, Kushal Das wrote: > > I am looking for any nice tutorial link from xmlrpc in zope3. > http://www.bud.ca/blog/the-great-python-component-swap-meet This link is not about XMLRPC, but its about Zope3 and I feel its one of the most useful articles on Zope3 and component technologies. This is especially interesting in light of all the ``componentisation`` talk going around [1][2]. [1]http://marcuscavanaugh.com/blog/2008/02/conceptual-integrity-pylons-django [2]http://compoundthinking.com/blog/index.php/2008/02/11/conceptual-integrity-django-pylons-and-turbogears/ -- Home - http://btbytes.com Heart - http://sampada.net Yummy! - http://konkanirecipes.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/bangpypers/attachments/20080215/e91c9e4f/attachment.htm From Vivek.Ramaswamy at FMR.COM Mon Feb 18 11:39:13 2008 From: Vivek.Ramaswamy at FMR.COM (Ramaswamy, Vivek) Date: Mon, 18 Feb 2008 16:09:13 +0530 Subject: [BangPypers] BangPypers Digest, Vol 6, Issue 8 References: Message-ID: <4952A168D3EA9F418ACA6F84D057FCBF025F4117@MSGBANCLB2WIN.DMN1.FMR.COM> Hello~ I am relatively new to python, but I was trying to auto increment a variable through using the lambda anonymous function, but unfortunately I am un-able to get the desired result. Please let me know where I am going wrong: >>> g=lambda m:lambda: ++m >>> incre=g(0) >>> incre() 0 >>> incre() 0 >>> incre() 0 >>> I would want each call to incre() increase the value by one. I would like to know if this can be implemented using anonymous function using closure. Thanks in advance. Regards -Vivek - ---Original Message----- From: bangpypers-bounces at python.org [mailto:bangpypers-bounces at python.org] On Behalf Of bangpypers-request at python.org Sent: 15 February 2008 16:30 To: bangpypers at python.org Subject: BangPypers Digest, Vol 6, Issue 8 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. Any link for xmlrpc in zope3 (Kushal Das) 2. Re: Any link for xmlrpc in zope3 (Pradeep Kishore Gowda) ---------------------------------------------------------------------- Message: 1 Date: Fri, 15 Feb 2008 14:45:27 +0530 From: Kushal Das Subject: [BangPypers] Any link for xmlrpc in zope3 To: "Bangalore Python Users Group - India" Message-ID: <200802151445.27404.kushaldas at gmail.com> Content-Type: text/plain; charset="us-ascii" Hi, I am looking for any nice tutorial link from xmlrpc in zope3. The only one I can find is http://blogs.nuxeo.com/sections/blogs/tarek_ziade/2005_11_04_xml-rpc-ove r-zope-3 But I installed zope3 useing easy_install and the directory structure is matching with that tutorial. Kushal -- Fedora Ambassador, India http://kushaldas.in http://dgplug.org (Linux User Group of Durgapur) ------------------------------ Message: 2 Date: Fri, 15 Feb 2008 16:12:40 +0530 From: "Pradeep Kishore Gowda" Subject: Re: [BangPypers] Any link for xmlrpc in zope3 To: "Bangalore Python Users Group - India" Message-ID: <3e3294b70802150242u4f2d6831v9febe114d24e93e7 at mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" On 2/15/08, Kushal Das wrote: > > I am looking for any nice tutorial link from xmlrpc in zope3. > http://www.bud.ca/blog/the-great-python-component-swap-meet This link is not about XMLRPC, but its about Zope3 and I feel its one of the most useful articles on Zope3 and component technologies. This is especially interesting in light of all the ``componentisation`` talk going around [1][2]. [1]http://marcuscavanaugh.com/blog/2008/02/conceptual-integrity-pylons-d jango [2]http://compoundthinking.com/blog/index.php/2008/02/11/conceptual-inte grity-django-pylons-and-turbogears/ -- Home - http://btbytes.com Heart - http://sampada.net Yummy! - http://konkanirecipes.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/bangpypers/attachments/20080215/e91c9e4 f/attachment-0001.htm ------------------------------ _______________________________________________ BangPypers mailing list BangPypers at python.org http://mail.python.org/mailman/listinfo/bangpypers End of BangPypers Digest, Vol 6, Issue 8 **************************************** From pythonic at gmail.com Mon Feb 18 12:15:57 2008 From: pythonic at gmail.com (Pythonic) Date: Mon, 18 Feb 2008 16:45:57 +0530 Subject: [BangPypers] BangPypers Digest, Vol 6, Issue 8 In-Reply-To: <4952A168D3EA9F418ACA6F84D057FCBF025F4117@MSGBANCLB2WIN.DMN1.FMR.COM> References: <4952A168D3EA9F418ACA6F84D057FCBF025F4117@MSGBANCLB2WIN.DMN1.FMR.COM> Message-ID: <47B968ED.7050106@gmail.com> Ramaswamy, Vivek wrote: > Hello~ > > I am relatively new to python, but I was trying to auto increment a > variable through using the lambda anonymous function, but unfortunately > I am un-able to get the desired result. Please let me know where I am > going wrong > g=lambda m:lambda: ++m > incre=g(0) > incre() > > 0 > incre() > > 0 > ++ operator is not supported in Python. Assignment would not work in a lambda. You may solve it using one of the approaches below * 1. Simple (to understand) solution: * >>> m = 0 >>> def mIncrementer(): ... global m ... m += 1 ... return m >>> mIncrementer() 1 >>> mIncrementer() 2 * 2. Best solution (Pythonic)* >>> import itertools >>> c = itertools.count(9) >>> c.next() 9 >>> c.next() 10 From munichlinux at gmail.com Mon Feb 18 12:44:13 2008 From: munichlinux at gmail.com (Prashanth) Date: Mon, 18 Feb 2008 17:14:13 +0530 Subject: [BangPypers] BangPypers Digest, Vol 6, Issue 8 In-Reply-To: <4952A168D3EA9F418ACA6F84D057FCBF025F4117@MSGBANCLB2WIN.DMN1.FMR.COM> References: <4952A168D3EA9F418ACA6F84D057FCBF025F4117@MSGBANCLB2WIN.DMN1.FMR.COM> Message-ID: <1f869bdd0802180344r19261928s79308bb4b398b06b@mail.gmail.com> hi On Feb 18, 2008 4:09 PM, Ramaswamy, Vivek wrote: > Hello~ > > > >>> g=lambda m:lambda: ++m > >>> incre=g(0) > >>> incre() > 0 > >>> incre() > 0 > >>> incre() > 0 > >>> > > I would want each call to incre() increase the value by one. > i dont understand why you call incre()(is that a function call?) the one you are doing is something like a = 0 print a 0 I think you like to do something like this >>> def make_incrementor (n): return lambda x: x + n >>> >>> f = make_incrementor(2) >>> g = make_incrementor(6) >>> >>> print f(42), g(42) 44 48 >>> >>> print make_incrementor(22)(33) 55 -- regards, Prashanth From siddharta.lists at gmail.com Mon Feb 18 13:27:33 2008 From: siddharta.lists at gmail.com (Siddharta) Date: Mon, 18 Feb 2008 17:57:33 +0530 Subject: [BangPypers] BangPypers Digest, Vol 6, Issue 8 In-Reply-To: <47B968ED.7050106@gmail.com> References: <4952A168D3EA9F418ACA6F84D057FCBF025F4117@MSGBANCLB2WIN.DMN1.FMR.COM> <47B968ED.7050106@gmail.com> Message-ID: <47B979B5.2090204@gmail.com> Pythonic wrote: > * 2. Best solution (Pythonic)* > > >>>> import itertools >>>> c = itertools.count(9) >>>> c.next() >>>> > 9 > >>>> c.next() >>>> > 10 > +1 Pythonic: itertools is the way to go But if you really want to implement it yourself, you need to do something like this - >>> class ns: pass ... >>> def make_incr(start): ... v = ns() ... v.count = start ... def incr(): ... v.count += 1 ... return v.count ... return incr ... >>> i = make_incr(5) >>> i() 6 >>> i() 7 It's more complex than if you did it in a functional language because of limitations on lambda and accessing variables in nested scopes. -- Siddharta Govindaraj From abpillai at gmail.com Mon Feb 18 13:37:31 2008 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Mon, 18 Feb 2008 18:07:31 +0530 Subject: [BangPypers] BangPypers Digest, Vol 6, Issue 8 In-Reply-To: <47B979B5.2090204@gmail.com> References: <4952A168D3EA9F418ACA6F84D057FCBF025F4117@MSGBANCLB2WIN.DMN1.FMR.COM> <47B968ED.7050106@gmail.com> <47B979B5.2090204@gmail.com> Message-ID: <8548c5f30802180437i3efd4f33ga955450be86af457@mail.gmail.com> Here is a way to do this when x is global. I don't recommend it, because it modifies the global dictionary. Still it gives an effect closes to what you want perhaps. >>>incr = lambda x: globals().__setitem__('x',x+1) >>>def f(): incr(x); return x >>>x=10 >>>f() 11 >>>f() 12 >>>x 12 --Anand On Feb 18, 2008 5:57 PM, Siddharta wrote: > Pythonic wrote: > > * 2. Best solution (Pythonic)* > > > > > >>>> import itertools > >>>> c = itertools.count(9) > >>>> c.next() > >>>> > > 9 > > > >>>> c.next() > >>>> > > 10 > > > > +1 Pythonic: itertools is the way to go > > But if you really want to implement it yourself, you need to do > something like this - > > >>> class ns: pass > ... > >>> def make_incr(start): > ... v = ns() > ... v.count = start > ... def incr(): > ... v.count += 1 > ... return v.count > ... return incr > ... > >>> i = make_incr(5) > >>> i() > 6 > >>> i() > 7 > > It's more complex than if you did it in a functional language because of > limitations on lambda and accessing variables in nested scopes. > > -- > Siddharta Govindaraj > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- -Anand From pythonic at gmail.com Mon Feb 18 13:40:47 2008 From: pythonic at gmail.com (Pythonic) Date: Mon, 18 Feb 2008 18:10:47 +0530 Subject: [BangPypers] BangPypers Digest, Vol 6, Issue 8 In-Reply-To: <47B979B5.2090204@gmail.com> References: <4952A168D3EA9F418ACA6F84D057FCBF025F4117@MSGBANCLB2WIN.DMN1.FMR.COM> <47B968ED.7050106@gmail.com> <47B979B5.2090204@gmail.com> Message-ID: <47B97CCF.6090100@gmail.com> Siddharta wrote: > Pythonic wrote: > >> * 2. Best solution (Pythonic)* >> >> >> >>>>> import itertools >>>>> c = itertools.count(9) >>>>> c.next() >>>>> >>>>> >> 9 >> >> >>>>> c.next() >>>>> >>>>> >> 10 >> >> > > +1 Pythonic: itertools is the way to go > > But if you really want to implement it yourself, you need to do > something like this - > > >>> class ns: pass > ... > >>> def make_incr(start): > ... v = ns() > ... v.count = start > ... def incr(): > ... v.count += 1 > ... return v.count > ... return incr > ... > >>> i = make_incr(5) > >>> i() > 6 > >>> i() > 7 > > It's more complex than if you did it in a functional language because of > limitations on lambda and accessing variables in nested scopes. > > -- > Siddharta Govindaraj > _______________________________________________ > > ah well, could not stop my self. More OO (?) way >>> class Incrementer(object): ... def __init__(self, n=0): self.n = n ... def __call__(self): ... self.n += 1 ... return self.n ... >>> i = Incrementer() >>> i() 1 >>> i() 2 From abpillai at gmail.com Tue Feb 19 19:46:48 2008 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Wed, 20 Feb 2008 00:16:48 +0530 Subject: [BangPypers] Fwd: FOSS India Awards Winners Announcement In-Reply-To: <45321.192.168.2.6.1203424634.squirrel@192.168.2.4> References: <45321.192.168.2.6.1203424634.squirrel@192.168.2.4> Message-ID: <8548c5f30802191046i146aa21eh81d6b5ef8d3dca9@mail.gmail.com> EFY has announced the full list of FOSS India Award winners. HarvestMan and Gnusim8085 (Sridhar Ratna) are in the list. http://www.efytimes.com/efytimes/24867/news.htm Regards -- -Anand From abpillai at gmail.com Tue Feb 19 14:17:51 2008 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Tue, 19 Feb 2008 18:47:51 +0530 Subject: [BangPypers] FOSS India Awards Message-ID: <8548c5f30802190517g14fd23d6geee6b602910e1914@mail.gmail.com> FOSS India Awards were declared last friday at OSI week, New Delhi. However the full list of awardees have been published only today. http://www.efytimes.com/efytimes/24867/news.htm HarvestMan and Gnusim8085 are among the winners. Congratulations Sridhar. -- -Anand From sridhar.ratna at gmail.com Wed Feb 20 04:16:29 2008 From: sridhar.ratna at gmail.com (Sridhar Ratnakumar) Date: Wed, 20 Feb 2008 08:46:29 +0530 Subject: [BangPypers] FOSS India Awards In-Reply-To: <8548c5f30802190517g14fd23d6geee6b602910e1914@mail.gmail.com> References: <8548c5f30802190517g14fd23d6geee6b602910e1914@mail.gmail.com> Message-ID: <7c73a13a0802191916i5591ddacq1620468fdcff50f4@mail.gmail.com> On Feb 19, 2008 6:47 PM, Anand Balachandran Pillai wrote: > FOSS India Awards were declared last friday at OSI week, New Delhi. > However the full list of awardees have been published only today. > > http://www.efytimes.com/efytimes/24867/news.htm > > HarvestMan and Gnusim8085 are among the winners. > Congratulations Sridhar. Actually I submitted GNUSim8085 only after reading your blog post, http://randombytes.blogspot.com/2008/02/foss-india-awards.html Cheers to you - the surge of motivation will make HarvestMan even better! As always, the primary motivation is the fun in writing code, sharing it and seeing others using it. PS: GNUSim8085 now compiles on Windows (using MinGW); if anybody could help in creating a Windows installer (and maybe also automating it), that'd be great. Cheers, Sridhar From sree at mahiti.org Wed Feb 20 05:15:51 2008 From: sree at mahiti.org (Sreekanth S Rameshaiah) Date: Wed, 20 Feb 2008 09:45:51 +0530 Subject: [BangPypers] FOSS India Awards In-Reply-To: <7c73a13a0802191916i5591ddacq1620468fdcff50f4@mail.gmail.com> References: <8548c5f30802190517g14fd23d6geee6b602910e1914@mail.gmail.com> <7c73a13a0802191916i5591ddacq1620468fdcff50f4@mail.gmail.com> Message-ID: <313529610802192015y493ed004q430f9de02f6ac977@mail.gmail.com> Congratulations to both of you Anand and Sridhar! - sree On 2/20/08, Sridhar Ratnakumar wrote: > > On Feb 19, 2008 6:47 PM, Anand Balachandran Pillai > wrote: > > FOSS India Awards were declared last friday at OSI week, New Delhi. > > However the full list of awardees have been published only today. > > > > http://www.efytimes.com/efytimes/24867/news.htm > > > > HarvestMan and Gnusim8085 are among the winners. > > Congratulations Sridhar. > > Actually I submitted GNUSim8085 only after reading your blog post, > http://randombytes.blogspot.com/2008/02/foss-india-awards.html > > Cheers to you - the surge of motivation will make HarvestMan even > better! As always, the primary motivation is the fun in writing code, > sharing it and seeing others using it. > > PS: GNUSim8085 now compiles on Windows (using MinGW); if anybody could > help in creating a Windows installer (and maybe also automating it), > that'd be great. > > Cheers, > Sridhar > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Thanks and Regards, - sree Sreekanth S Rameshaiah Executive Director Mahiti Infotech Pvt. Ltd. # 33-34, 2nd Floor, Hennur Cross, Hennur Road, Bangalore, India - 560043 Phone: +91 80 4115 0580/1 Mobile: +91 98455 12611 www.mahiti.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/bangpypers/attachments/20080220/6134128a/attachment.htm From g.forumz at gmail.com Wed Feb 20 05:59:43 2008 From: g.forumz at gmail.com (g sobers) Date: Tue, 19 Feb 2008 23:59:43 -0500 Subject: [BangPypers] Better WLAN detection Message-ID: I noticed that socket module offers some useful functions. But I was dissapointed in its implementation of WLAN networks detection. Even socket.select_access_point() neglects them! Smarter WLAN detection is possible. See: http://discussion.forum.nokia.com/forum/showthread.php?t=114522&highlight=wlan Where can I find study-material for modules, & associated functions, for WLAN connections? I have glossed over Pys60 API documentation at the following URL but found little ellaboration. http://sourceforge.net/project/showf...kage_id=171153 Wud appreciate advise. Best, wirefree -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/bangpypers/attachments/20080219/e4409b46/attachment.htm From stylesen at gmail.com Wed Feb 20 06:48:10 2008 From: stylesen at gmail.com (Senthil Kumaran S) Date: Wed, 20 Feb 2008 11:18:10 +0530 Subject: [BangPypers] FOSS India Awards In-Reply-To: <8548c5f30802190517g14fd23d6geee6b602910e1914@mail.gmail.com> References: <8548c5f30802190517g14fd23d6geee6b602910e1914@mail.gmail.com> Message-ID: <5ef2113c0802192148n492a4b81yb64958f89fecab2b@mail.gmail.com> On Feb 19, 2008 6:47 PM, Anand Balachandran Pillai wrote: > HarvestMan and Gnusim8085 are among the winners. > Congratulations Sridhar. Congrats Anand and Sridhar :) -- Senthil Kumaran S http://www.stylesen.org From abpillai at gmail.com Wed Feb 20 07:38:48 2008 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Wed, 20 Feb 2008 12:08:48 +0530 Subject: [BangPypers] Better WLAN detection In-Reply-To: References: Message-ID: <8548c5f30802192238r2a2782aasdf51f97306486113@mail.gmail.com> It took me some time to figure out you are talking about the socket module in PyS60 , not in CPython !. Since this is a generic Python forum, try to advertise the context before you present the question. Isn't there documentation in the pys60 wiki ? http://wiki.opensource.nokia.com/projects/Python_for_S60 Dzone has quite some snippets of code under pys60 tag. http://snippets.dzone.com/tag/pys60 --Anand On Feb 20, 2008 10:29 AM, g sobers wrote: > I noticed that socket module offers some useful functions. > > But I was dissapointed in its implementation of WLAN networks detection. > Even socket.select_access_point() neglects them! > > Smarter WLAN detection is possible. See: > > http://discussion.forum.nokia.com/forum/showthread.php?t=114522&highlight=wlan > > > Where can I find study-material for modules, & associated functions, for > WLAN connections? > > I have glossed over Pys60 API documentation at the following URL but found > little ellaboration. > > http://sourceforge.net/project/showf...kage_id=171153 > > > Wud appreciate advise. > > Best, > wirefree > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- -Anand From vijay750 at gmail.com Thu Feb 21 08:33:51 2008 From: vijay750 at gmail.com (Vijay Ramachandran) Date: Thu, 21 Feb 2008 13:03:51 +0530 Subject: [BangPypers] Looking for contractors Message-ID: <5f4d8a540802202333x7d101e01hfb7583725c876ff3@mail.gmail.com> Hello. I'm the founder of a small search startup, WisdomTap, based in Bangalore. I'm looking for one or two experienced python hackers to help us build our product. We need people with extensive experience with python, including performance tuning, and knowledge of django, sqlalchemy, parsing xml and html, xpath, and mysql. Knowledge of search (lucene), text mining, NLP, and machine learning is a big plus. Please contact us at jobs at wisdomtap.com thanks, Vijay -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/bangpypers/attachments/20080221/774d810e/attachment.htm From logan04x at gmail.com Fri Feb 22 06:26:00 2008 From: logan04x at gmail.com (logan) Date: Fri, 22 Feb 2008 10:56:00 +0530 Subject: [BangPypers] Python app in a browser sandbox? Message-ID: <001701c87513$6bbdfa20$0701a8c0@Ganesh> Hello All, I'm new to this list and a Python fresher. I wanted to know how can I run my Python application (actually it's just a Python wrapper over a C++ lib) inside a web browser? My intent is that the user opens the website and then the Python application is loaded in the user's memory and there after the user is able to use the application. For example, say the application is notepad, the user launches the site and the Python notepad is loaded as some kind of ActiveX control and the user can use it. I may add that the application just needs the microphone and speakers of the user and doesn't need access to any other resource. Looking forward to listen from you guys. Thanks. Best Regards, Hitesh Sharma -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/bangpypers/attachments/20080222/3ccb992a/attachment.htm From prashmohan at gmail.com Fri Feb 22 06:36:32 2008 From: prashmohan at gmail.com (Prashanth Mohan) Date: Fri, 22 Feb 2008 11:06:32 +0530 Subject: [BangPypers] Python app in a browser sandbox? In-Reply-To: <001701c87513$6bbdfa20$0701a8c0@Ganesh> References: <001701c87513$6bbdfa20$0701a8c0@Ganesh> Message-ID: Hello, On Fri, Feb 22, 2008 at 10:56 AM, logan wrote: > My intent is that the user opens the website and then > the Python application is loaded in the user's memory and there after the > user is able to use the application. You could use IronPython + Silverlight for an application sandbox within a browser. -- /P http://prashblog.com From logan04x at gmail.com Fri Feb 22 07:10:51 2008 From: logan04x at gmail.com (logan) Date: Fri, 22 Feb 2008 11:40:51 +0530 Subject: [BangPypers] Python app in a browser sandbox? References: <001701c87513$6bbdfa20$0701a8c0@Ganesh> Message-ID: <000401c87519$af5e1570$0701a8c0@Ganesh> Hello Prashanth, > You could use IronPython + Silverlight for an application sandbox > within a browser. That's interesting. But the whole point of going to Python was to avoid using MS specific technologies. If I have to use Silverlight then I would prefer writing a .NET wrapper for my C++ library. BTW, what are the licenses related issues in using Silverlight? But I hope I don't have to take the MS route and instead use Python to get the job done. Thanks. Best Regards, Hitesh From logan04x at gmail.com Fri Feb 22 07:44:09 2008 From: logan04x at gmail.com (logan) Date: Fri, 22 Feb 2008 12:14:09 +0530 Subject: [BangPypers] Python app in a browser sandbox? References: <001701c87513$6bbdfa20$0701a8c0@Ganesh> Message-ID: <000901c8751e$566f9100$0701a8c0@Ganesh> Just to add to my last email. Silverlight is more about WPF, XAML, etc, and all this is of no interest to us. What I simply want is a sandbox kind of environment, which allows the user to load the Python script (or application). The application actually is a VoIP softphone, basically we want that the user should be able to use the phone through the browser itself and it gets loaded for the user to make calls without installing the application. Coming from a C++ and VoIP background I don't have much of an idea about the various web technologies out there. Can someone be kind enough to point out various things that I can try out? ----- Original Message ----- From: "Prashanth Mohan" To: "Bangalore Python Users Group - India" Sent: Friday, February 22, 2008 11:06 AM Subject: Re: [BangPypers] Python app in a browser sandbox? > Hello, > > On Fri, Feb 22, 2008 at 10:56 AM, logan wrote: >> My intent is that the user opens the website and then >> the Python application is loaded in the user's memory and there after the >> user is able to use the application. > > You could use IronPython + Silverlight for an application sandbox > within a browser. > > -- > /P > http://prashblog.com > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers From botsie at nixcartel.org Fri Feb 22 08:06:49 2008 From: botsie at nixcartel.org (Biju Chacko) Date: Fri, 22 Feb 2008 12:36:49 +0530 Subject: [BangPypers] Python app in a browser sandbox? In-Reply-To: <000901c8751e$566f9100$0701a8c0@Ganesh> References: <001701c87513$6bbdfa20$0701a8c0@Ganesh> <000901c8751e$566f9100$0701a8c0@Ganesh> Message-ID: <47BE7489.7020505@nixcartel.org> logan wrote: > Just to add to my last email. Silverlight is more about WPF, XAML, etc, and > all this is of no interest to us. What I simply want is a sandbox kind of > environment, which allows the user to load the Python script (or > application). The application actually is a VoIP softphone, basically we > want that the user should be able to use the phone through the browser > itself and it gets loaded for the user to make calls without installing the > application. I don't think what you're asking for is feasable. Maybe you want something like ZeroInstall: http://0install.net/ -- b From lawgon at au-kbc.org Fri Feb 22 08:39:25 2008 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Fri, 22 Feb 2008 13:09:25 +0530 Subject: [BangPypers] Python app in a browser sandbox? In-Reply-To: <47BE7489.7020505@nixcartel.org> References: <001701c87513$6bbdfa20$0701a8c0@Ganesh> <000901c8751e$566f9100$0701a8c0@Ganesh> <47BE7489.7020505@nixcartel.org> Message-ID: On 22-Feb-08, at 12:36 PM, Biju Chacko wrote: > I don't think what you're asking for is feasable. Maybe you want > something like ZeroInstall: > > http://0install.net/ wow - it must be at least 4 years since I have seen a mail from biju on a mailing list! (probably I belong to all the wrong lists!) -- regards Kenneth Gonsalves Associate, NRC-FOSS lawgon at au-kbc.org http://nrcfosshelpline.in/web/ Foss conference for the common man: http://registration.fossconf.in/web/ From logan04x at gmail.com Fri Feb 22 09:24:32 2008 From: logan04x at gmail.com (logan) Date: Fri, 22 Feb 2008 13:54:32 +0530 Subject: [BangPypers] Python app in a browser sandbox? References: <001701c87513$6bbdfa20$0701a8c0@Ganesh> <000901c8751e$566f9100$0701a8c0@Ganesh> <47BE7489.7020505@nixcartel.org> Message-ID: <002e01c8752c$5bcf1d10$0701a8c0@Ganesh> Hi Biju, Thanks for the reply. Can you please tell why you think this is not possible? The Python PYD for my C++ application is lesser than 750KB and will be trimmed further and the script to make calls through it is lesser than 10KB. The only concern for me is to know how to run it inside a browser. BTW, should I go for Jython applets? I will be looking at IronPython and Silverlight for now, though the unavailability of Silverlight on Linux is a big negative. Thanks. Best Regards, Hitesh ----- Original Message ----- From: "Biju Chacko" To: "Bangalore Python Users Group - India" Sent: Friday, February 22, 2008 12:36 PM Subject: Re: [BangPypers] Python app in a browser sandbox? > logan wrote: >> Just to add to my last email. Silverlight is more about WPF, XAML, etc, >> and >> all this is of no interest to us. What I simply want is a sandbox kind of >> environment, which allows the user to load the Python script (or >> application). The application actually is a VoIP softphone, basically we >> want that the user should be able to use the phone through the browser >> itself and it gets loaded for the user to make calls without installing >> the >> application. > > I don't think what you're asking for is feasable. Maybe you want > something like ZeroInstall: > > http://0install.net/ > > -- b > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers From prashmohan at gmail.com Fri Feb 22 11:42:29 2008 From: prashmohan at gmail.com (Prashanth Mohan) Date: Fri, 22 Feb 2008 16:12:29 +0530 Subject: [BangPypers] Python app in a browser sandbox? In-Reply-To: <002e01c8752c$5bcf1d10$0701a8c0@Ganesh> References: <001701c87513$6bbdfa20$0701a8c0@Ganesh> <000901c8751e$566f9100$0701a8c0@Ganesh> <47BE7489.7020505@nixcartel.org> <002e01c8752c$5bcf1d10$0701a8c0@Ganesh> Message-ID: Hello, On Fri, Feb 22, 2008 at 1:54 PM, logan wrote: > BTW, should I go for Jython applets? I will be looking at IronPython and > Silverlight for now, though the unavailability of Silverlight on Linux is a > big negative. Moonlight is available for Linux. I am not sure if it will run IronPython scripts though. If it is just going to ship the CLI bytes across the network there is no reason why it should not work. I am just making a wild guess, so take my mail with a pinch of salt. -- /P http://prashblog.com From n.s.buttar at gmail.com Fri Feb 22 12:32:17 2008 From: n.s.buttar at gmail.com (Navtej Singh) Date: Fri, 22 Feb 2008 17:02:17 +0530 Subject: [BangPypers] Python app in a browser sandbox? In-Reply-To: <002e01c8752c$5bcf1d10$0701a8c0@Ganesh> References: <001701c87513$6bbdfa20$0701a8c0@Ganesh> <000901c8751e$566f9100$0701a8c0@Ganesh> <47BE7489.7020505@nixcartel.org> <002e01c8752c$5bcf1d10$0701a8c0@Ganesh> Message-ID: <1090e4100802220332r59ff44fqa66c548ddfa890ce@mail.gmail.com> I guess you should be able to use pyinstaller http://pyinstaller.python-hosting.com/. "Support for building COM servers (Windows only). " IMO the size of the distribution exe/dll would be significantly larger as the resultant exe/dll is a kind of achieve. May be you should take a second look at IronPython+Silverlight and check if that suits your requirement. http://www.voidspace.org.uk/ironpython/silverlight/pycon.html On Fri, Feb 22, 2008 at 1:54 PM, logan wrote: > Hi Biju, > > Thanks for the reply. > > Can you please tell why you think this is not possible? The Python PYD for > my C++ application is lesser than 750KB and will be trimmed further and the > script to make calls through it is lesser than 10KB. The only concern for me > is to know how to run it inside a browser. > > BTW, should I go for Jython applets? I will be looking at IronPython and > Silverlight for now, though the unavailability of Silverlight on Linux is a > big negative. > > Thanks. > > Best Regards, > Hitesh > > > ----- Original Message ----- > From: "Biju Chacko" > To: "Bangalore Python Users Group - India" > > Sent: Friday, February 22, 2008 12:36 PM > Subject: Re: [BangPypers] Python app in a browser sandbox? > > > > > > logan wrote: > >> Just to add to my last email. Silverlight is more about WPF, XAML, etc, > >> and > >> all this is of no interest to us. What I simply want is a sandbox kind of > >> environment, which allows the user to load the Python script (or > >> application). The application actually is a VoIP softphone, basically we > >> want that the user should be able to use the phone through the browser > >> itself and it gets loaded for the user to make calls without installing > >> the > >> application. > > > > I don't think what you're asking for is feasable. Maybe you want > > something like ZeroInstall: > > > > http://0install.net/ > > > > -- b > > _______________________________________________ > > 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 jeff at taupro.com Fri Feb 22 19:28:29 2008 From: jeff at taupro.com (Jeff Rush) Date: Fri, 22 Feb 2008 12:28:29 -0600 Subject: [BangPypers] Python app in a browser sandbox? In-Reply-To: <000401c87519$af5e1570$0701a8c0@Ganesh> References: <001701c87513$6bbdfa20$0701a8c0@Ganesh> <000401c87519$af5e1570$0701a8c0@Ganesh> Message-ID: <47BF144D.1030501@taupro.com> logan wrote: > Hello Prashanth, > >> You could use IronPython + Silverlight for an application sandbox >> within a browser. > > That's interesting. But the whole point of going to Python was to avoid > using MS specific technologies. If I have to use Silverlight then I would > prefer writing a .NET wrapper for my C++ library. BTW, what are the licenses > related issues in using Silverlight? But I hope I don't have to take the MS > route and instead use Python to get the job done. I'm afraid what you want is not possible, for a number of reasons. First off, running simple Python code within the browser is not a mature technology. While there is a long-term project, called "PyXPCOM" for running Python inside a Mozilla-based browser, it (a) doesn't address non-Mozilla browsers, (b) is still immature and not well documented, and (c) is not already installed on the mass market of Mozilla browsers. Second, is that the audio interfaces are not _at all_ standard across platforms and Python does not provide a seamless interface that masks these differences in its standard library. If you've managed to do so within your C++ library, it'd make a nice addition to the standard library. And last, you mention you have a C++ library you have wrapped. Unfortunately C++ is poorly standardized at the OS/library level (C is much better) but your real problem is that, once C or C++ is compiled, it is tied to a specific operating system and so visitors to your website running a Mac won't be able to execute the binary code you wrote under Windows. You could bandage it by trying to detect their OS and supplying a version for each flavor, but 100% reliable detection is hard and there is such a variety of binary-level APIs out there (at least 7 just for Windows, 8 for Linux, 5 for Mac or so). I wish there were a solution like you need. I've wanted one for many years but the browser/OS wars just won't permit one. Another solution is to build something using Macromedia flash, as they provide a crude audio interface but that won't be in Python, many people refuse to run flash for legal and security reasons, and you'll be dependent on particular versions of flash. And then there may be some Java solutions, but you still won't be able to run your C++ executable in all browsers. Cross-platform multimedia is HARD. -Jeff From jeff at taupro.com Fri Feb 22 19:33:33 2008 From: jeff at taupro.com (Jeff Rush) Date: Fri, 22 Feb 2008 12:33:33 -0600 Subject: [BangPypers] Python app in a browser sandbox? In-Reply-To: <001701c87513$6bbdfa20$0701a8c0@Ganesh> References: <001701c87513$6bbdfa20$0701a8c0@Ganesh> Message-ID: <47BF157D.7070201@taupro.com> logan wrote: > > I'm new to this list and a Python fresher. I wanted to know how can I > run my Python application (actually it's just a Python wrapper over a > C++ lib) inside a web browser? My intent is that the user opens the > website and then the Python application is loaded in the user's memory > and there after the user is able to use the application. For example, > say the application is notepad, the user launches the site and the > Python notepad is loaded as some kind of ActiveX control and the user > can use it. I may add that the application just needs the microphone and > speakers of the user and doesn't need access to any other resource. Oh, one other approach you could take is to require each user to have already downloaded and installed your application (again a version for each OS), and then associate a MIME type within the browser such that when they visit some resource on your website, the browser initiates the execution of an external application which would be your program. It wouldn't run "within" the browser per se, and it won't be sandboxed so the user has to trust you, and there is a risk that a cracker might trigger your app from some other website, for a nefarious purpose like listening to the microphone, but it would work. -Jeff From siddharta.lists at gmail.com Fri Feb 22 20:13:44 2008 From: siddharta.lists at gmail.com (Siddharta) Date: Sat, 23 Feb 2008 00:43:44 +0530 Subject: [BangPypers] Python app in a browser sandbox? In-Reply-To: <002e01c8752c$5bcf1d10$0701a8c0@Ganesh> References: <001701c87513$6bbdfa20$0701a8c0@Ganesh> <000901c8751e$566f9100$0701a8c0@Ganesh> <47BE7489.7020505@nixcartel.org> <002e01c8752c$5bcf1d10$0701a8c0@Ganesh> Message-ID: <47BF1EE8.3060702@gmail.com> Hi Hitesh, Maybe you can extend the Crunchy project? Crunchy is a program that allows you to run commands on a python interpreter through a browser window. The project homepage is - http://code.google.com/p/crunchy/ and there is an example of Crunchy in action in this video - http://showmedo.com/videos/video?name=1430000&fromSeriesID=143 -- Siddharta Govindaraj logan wrote: > Hi Biju, > > Thanks for the reply. > > Can you please tell why you think this is not possible? The Python PYD for > my C++ application is lesser than 750KB and will be trimmed further and the > script to make calls through it is lesser than 10KB. The only concern for me > is to know how to run it inside a browser. > > BTW, should I go for Jython applets? I will be looking at IronPython and > Silverlight for now, though the unavailability of Silverlight on Linux is a > big negative. > > Thanks. > > Best Regards, > Hitesh > > ----- Original Message ----- > From: "Biju Chacko" > To: "Bangalore Python Users Group - India" > Sent: Friday, February 22, 2008 12:36 PM > Subject: Re: [BangPypers] Python app in a browser sandbox? > > > >> logan wrote: >> >>> Just to add to my last email. Silverlight is more about WPF, XAML, etc, >>> and >>> all this is of no interest to us. What I simply want is a sandbox kind of >>> environment, which allows the user to load the Python script (or >>> application). The application actually is a VoIP softphone, basically we >>> want that the user should be able to use the phone through the browser >>> itself and it gets loaded for the user to make calls without installing >>> the >>> application. >>> >> I don't think what you're asking for is feasable. Maybe you want >> something like ZeroInstall: >> >> http://0install.net/ >> >> -- b >> From logan04x at gmail.com Fri Feb 22 20:45:28 2008 From: logan04x at gmail.com (logan) Date: Sat, 23 Feb 2008 01:15:28 +0530 Subject: [BangPypers] Python app in a browser sandbox? References: <001701c87513$6bbdfa20$0701a8c0@Ganesh> <47BF157D.7070201@taupro.com> Message-ID: <001401c8758b$7bdacd20$0701a8c0@Ganesh> Hi All, Thanks a lot to all of you for your replies. Jeff, you are right on spot with your observations. All day I have been researching and came to the same conclusions as you (you put them in a better way actually). The idea right now in my mind is that my approach is not going to work in the way I'm thinking. There are too many restrictions and it just won't work. What I can perhaps do is to use Flash for streaming audio from the client machine to the server (where my Python phone will be residing now) and pass the audio from there to the softphone to be transmitted further. Same way, I can pass audio from the softphone to the client using Flash. This will increase the latency a bit, and quality might suffer a bit, but for now this looks the only feasible way out. It looks I have got some work on my hands. Thanks a ton guys and please keep the suggestions pouring in. Best Regards, Hitesh ----- Original Message ----- From: "Jeff Rush" To: "Bangalore Python Users Group - India" Sent: Saturday, February 23, 2008 12:03 AM Subject: Re: [BangPypers] Python app in a browser sandbox? > logan wrote: >> >> I'm new to this list and a Python fresher. I wanted to know how can I >> run my Python application (actually it's just a Python wrapper over a >> C++ lib) inside a web browser? My intent is that the user opens the >> website and then the Python application is loaded in the user's memory >> and there after the user is able to use the application. For example, >> say the application is notepad, the user launches the site and the >> Python notepad is loaded as some kind of ActiveX control and the user >> can use it. I may add that the application just needs the microphone and >> speakers of the user and doesn't need access to any other resource. > > Oh, one other approach you could take is to require each user to have > already > downloaded and installed your application (again a version for each OS), > and > then associate a MIME type within the browser such that when they visit > some > resource on your website, the browser initiates the execution of an > external > application which would be your program. It wouldn't run "within" the > browser > per se, and it won't be sandboxed so the user has to trust you, and there > is a > risk that a cracker might trigger your app from some other website, for a > nefarious purpose like listening to the microphone, but it would work. > > -Jeff > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers From prashanthellina at gmail.com Mon Feb 25 05:13:08 2008 From: prashanthellina at gmail.com (Prashanth Ellina) Date: Mon, 25 Feb 2008 09:43:08 +0530 Subject: [BangPypers] Agile development in Python Message-ID: <281962dd0802242013q6cd0008o50f66065c2b327c3@mail.gmail.com> Hi, I want to learn more about agile development in python. I've done some reading on the net. However, I would like to meet someone who is doing agile development in python. Anyone? Thanks, Prashanth -- http://blog.prashanthellina.com From lorddaemon at gmail.com Mon Feb 25 05:36:35 2008 From: lorddaemon at gmail.com (Darkseid) Date: Mon, 25 Feb 2008 10:06:35 +0530 Subject: [BangPypers] Agile development in Python In-Reply-To: <281962dd0802242013q6cd0008o50f66065c2b327c3@mail.gmail.com> References: <281962dd0802242013q6cd0008o50f66065c2b327c3@mail.gmail.com> Message-ID: <47C245D3.5000108@gmail.com> Prashanth, Agile development has little to do with a particular language - in fact if it seems like you need a particular language or tool to implement it then something is wrong somewhere. My 2 paise based on three years of Agile development on multiple languages :) Best, Sidu. http://blog.sidu.in Prashanth Ellina wrote: > Hi, > > I want to learn more about agile development in python. I've done some > reading on the net. However, I would like to meet someone who is doing > agile development in python. Anyone? > > Thanks, > Prashanth > > From prashanthellina at gmail.com Mon Feb 25 05:54:19 2008 From: prashanthellina at gmail.com (Prashanth Ellina) Date: Mon, 25 Feb 2008 10:24:19 +0530 Subject: [BangPypers] Agile development in Python In-Reply-To: <47C245D3.5000108@gmail.com> References: <281962dd0802242013q6cd0008o50f66065c2b327c3@mail.gmail.com> <47C245D3.5000108@gmail.com> Message-ID: <281962dd0802242054l7bf1ce2av898f9f934b285853@mail.gmail.com> I agree. However I am asking about Agile development methodology applied to Python projects. I am looking for advise along these lines Use blah blah module to do testing. Use doctests in these cases. Use blah in some other scenario. I could learn Agile methodology in general and apply it for python projects but I would like to gain this info from someone who has already done this. does that make sense? On Mon, Feb 25, 2008 at 10:06 AM, Darkseid wrote: > Prashanth, > > Agile development has little to do with a particular language - in fact > if it seems like you need a particular language or tool to implement it > then something is wrong somewhere. > > My 2 paise based on three years of Agile development on multiple > languages :) > > Best, > Sidu. > http://blog.sidu.in > > > Prashanth Ellina wrote: > > Hi, > > > > I want to learn more about agile development in python. I've done some > > reading on the net. However, I would like to meet someone who is doing > > agile development in python. Anyone? > > > > Thanks, > > Prashanth > > > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- http://blog.prashanthellina.com From lorddaemon at gmail.com Mon Feb 25 18:11:09 2008 From: lorddaemon at gmail.com (Darkseid) Date: Mon, 25 Feb 2008 22:41:09 +0530 Subject: [BangPypers] Agile development in Python In-Reply-To: <281962dd0802242054l7bf1ce2av898f9f934b285853@mail.gmail.com> References: <281962dd0802242013q6cd0008o50f66065c2b327c3@mail.gmail.com> <47C245D3.5000108@gmail.com> <281962dd0802242054l7bf1ce2av898f9f934b285853@mail.gmail.com> Message-ID: <47C2F6AD.3070803@gmail.com> Oh OK, sure, I see what you mean; makes sense. As for some real advice, I'll leave that to those who know more about Python than I do. Prashanth Ellina wrote: > I agree. However I am asking about Agile development methodology > applied to Python projects. I am looking for advise along these lines > > Use blah blah module to do testing. Use doctests in these cases. Use > blah in some other scenario. > > I could learn Agile methodology in general and apply it for python > projects but I would like to gain this info from someone who has > already done this. > > does that make sense? > > On Mon, Feb 25, 2008 at 10:06 AM, Darkseid wrote: > >> Prashanth, >> >> Agile development has little to do with a particular language - in fact >> if it seems like you need a particular language or tool to implement it >> then something is wrong somewhere. >> >> My 2 paise based on three years of Agile development on multiple >> languages :) >> >> Best, >> Sidu. >> http://blog.sidu.in >> >> >> Prashanth Ellina wrote: >> > Hi, >> > >> > I want to learn more about agile development in python. I've done some >> > reading on the net. However, I would like to meet someone who is doing >> > agile development in python. Anyone? >> > >> > Thanks, >> > Prashanth >> > >> > >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> >> > > > > From siddharta.lists at gmail.com Tue Feb 26 03:10:54 2008 From: siddharta.lists at gmail.com (Siddharta) Date: Tue, 26 Feb 2008 07:40:54 +0530 Subject: [BangPypers] Agile development in Python In-Reply-To: <281962dd0802242013q6cd0008o50f66065c2b327c3@mail.gmail.com> References: <281962dd0802242013q6cd0008o50f66065c2b327c3@mail.gmail.com> Message-ID: <47C3752E.90401@gmail.com> Hi Prashanth, I do agile development in Python. I use the unittest module for testing. Some prefer doctest. It depends on which style of testing you prefer. Django has a testing framework around unittest that I use for Django projects. For end to end testing, I use Selenium with the python interface. Sometimes I use mechanize when I want to test outside of a browser. For doing builds, I use my own script. Some people use SCONS, but I haven't used it yet. Django testing - http://www.djangoproject.com/documentation/testing/ Selenium - http://selenium.openqa.org/ mechanize - http://wwwsearch.sourceforge.net/mechanize/ SCONS - http://www.scons.org/ -- Siddharta Govindaraj http://siddhi.blogspot.com Prashanth Ellina wrote: > Hi, > > I want to learn more about agile development in python. I've done some > reading on the net. However, I would like to meet someone who is doing > agile development in python. Anyone? > > Thanks, > Prashanth > > From prashanthellina at gmail.com Tue Feb 26 03:55:02 2008 From: prashanthellina at gmail.com (Prashanth Ellina) Date: Tue, 26 Feb 2008 08:25:02 +0530 Subject: [BangPypers] Agile development in Python In-Reply-To: <47C3752E.90401@gmail.com> References: <281962dd0802242013q6cd0008o50f66065c2b327c3@mail.gmail.com> <47C3752E.90401@gmail.com> Message-ID: <281962dd0802251855u50828fceg82bacc733bf9b3e7@mail.gmail.com> Hi Siddharta, Thanks for the info. I was leaning towards using doctests to start with (the seem less imposing for a testing novice like me). I was however unsure about using them until you mentioned them. I will start with these and try unitest later. regards, Prashanth On Tue, Feb 26, 2008 at 7:40 AM, Siddharta wrote: > Hi Prashanth, > > I do agile development in Python. I use the unittest module for testing. > Some prefer doctest. It depends on which style of testing you prefer. > Django has a testing framework around unittest that I use for Django > projects. For end to end testing, I use Selenium with the python > interface. Sometimes I use mechanize when I want to test outside of a > browser. For doing builds, I use my own script. Some people use SCONS, > but I haven't used it yet. > > Django testing - http://www.djangoproject.com/documentation/testing/ > Selenium - http://selenium.openqa.org/ > mechanize - http://wwwsearch.sourceforge.net/mechanize/ > SCONS - http://www.scons.org/ > > -- > Siddharta Govindaraj > http://siddhi.blogspot.com > > > Prashanth Ellina wrote: > > Hi, > > > > I want to learn more about agile development in python. I've done some > > reading on the net. However, I would like to meet someone who is doing > > agile development in python. Anyone? > > > > Thanks, > > Prashanth > > > > > > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- http://blog.prashanthellina.com From ramdas at developeriq.com Tue Feb 26 04:49:20 2008 From: ramdas at developeriq.com (Ramdas S) Date: Tue, 26 Feb 2008 09:19:20 +0530 Subject: [BangPypers] Agile development in Python In-Reply-To: <281962dd0802251855u50828fceg82bacc733bf9b3e7@mail.gmail.com> References: <281962dd0802242013q6cd0008o50f66065c2b327c3@mail.gmail.com> <47C3752E.90401@gmail.com> <281962dd0802251855u50828fceg82bacc733bf9b3e7@mail.gmail.com> Message-ID: <6e38f9f00802251949l232f9968x95980daa28cf6047@mail.gmail.com> Doc Tests are perfect for most occasions. But well written Unit tests are perhaps the right way to do Agile programming ( if you go by the book). On Tue, Feb 26, 2008 at 8:25 AM, Prashanth Ellina wrote: > Hi Siddharta, > > Thanks for the info. I was leaning towards using doctests to start > with (the seem less imposing for a testing novice like me). I was > however unsure about using them until you mentioned them. I will start > with these and try unitest later. > > regards, > Prashanth > > On Tue, Feb 26, 2008 at 7:40 AM, Siddharta > wrote: > > Hi Prashanth, > > > > I do agile development in Python. I use the unittest module for > testing. > > Some prefer doctest. It depends on which style of testing you prefer. > > Django has a testing framework around unittest that I use for Django > > projects. For end to end testing, I use Selenium with the python > > interface. Sometimes I use mechanize when I want to test outside of a > > browser. For doing builds, I use my own script. Some people use SCONS, > > but I haven't used it yet. > > > > Django testing - http://www.djangoproject.com/documentation/testing/ > > Selenium - http://selenium.openqa.org/ > > mechanize - http://wwwsearch.sourceforge.net/mechanize/ > > SCONS - http://www.scons.org/ > > > > -- > > Siddharta Govindaraj > > http://siddhi.blogspot.com > > > > > > Prashanth Ellina wrote: > > > Hi, > > > > > > I want to learn more about agile development in python. I've done > some > > > reading on the net. However, I would like to meet someone who is > doing > > > agile development in python. Anyone? > > > > > > Thanks, > > > Prashanth > > > > > > > > > > > > > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > > > > -- > http://blog.prashanthellina.com > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/bangpypers/attachments/20080226/4ee3003f/attachment.htm From prashanthellina at gmail.com Tue Feb 26 05:09:28 2008 From: prashanthellina at gmail.com (Prashanth Ellina) Date: Tue, 26 Feb 2008 09:39:28 +0530 Subject: [BangPypers] Agile development in Python In-Reply-To: <6e38f9f00802251949l232f9968x95980daa28cf6047@mail.gmail.com> References: <281962dd0802242013q6cd0008o50f66065c2b327c3@mail.gmail.com> <47C3752E.90401@gmail.com> <281962dd0802251855u50828fceg82bacc733bf9b3e7@mail.gmail.com> <6e38f9f00802251949l232f9968x95980daa28cf6047@mail.gmail.com> Message-ID: <281962dd0802252009k15115b17vd089d84f62cd9199@mail.gmail.com> Is there a simple python project with unit tests written available online? On Tue, Feb 26, 2008 at 9:19 AM, Ramdas S wrote: > Doc Tests are perfect for most occasions. But well written Unit tests are > perhaps the right way to do Agile programming ( if you go by the book). > > > > > > On Tue, Feb 26, 2008 at 8:25 AM, Prashanth Ellina > wrote: > > > Hi Siddharta, > > > > Thanks for the info. I was leaning towards using doctests to start > > with (the seem less imposing for a testing novice like me). I was > > however unsure about using them until you mentioned them. I will start > > with these and try unitest later. > > > > regards, > > Prashanth > > > > > > > > > > On Tue, Feb 26, 2008 at 7:40 AM, Siddharta > wrote: > > > Hi Prashanth, > > > > > > I do agile development in Python. I use the unittest module for > testing. > > > Some prefer doctest. It depends on which style of testing you prefer. > > > Django has a testing framework around unittest that I use for Django > > > projects. For end to end testing, I use Selenium with the python > > > interface. Sometimes I use mechanize when I want to test outside of a > > > browser. For doing builds, I use my own script. Some people use SCONS, > > > but I haven't used it yet. > > > > > > Django testing - http://www.djangoproject.com/documentation/testing/ > > > Selenium - http://selenium.openqa.org/ > > > mechanize - http://wwwsearch.sourceforge.net/mechanize/ > > > SCONS - http://www.scons.org/ > > > > > > -- > > > Siddharta Govindaraj > > > http://siddhi.blogspot.com > > > > > > > > > Prashanth Ellina wrote: > > > > Hi, > > > > > > > > I want to learn more about agile development in python. I've done > some > > > > reading on the net. However, I would like to meet someone who is > doing > > > > agile development in python. Anyone? > > > > > > > > Thanks, > > > > Prashanth > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > BangPypers mailing list > > > BangPypers at python.org > > > http://mail.python.org/mailman/listinfo/bangpypers > > > > > > > > > > > -- > > http://blog.prashanthellina.com > > > > > > > > _______________________________________________ > > 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 > > -- http://blog.prashanthellina.com From srsy70 at gmail.com Tue Feb 26 06:09:33 2008 From: srsy70 at gmail.com (S.Ramaswamy) Date: Tue, 26 Feb 2008 10:39:33 +0530 Subject: [BangPypers] Agile development in Python In-Reply-To: <281962dd0802252009k15115b17vd089d84f62cd9199@mail.gmail.com> References: <281962dd0802242013q6cd0008o50f66065c2b327c3@mail.gmail.com> <47C3752E.90401@gmail.com> <281962dd0802251855u50828fceg82bacc733bf9b3e7@mail.gmail.com> <6e38f9f00802251949l232f9968x95980daa28cf6047@mail.gmail.com> <281962dd0802252009k15115b17vd089d84f62cd9199@mail.gmail.com> Message-ID: > Is there a simple python project with unit tests written available online? > Any standard Python installation itself contains a number of tests that use the unittest module. You might want to take a look at those - there's usually a "test" directory which contains the tests. Ramaswamy From prashanthellina at gmail.com Tue Feb 26 06:18:28 2008 From: prashanthellina at gmail.com (Prashanth Ellina) Date: Tue, 26 Feb 2008 10:48:28 +0530 Subject: [BangPypers] Agile development in Python In-Reply-To: References: <281962dd0802242013q6cd0008o50f66065c2b327c3@mail.gmail.com> <47C3752E.90401@gmail.com> <281962dd0802251855u50828fceg82bacc733bf9b3e7@mail.gmail.com> <6e38f9f00802251949l232f9968x95980daa28cf6047@mail.gmail.com> <281962dd0802252009k15115b17vd089d84f62cd9199@mail.gmail.com> Message-ID: <281962dd0802252118va46e13au6ce3ce15d80516c@mail.gmail.com> I found a README in /usr/lib/python2.5/test. Quite useful. Thanks. On Tue, Feb 26, 2008 at 10:39 AM, S.Ramaswamy wrote: > > Is there a simple python project with unit tests written available online? > > > > Any standard Python installation itself contains a number of tests > that use the unittest module. You might want to take a look at those - > there's usually a "test" directory which contains the tests. > > Ramaswamy > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- http://blog.prashanthellina.com