From manikandank at tce.edu Mon Mar 1 09:56:42 2010 From: manikandank at tce.edu (K.Manikandan) Date: Mon, 1 Mar 2010 14:26:42 +0530 Subject: [BangPypers] Pickle a dictionary In-Reply-To: <7f2cbc971002112232y18cd39e3x909775bfd59e8a06@mail.gmail.com> References: <350836d306614cc097ad69857c61119b.squirrel@mail.tcenet> <7f2cbc971002110406m2509e161qd052de3c541683d4@mail.gmail.com> <7d2541c1c0211c9982526f5d78d9cb69.squirrel@mail.tce.edu> <7f2cbc971002112232y18cd39e3x909775bfd59e8a06@mail.gmail.com> Message-ID: <5bc82a036f6fa8f895470ba56e1dc543.squirrel@mail.tcenet> Hi all, I have to pickle a dictionay and store it in a postgres database. There are a number of resources for pickling into a file, but what should I do to pickle the dictionary in to database? I have blob datatype (bytea) for that field in postgres. Regards, Manikandan K ----------------------------------------- This email was sent using TCEMail Service. Thiagarajar College of Engineering Madurai-625 015, India From kausikram at gmail.com Mon Mar 1 10:02:30 2010 From: kausikram at gmail.com (kausikram krishnasayee) Date: Mon, 1 Mar 2010 14:32:30 +0530 Subject: [BangPypers] Pickle a dictionary In-Reply-To: <5bc82a036f6fa8f895470ba56e1dc543.squirrel@mail.tcenet> References: <350836d306614cc097ad69857c61119b.squirrel@mail.tcenet> <7f2cbc971002110406m2509e161qd052de3c541683d4@mail.gmail.com> <7d2541c1c0211c9982526f5d78d9cb69.squirrel@mail.tce.edu> <7f2cbc971002112232y18cd39e3x909775bfd59e8a06@mail.gmail.com> <5bc82a036f6fa8f895470ba56e1dc543.squirrel@mail.tcenet> Message-ID: <2597ddb91003010102h8b5b543y5cdbb4155ac96f3c@mail.gmail.com> > > Hi all, > > I have to pickle a dictionay and store it in a postgres database. There > are a number of resources for pickling into a file, but what should I do > to pickle the dictionary in to database? I have blob datatype (bytea) for > that field in postgres. > > Regards, > Manikandan K > pickle it into a string and store the string into the database. >>>import pickle >>>pickle_string=pickle.dump(dict) >>>#use your database api to store pickle_string -- Kausikram Krishnasayee Company: http://silverstripesoftware.com | Webpage: kausikram.net | Blog: blog.kausikram.net | Twitter: http://twitter.com/kausikram | Email: kausikram at gmail.com | Mobile: +91 9884246490 From mbaiju at zeomega.com Mon Mar 1 11:50:19 2010 From: mbaiju at zeomega.com (Baiju M) Date: Mon, 1 Mar 2010 16:20:19 +0530 Subject: [BangPypers] Buildout internal support Message-ID: Hi, We have created a new component in ZeSupport to track all internal issues with Buildout. Please add a ticket, so that we can look into that issue. Product: All ZeOmega Operations (Dallas and Blore ) Component: Buildout Regards, Baiju M From mbaiju at zeomega.com Mon Mar 1 11:58:46 2010 From: mbaiju at zeomega.com (Baiju M) Date: Mon, 1 Mar 2010 16:28:46 +0530 Subject: [BangPypers] Buildout internal support In-Reply-To: References: Message-ID: Sorry, wrong list :) On Mon, Mar 1, 2010 at 4:20 PM, Baiju M wrote: > Hi, > ? We have created a new component in ZeSupport > to track all internal issues with Buildout. ?Please > add a ticket, so that we can look into that issue. > > Product: All ZeOmega Operations (Dallas and Blore ) > Component: Buildout > > Regards, > Baiju M > From leela.vadlamudi at gmail.com Mon Mar 1 15:22:39 2010 From: leela.vadlamudi at gmail.com (leela vadlamudi) Date: Mon, 1 Mar 2010 19:52:39 +0530 Subject: [BangPypers] [JOB] Python programmers required Message-ID: <959452bf1003010622n44e4ae8y97f362e04052f3ac@mail.gmail.com> Hi, Global Analytics India has immediate requirements for experienced python programmers and web developers (preferably in Django). The openings are in Chennai. Please rush your cv to careers at global-analytics.com with position mentioned in the subject line. 2+ years of Python web developers with preference to Django framework. Experience in developing dynamic websites using DHTML, XML, CSS, JavaScript, Ajax. Working knowledge of Django/ Pylons/ Turbo gears or any Python web Frameworks. Django experience is an advantage. Knowledge of MySql & Apache is a must. Other skills: Experience in using Wordpress/Joomla or any CMS is a plus. *For python programmers* 1+ year experience working in Python, Django (preferred) & JavaScript. -Good Knowledge in Object oriented programming -Knowledge of multiple web frameworks (preferred). Thanks, Leela From orsenthil at gmail.com Tue Mar 2 01:18:47 2010 From: orsenthil at gmail.com (Senthil Kumaran) Date: Tue, 2 Mar 2010 05:48:47 +0530 Subject: [BangPypers] Buildout internal support In-Reply-To: References: Message-ID: <20100302001847.GA5949@ubuntu.ubuntu-domain> On Mon, Mar 01, 2010 at 04:28:46PM +0530, Baiju M wrote: > Sorry, wrong list :) Yeah, I wondered. If you are going to provide a corporate support to all Buildout issues. ( Not a bad idea tough, if you think about it :)) -- Senthil Semper Fi, dude. From mbaiju at zeomega.com Wed Mar 3 09:39:11 2010 From: mbaiju at zeomega.com (Baiju M) Date: Wed, 3 Mar 2010 14:09:11 +0530 Subject: [BangPypers] Benchmarking twisted: PyPy is up to 285% faster than CPython Message-ID: Looks interesting: http://morepypy.blogspot.com/2010/03/hello.html -- Baiju M From dhananjay.nene at gmail.com Wed Mar 3 12:06:10 2010 From: dhananjay.nene at gmail.com (Dhananjay Nene) Date: Wed, 3 Mar 2010 16:36:10 +0530 Subject: [BangPypers] Simple python database library Message-ID: Looking for a simple opensource python database library Objectives : - Should work at a level of abstraction above DB-Api. I should not have to change code generally except for changing database configuration parameters. - Should be able to write code independent of the database (except where the SQL itself was to be different in which case thats beyond the library's control) - Should support most reasonably popular databases (I am looking primarily for MySQL but at least Postgres, SQL Server and Oracle support will be useful) - Abstractions should be at a relational level. Thus any ORMs are out of scope. I have found ADODb for Python so far. Looking for additional recommendations. Thanks Dhananjay -- -------------------------------------------------------- blog: http://blog.dhananjaynene.com twitter: http://twitter.com/dnene From lawgon at au-kbc.org Wed Mar 3 12:14:16 2010 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Wed, 3 Mar 2010 16:44:16 +0530 Subject: [BangPypers] Simple python database library In-Reply-To: References: Message-ID: <201003031644.16866.lawgon@au-kbc.org> On Wednesday 03 Mar 2010 4:36:10 pm Dhananjay Nene wrote: > Looking for a simple opensource python database library > I was under the impression that python does not recommend a db library for all databases and rests content with giving a general spec which people can use for implementing particular libraries (like pyscopg for postgresql and mysqldb for mysql) -- regards Kenneth Gonsalves Senior Associate NRC-FOSS http://certificate.nrcfoss.au-kbc.org.in From dhananjay.nene at gmail.com Wed Mar 3 13:19:01 2010 From: dhananjay.nene at gmail.com (Dhananjay Nene) Date: Wed, 3 Mar 2010 17:49:01 +0530 Subject: [BangPypers] Simple python database library In-Reply-To: <201003031644.16866.lawgon@au-kbc.org> References: <201003031644.16866.lawgon@au-kbc.org> Message-ID: On Wed, Mar 3, 2010 at 4:44 PM, Kenneth Gonsalves wrote: > On Wednesday 03 Mar 2010 4:36:10 pm Dhananjay Nene wrote: > > Looking for a simple opensource python database library > > > I was under the impression that python does not recommend a db library for > all > databases and rests content with giving a general spec which people can use > for implementing particular libraries (like pyscopg for postgresql and > mysqldb > for mysql) > Python has a DB API spec which is implemented by different database vendors. However the spec is not implemented the same way by different driver authors leading to code having to change when switching to a different database. Precisely the reason why there is a space for someone to write a generic db library which can work through the differences across different drivers (ie. DB API implementations). Most ORMs such as SQLAlchemy and django already have such capabilities built in - but I am looking for a relatively thin library over DBAPI. I did find one such implementation in ADOdb which essentially wraps mysqldb or psygogb etc. Looking for more options if such exist. I am not unclear if at all what python recommending a db library would mean in this context. -- > regards > Kenneth Gonsalves > Senior Associate > NRC-FOSS > http://certificate.nrcfoss.au-kbc.org.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- -------------------------------------------------------- blog: http://blog.dhananjaynene.com twitter: http://twitter.com/dnene http://twitter.com/_pythonic From dhananjay.nene at gmail.com Wed Mar 3 13:20:08 2010 From: dhananjay.nene at gmail.com (Dhananjay Nene) Date: Wed, 3 Mar 2010 17:50:08 +0530 Subject: [BangPypers] Simple python database library In-Reply-To: References: <201003031644.16866.lawgon@au-kbc.org> Message-ID: On Wed, Mar 3, 2010 at 5:49 PM, Dhananjay Nene wrote: > On Wed, Mar 3, 2010 at 4:44 PM, Kenneth Gonsalves wrote: > >> On Wednesday 03 Mar 2010 4:36:10 pm Dhananjay Nene wrote: >> > Looking for a simple opensource python database library >> > >> I was under the impression that python does not recommend a db library for >> all >> databases and rests content with giving a general spec which people can >> use >> for implementing particular libraries (like pyscopg for postgresql and >> mysqldb >> for mysql) >> > > Python has a DB API spec which is implemented by different database > vendors. However the spec is not implemented the same way by different > driver authors leading to code having to change when switching to a > different database. Precisely the reason why there is a space for someone to > write a generic db library which can work through the differences across > different drivers (ie. DB API implementations). Most ORMs such as SQLAlchemy > and django already have such capabilities built in - but I am looking for a > relatively thin library over DBAPI. I did find one such implementation in > ADOdb which essentially wraps mysqldb or psygogb etc. Looking for more > options if such exist. > > I am not unclear if at all what python recommending a db library would mean > in this context. > I meant "I am *not clear* if at all ... " > -- >> >> regards >> Kenneth Gonsalves >> Senior Associate >> NRC-FOSS >> http://certificate.nrcfoss.au-kbc.org.in >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> > > > > -- > -------------------------------------------------------- > blog: http://blog.dhananjaynene.com > twitter: http://twitter.com/dnene http://twitter.com/_pythonic > From hiddenharmony at gmail.com Wed Mar 3 13:23:03 2010 From: hiddenharmony at gmail.com (Vivek Khurana) Date: Wed, 3 Mar 2010 17:53:03 +0530 Subject: [BangPypers] Simple python database library In-Reply-To: References: Message-ID: <91bea30d1003030423p7b90dcf0le86bd2a5ed2d8103@mail.gmail.com> On Wed, Mar 3, 2010 at 4:36 PM, Dhananjay Nene wrote: > Looking for a simple opensource python database library > > Objectives : > - Should work at a level of abstraction above DB-Api. I should not have to > change code generally except for changing database configuration > parameters. > - Should be able to write code independent of the database (except where the > SQL itself was to be different in which case thats beyond the library's > control) > - Should support most reasonably popular databases (I am looking primarily > for MySQL but at least Postgres, SQL Server and Oracle support will be > useful) > - Abstractions should be at a relational level. Thus any ORMs are out of > scope. > > I have found ADODb for Python so far. Looking for additional > recommendations. Look at sqlalchemy. It will satisfy all your requirements. regards Vivek -- The hidden harmony is better than the obvious!! From dhananjay.nene at gmail.com Wed Mar 3 13:25:43 2010 From: dhananjay.nene at gmail.com (Dhananjay Nene) Date: Wed, 3 Mar 2010 17:55:43 +0530 Subject: [BangPypers] Simple python database library In-Reply-To: <91bea30d1003030423p7b90dcf0le86bd2a5ed2d8103@mail.gmail.com> References: <91bea30d1003030423p7b90dcf0le86bd2a5ed2d8103@mail.gmail.com> Message-ID: On Wed, Mar 3, 2010 at 5:53 PM, Vivek Khurana wrote: > On Wed, Mar 3, 2010 at 4:36 PM, Dhananjay Nene > wrote: > > Looking for a simple opensource python database library > > > > Objectives : > > - Should work at a level of abstraction above DB-Api. I should not have > to > > change code generally except for changing database configuration > > parameters. > > - Should be able to write code independent of the database (except where > the > > SQL itself was to be different in which case thats beyond the library's > > control) > > - Should support most reasonably popular databases (I am looking > primarily > > for MySQL but at least Postgres, SQL Server and Oracle support will be > > useful) > > - Abstractions should be at a relational level. Thus any ORMs are out of > > scope. > > > > I have found ADODb for Python so far. Looking for additional > > recommendations. > > Look at sqlalchemy. It will satisfy all your requirements. > Am explicitly looking for lightweight libraries, not heavy weight ORM solutions. > > regards > Vivek > > -- > The hidden harmony is better than the obvious!! > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- -------------------------------------------------------- blog: http://blog.dhananjaynene.com twitter: http://twitter.com/dnene http://twitter.com/_pythonic From kausikram at gmail.com Wed Mar 3 13:30:12 2010 From: kausikram at gmail.com (kausikram krishnasayee) Date: Wed, 3 Mar 2010 18:00:12 +0530 Subject: [BangPypers] Simple python database library In-Reply-To: References: <91bea30d1003030423p7b90dcf0le86bd2a5ed2d8103@mail.gmail.com> Message-ID: <2597ddb91003030430s26959851p7cc58f3ea1e83a8c@mail.gmail.com> > > > Look at sqlalchemy. It will satisfy all your requirements. > > > > Am explicitly looking for lightweight libraries, not heavy weight ORM > solutions. there is a light weight library called Autumn, but again its ORM, but atleast its much lighter than alchemy. -- Kausikram Krishnasayee Company: http://silverstripesoftware.com | Webpage: kausikram.net | Blog: blog.kausikram.net | Twitter: http://twitter.com/kausikram | Email: kausikram at gmail.com | Mobile: +91 9884246490 From kausikram at gmail.com Wed Mar 3 13:30:56 2010 From: kausikram at gmail.com (kausikram krishnasayee) Date: Wed, 3 Mar 2010 18:00:56 +0530 Subject: [BangPypers] Simple python database library In-Reply-To: <2597ddb91003030430s26959851p7cc58f3ea1e83a8c@mail.gmail.com> References: <91bea30d1003030423p7b90dcf0le86bd2a5ed2d8103@mail.gmail.com> <2597ddb91003030430s26959851p7cc58f3ea1e83a8c@mail.gmail.com> Message-ID: <2597ddb91003030430n4b871532ub70b9917d0eb2ebd@mail.gmail.com> > > there is a light weight library called Autumn, but again its ORM, but > atleast its much lighter than alchemy. > http://autumn-orm.org/ -- Kausikram Krishnasayee Company: http://silverstripesoftware.com | Webpage: kausikram.net | Blog: blog.kausikram.net | Twitter: http://twitter.com/kausikram | Email: kausikram at gmail.com | Mobile: +91 9884246490 From srsy70 at gmail.com Wed Mar 3 13:39:40 2010 From: srsy70 at gmail.com (S.Ramaswamy) Date: Wed, 3 Mar 2010 18:09:40 +0530 Subject: [BangPypers] Simple python database library In-Reply-To: References: <91bea30d1003030423p7b90dcf0le86bd2a5ed2d8103@mail.gmail.com> Message-ID: > > Am explicitly looking for lightweight libraries, not heavy weight ORM > solutions. > > AntiORM: http://furius.ca/antiorm/ . Not sure if this an active project. Ramaswamy From abpillai at gmail.com Wed Mar 3 14:09:28 2010 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Wed, 3 Mar 2010 18:39:28 +0530 Subject: [BangPypers] Default settings modified Message-ID: <8548c5f31003030509i7a7d3468gd4a1285c36437571@mail.gmail.com> Spammers are targeting our list of late. The last couple of days I have had to discard spam messages at the rate of 3-4 per day directed to the list. The default setting for non-member postings was hold. However due to the increase in SPAM, I have changed this to reject. So, please be aware that from today, if you post to list from your non-member email address, it will be rejected, i.e bounce back to you. Will keep these settings for a while till the spam menace decreases and then revert to hold later. Thanks -- --Anand From steve at lonetwin.net Wed Mar 3 14:21:56 2010 From: steve at lonetwin.net (steve) Date: Wed, 03 Mar 2010 18:51:56 +0530 Subject: [BangPypers] Simple python database library In-Reply-To: References: Message-ID: <4B8E6274.2030101@lonetwin.net> Hi, On 03/03/2010 04:36 PM, Dhananjay Nene wrote: > Looking for a simple opensource python database library > > Objectives : > - Should work at a level of abstraction above DB-Api. I should not have to > change code generally except for changing database configuration > parameters. > - Should be able to write code independent of the database (except where the > SQL itself was to be different in which case thats beyond the library's > control) > - Should support most reasonably popular databases (I am looking primarily > for MySQL but at least Postgres, SQL Server and Oracle support will be > useful) All of that is available in popular ORMs. I prefer SQLObject to SQLAlchemy. Could you elaborate a bit on why an ORM would not be suitable ? > - Abstractions should be at a relational level. Thus any ORMs are out of > scope. > ehe .. ORM == Object /Relational/ Mapper. What do you mean by "Abstractions should be at a relational level" ? > I have found ADODb for Python so far. Looking for additional > recommendations. > anydbm ? ( http://docs.python.org/library/anydbm.html ), of course that though is not relational. A quick google OTOH gives me this: http://wiki.python.org/moin/DbApiModuleComparison Also, the little that i read online, I see that at least in theory all python DBI should follow: http://www.python.org/dev/peps/pep-0249/ ...which if is also true in practice takes care of concerns you might have about cross DB API. cheers, - steve -- random non tech spiel: http://lonetwin.blogspot.com/ tech randomness: http://lonehacks.blogspot.com/ what i'm stumbling into: http://lonetwin.stumbleupon.com/ From dhananjay.nene at gmail.com Wed Mar 3 15:05:42 2010 From: dhananjay.nene at gmail.com (Dhananjay Nene) Date: Wed, 3 Mar 2010 19:35:42 +0530 Subject: [BangPypers] Simple python database library In-Reply-To: <4B8E6274.2030101@lonetwin.net> References: <4B8E6274.2030101@lonetwin.net> Message-ID: Hi, On Wed, Mar 3, 2010 at 6:51 PM, steve wrote: > Hi, > > On 03/03/2010 04:36 PM, Dhananjay Nene wrote: > >> Looking for a simple opensource python database library >> >> Objectives : >> - Should work at a level of abstraction above DB-Api. I should not have to >> change code generally except for changing database configuration >> parameters. >> - Should be able to write code independent of the database (except where >> the >> SQL itself was to be different in which case thats beyond the library's >> control) >> - Should support most reasonably popular databases (I am looking primarily >> for MySQL but at least Postgres, SQL Server and Oracle support will be >> useful) >> > > All of that is available in popular ORMs. I prefer SQLObject to SQLAlchemy. > Could you elaborate a bit on why an ORM would not be suitable ? I need to build some simple relational database access over 2-3 tables in a utility program. While it is quite solvable through ORM, the fairly limited scope and nature of database access does not require the capabilities of a full blown ORM. I use SQLAlchemy in my day job and I like it. Its just that I wouldn't want to introduce a dependency on a much bigger toolset especially when a smaller one could suffice. > > - Abstractions should be at a relational level. Thus any ORMs are out of >> scope. >> >> ehe .. ORM == Object /Relational/ Mapper. What do you mean by > "Abstractions should be at a relational level" ? I meant the API should reflect cursors, sqlcommands etc (not objects, relationships, inheritance etc.). Having said that I realise "at a relational level" was not the most appropriate wording. > > I have found ADODb for Python so far. Looking for additional >> recommendations. >> >> anydbm ? ( http://docs.python.org/library/anydbm.html ), of course that > though is not relational. > Thanks for the tip. It got me thinking whether I could just choose to use it instead. Thats still a thought under progress. > > A quick google OTOH gives me this: > > http://wiki.python.org/moin/DbApiModuleComparison > > > Also, the little that i read online, I see that at least in theory all > python DBI should follow: http://www.python.org/dev/peps/pep-0249/ > > ...which if is also true in practice takes care of concerns you might have > about cross DB API. > Thats not how I have seen it work. For example mysql prepared sql uses "%s" whereas others use "?". The database connection parameters are actually different between different databases. SQLAlchemy works with and deals with these issues. For example it has separate derived classes per database to handle some of these variations. Also it uses a connection URI to skip over the differences in the connection parameter differences. (The URI is always a string - even if the string itself is composed quite differently .. thus the code which uses the URI doesn't have to change even when the connection parameters change). So essentially what I am looking for (being the lazy person I am) is if someone has done this hard work of abstracting away the database dbapi implementation differences :) > > cheers, > - steve > > -- > random non tech spiel: http://lonetwin.blogspot.com/ > tech randomness: http://lonehacks.blogspot.com/ > what i'm stumbling into: http://lonetwin.stumbleupon.com/ > Thanks Dhananjay -- -------------------------------------------------------- blog: http://blog.dhananjaynene.com twitter: http://twitter.com/dnene http://twitter.com/_pythonic From shivraj.ms at gmail.com Wed Mar 3 15:31:15 2010 From: shivraj.ms at gmail.com (Shivaraj M S) Date: Wed, 3 Mar 2010 06:31:15 -0800 (PST) Subject: [BangPypers] Calling Python script from C++. In-Reply-To: <4B87900F.6020305@lonetwin.net> References: <4B87900F.6020305@lonetwin.net> Message-ID: <27768904.post@talk.nabble.com> if this thread is still active - instead of passing the argument , probably the argument can be extracted from a temporary file/buffer. a small code can be inserted to the python code sent as argument to PyRun_SimpleString() to read it. steve-391 wrote: > > Hi, > > On 02/25/2010 07:32 PM, lakshmi.chowdam at bt.com wrote: >> Hi Zubin, >> >> [...snip...] >> In the function definition, I am taking 1 hard coded variable and needs >> to pass this variable along with the string(python code) to >> PyRun_SimpleString() and execute it. >> >> Could you tell me the solution how to map the argument to the >> string(python code) and pass to PyRun_SimpleString() and execute >> successfully? >> > > Is there any specific reason you choose to read the entire file and > execute it > using PyRun_SimpleString() as opposed to the more traditional and standard > methods of using fork()+exec*() or system() functions ? > > cheers, > - steve > > -- > random non tech spiel: http://lonetwin.blogspot.com/ > tech randomness: http://lonehacks.blogspot.com/ > what i'm stumbling into: http://lonetwin.stumbleupon.com/ > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- View this message in context: http://old.nabble.com/Re%3A-Calling-Python-script-from-C%2B%2B.-tp27715952p27768904.html Sent from the BangPypers - Bangalore Python Users Group mailing list archive at Nabble.com. From noufal at gmail.com Thu Mar 4 03:38:45 2010 From: noufal at gmail.com (Noufal Ibrahim) Date: Thu, 4 Mar 2010 08:08:45 +0530 Subject: [BangPypers] Simple python database library In-Reply-To: References: <4B8E6274.2030101@lonetwin.net> Message-ID: <9963e56e1003031838v65d6ca8agc0042fdee4b10147@mail.gmail.com> You could use the sql builder component of sql alchemy and skip the orm part. The web.db part of web.py might work as well. On 3/3/10, Dhananjay Nene wrote: > Hi, > > On Wed, Mar 3, 2010 at 6:51 PM, steve wrote: > >> Hi, >> >> On 03/03/2010 04:36 PM, Dhananjay Nene wrote: >> >>> Looking for a simple opensource python database library >>> >>> Objectives : >>> - Should work at a level of abstraction above DB-Api. I should not have >>> to >>> change code generally except for changing database configuration >>> parameters. >>> - Should be able to write code independent of the database (except where >>> the >>> SQL itself was to be different in which case thats beyond the library's >>> control) >>> - Should support most reasonably popular databases (I am looking >>> primarily >>> for MySQL but at least Postgres, SQL Server and Oracle support will be >>> useful) >>> >> >> All of that is available in popular ORMs. I prefer SQLObject to >> SQLAlchemy. >> Could you elaborate a bit on why an ORM would not be suitable ? > > > I need to build some simple relational database access over 2-3 tables in a > utility program. While it is quite solvable through ORM, the fairly limited > scope and nature of database access does not require the capabilities of a > full blown ORM. I use SQLAlchemy in my day job and I like it. Its just that > I wouldn't want to introduce a dependency on a much bigger toolset > especially when a smaller one could suffice. > > >> >> - Abstractions should be at a relational level. Thus any ORMs are out of >>> scope. >>> >>> ehe .. ORM == Object /Relational/ Mapper. What do you mean by >> "Abstractions should be at a relational level" ? > > > I meant the API should reflect cursors, sqlcommands etc (not objects, > relationships, inheritance etc.). Having said that I realise "at a > relational level" was not the most appropriate wording. > > >> >> I have found ADODb for Python so far. Looking for additional >>> recommendations. >>> >>> anydbm ? ( http://docs.python.org/library/anydbm.html ), of course that >> though is not relational. >> > > Thanks for the tip. It got me thinking whether I could just choose to use it > instead. Thats still a thought under progress. > > >> >> A quick google OTOH gives me this: >> >> http://wiki.python.org/moin/DbApiModuleComparison > > > >> >> >> Also, the little that i read online, I see that at least in theory all >> python DBI should follow: http://www.python.org/dev/peps/pep-0249/ >> >> ...which if is also true in practice takes care of concerns you might have >> about cross DB API. >> > > Thats not how I have seen it work. For example mysql prepared sql uses "%s" > whereas others use "?". The database connection parameters are actually > different between different databases. SQLAlchemy works with and deals with > these issues. For example it has separate derived classes per database to > handle some of these variations. Also it uses a connection URI to skip over > the differences in the connection parameter differences. (The URI is always > a string - even if the string itself is composed quite differently .. thus > the code which uses the URI doesn't have to change even when the connection > parameters change). So essentially what I am looking for (being the lazy > person I am) is if someone has done this hard work of abstracting away the > database dbapi implementation differences :) > >> >> cheers, >> - steve >> >> -- >> random non tech spiel: http://lonetwin.blogspot.com/ >> tech randomness: http://lonehacks.blogspot.com/ >> what i'm stumbling into: http://lonetwin.stumbleupon.com/ >> > > Thanks > Dhananjay > > -- > -------------------------------------------------------- > blog: http://blog.dhananjaynene.com > twitter: http://twitter.com/dnene http://twitter.com/_pythonic > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Sent from my mobile device ~noufal http://nibrahim.net.in From codeshepherd at gmail.com Wed Mar 3 17:42:46 2010 From: codeshepherd at gmail.com (Deepan Chakravarthy) Date: Wed, 3 Mar 2010 22:12:46 +0530 Subject: [BangPypers] facebook developer garage invitation Message-ID: Hey Guys, We are organizing facebook developer garage at Jaaga, Richmond Town on 7th March. I have attached an invitation. It would be great if you can forward it to your colleagues and if possible display a printed copy at the notice board in your office. More Details ============== When: 3pm, Sunday, 7th March 2010 Where: Jaaga (Near Richmond Circle) Directions: http://jaaga.wikidot.com/contact Admission: Free Agenda: 1. Introduction to Facebook Developers Group 2. Basics of creating a Facebook app by Prateek Dayal 3. Networking For any questions, contact Deepan @ 9945702482 Also find us here Facebook: http://www.facebook.com/group.php?gid=292286422291 Twitter: https://twitter.com/blr_facebook Regards Deepan +91 9945702482 http://www.hashcube.com http://twitter.com/codeshepherd From lgp171188 at gmail.com Thu Mar 4 11:21:47 2010 From: lgp171188 at gmail.com (L.Guruprasad) Date: Thu, 04 Mar 2010 15:51:47 +0530 Subject: [BangPypers] Simple python database library In-Reply-To: References: <4B8E6274.2030101@lonetwin.net> Message-ID: <4B8F89BB.3050000@gmail.com> Hi, Dhananjay Nene wrote: > I need to build some simple relational database access over 2-3 tables in a > utility program. While it is quite solvable through ORM, the fairly limited > scope and nature of database access does not require the capabilities of a > full blown ORM. I use SQLAlchemy in my day job and I like it. Its just that > I wouldn't want to introduce a dependency on a much bigger toolset > especially when a smaller one could suffice. One more lightweight database library - Storm (storm.canonical.net) but it is ORM. It is lightweight when compared to SQLAlchemy. Regards, Guruprasad From lgp171188 at gmail.com Thu Mar 4 11:23:48 2010 From: lgp171188 at gmail.com (L.Guruprasad) Date: Thu, 04 Mar 2010 15:53:48 +0530 Subject: [BangPypers] Simple python database library In-Reply-To: <4B8F89BB.3050000@gmail.com> References: <4B8E6274.2030101@lonetwin.net> <4B8F89BB.3050000@gmail.com> Message-ID: <4B8F8A34.9070301@gmail.com> Hi, L.Guruprasad wrote: > Dhananjay Nene wrote: > One more lightweight database library - Storm (storm.canonical.net) but Oops, the correct URL for the project is storm.canonical.com Regards, Guruprasad From leela.vadlamudi at gmail.com Thu Mar 4 13:49:27 2010 From: leela.vadlamudi at gmail.com (leela vadlamudi) Date: Thu, 4 Mar 2010 18:19:27 +0530 Subject: [BangPypers] [JOB] Python programmers required In-Reply-To: <959452bf1003010622n44e4ae8y97f362e04052f3ac@mail.gmail.com> References: <959452bf1003010622n44e4ae8y97f362e04052f3ac@mail.gmail.com> Message-ID: <959452bf1003040449r47019560r7b9f2fde01968195@mail.gmail.com> Hi, We have interviews scheduled this weekend (Mar 6th, and possibly on 7th) in Chennai at our office (please find the address on www.global-analytics.com) and in Bangalore on Mar 13th and 14th. (Venue to be intimated later). On Mon, Mar 1, 2010 at 7:52 PM, leela vadlamudi wrote: > > > Hi, > > Global Analytics India has immediate requirements for experienced python > programmers and web developers (preferably in Django). > > The openings are in Chennai. Please rush your cv to > careers at global-analytics.com with position mentioned in the subject line. > > > 2+ years of Python web developers with preference to Django framework. > Experience in developing dynamic websites using DHTML, XML, CSS, > JavaScript, Ajax. > Working knowledge of Django/ Pylons/ Turbo gears or any Python web > Frameworks. > Django experience is an advantage. > Knowledge of MySql & Apache is a must. > Other skills: Experience in using Wordpress/Joomla or any CMS is a plus. > > *For python programmers* > > 1+ year experience working in Python, Django (preferred) & JavaScript. > -Good Knowledge in Object oriented programming > -Knowledge of multiple web frameworks (preferred). > > Thanks, > Leela From pradeep at btbytes.com Thu Mar 4 14:21:59 2010 From: pradeep at btbytes.com (Pradeep Gowda) Date: Thu, 4 Mar 2010 08:21:59 -0500 Subject: [BangPypers] Simple python database library In-Reply-To: <9963e56e1003031838v65d6ca8agc0042fdee4b10147@mail.gmail.com> References: <4B8E6274.2030101@lonetwin.net> <9963e56e1003031838v65d6ca8agc0042fdee4b10147@mail.gmail.com> Message-ID: <3e3294b71003040521v43cc3482h257ffc468393beb5@mail.gmail.com> On Wed, Mar 3, 2010 at 9:38 PM, Noufal Ibrahim wrote: > You could use the sql builder component of sql alchemy and skip the > orm part. The web.db part of web.py might work as well. +1 for web.py Having used web.py for data munging tasks, I think that web.db is a step up from writing raw sql without going the whole hog towards ORMs. +PG From abpillai at gmail.com Thu Mar 4 14:24:45 2010 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Thu, 4 Mar 2010 18:54:45 +0530 Subject: [BangPypers] Simple python database library In-Reply-To: <4B8F89BB.3050000@gmail.com> References: <4B8E6274.2030101@lonetwin.net> <4B8F89BB.3050000@gmail.com> Message-ID: <8548c5f31003040524x313414e5j1081078d3b687241@mail.gmail.com> On Thu, Mar 4, 2010 at 3:51 PM, L.Guruprasad wrote: > Hi, > > Dhananjay Nene wrote: > > I need to build some simple relational database access over 2-3 tables in > a > > utility program. While it is quite solvable through ORM, the fairly > limited > > scope and nature of database access does not require the capabilities of > a > > full blown ORM. I use SQLAlchemy in my day job and I like it. Its just > that > > I wouldn't want to introduce a dependency on a much bigger toolset > > especially when a smaller one could suffice. > Write your own :) Always my choice in these cases. > > > -- --Anand From manikandank at tce.edu Thu Mar 4 14:49:35 2010 From: manikandank at tce.edu (K.Manikandan) Date: Thu, 4 Mar 2010 19:19:35 +0530 Subject: [BangPypers] Session sharing within a domain using cookies In-Reply-To: <8548c5f31003040524x313414e5j1081078d3b687241@mail.gmail.com> References: <4B8E6274.2030101@lonetwin.net> <4B8F89BB.3050000@gmail.com> <8548c5f31003040524x313414e5j1081078d3b687241@mail.gmail.com> Message-ID: <319b48146cd14afb3b9269a1277c4cf4.squirrel@mail.tce.edu> Hi all. We have created two web applications within the a single domain. We are using mod_python cookies. And I have set the cookies with domain as the main domain. Now, I am unable to access the cookie that I had set in one application from the other. What things, other than setting the domain of the cookie should be done so as to enable the access of a cookie of one application from another ? Regards, Manikandan K ----------------------------------------- This email was sent using TCEMail Service. Thiagarajar College of Engineering Madurai-625 015, India From noufal at gmail.com Fri Mar 5 03:21:00 2010 From: noufal at gmail.com (Noufal Ibrahim) Date: Fri, 5 Mar 2010 07:51:00 +0530 Subject: [BangPypers] Feb user group meeting In-Reply-To: References: <9963e56e1002230705s77fe2015s6d1fcd0e4bea15bc@mail.gmail.com> <3d62196a1002230734oad0607fx35e153388f2ed9be@mail.gmail.com> Message-ID: <9963e56e1003041821r11a17e3alebd66b87bc5356cf@mail.gmail.com> On Tue, Feb 23, 2010 at 9:34 PM, Baiju M wrote: > On Tue, Feb 23, 2010 at 9:04 PM, Arvind Jamuna Dixit wrote: >> On Tue, Feb 23, 2010 at 8:35 PM, Noufal Ibrahim wrote: >> >>> If that's fine, we can do 2 >>> meetings in March (one which is the postponed Feb meeting) and the >>> other the actual March talk. >>> >> Yeah, I am fine with two meetings in March. > > +1 > > I also will be available next weekend, but I would prefer Sunday (March 7). >[..] Shall we meet on March 7? It's a little short notice. I can give a quick update about PyCon Atlanta and we can lay the plans for our own event later this year. We're already late. The whole thing should take about 40 minutes. I'd recommend that everyone interested in being part of PyCon India attend. The folks from Chennai are keen on holding it there but some of the general matters like sponsorships etc. will be venue agnostic so a discussion will not be entirely fruitless. After that, we're open, anyone with ideas on stuff to speak about? I spent the sprint days with the packaging people (Tarek and company) so I have some idea on what's going on there. I could speak on that. The state of packaging in Python is a bit of mess and it needs help. Thanks. -- ~noufal http://nibrahim.net.in From mbaiju at zeomega.com Fri Mar 5 03:31:24 2010 From: mbaiju at zeomega.com (Baiju M) Date: Fri, 5 Mar 2010 08:01:24 +0530 Subject: [BangPypers] Feb user group meeting In-Reply-To: <9963e56e1003041821r11a17e3alebd66b87bc5356cf@mail.gmail.com> References: <9963e56e1002230705s77fe2015s6d1fcd0e4bea15bc@mail.gmail.com> <3d62196a1002230734oad0607fx35e153388f2ed9be@mail.gmail.com> <9963e56e1003041821r11a17e3alebd66b87bc5356cf@mail.gmail.com> Message-ID: On Fri, Mar 5, 2010 at 7:51 AM, Noufal Ibrahim wrote: > Shall we meet on March 7? It's a little short notice. I can give a > quick update about PyCon Atlanta and we can lay the plans for our own > event later this year. We're already late. The whole thing should take > about 40 minutes. I'd recommend that everyone interested in being part > of PyCon India attend. The folks from Chennai are keen on holding it > there but some of the general matters like sponsorships etc. will be > venue agnostic so a discussion will not be entirely fruitless. +1 > After that, we're open, anyone with ideas on stuff to speak about? I > spent the sprint days with the packaging people (Tarek and company) so > I have some idea on what's going on there. I could speak on that. The > state of packaging in Python is a bit of ?mess and it needs help. I would like to hear about that. Regards, Baiju M From noufal at gmail.com Fri Mar 5 06:03:16 2010 From: noufal at gmail.com (Noufal Ibrahim) Date: Fri, 5 Mar 2010 10:33:16 +0530 Subject: [BangPypers] Feb user group meeting In-Reply-To: References: <9963e56e1002230705s77fe2015s6d1fcd0e4bea15bc@mail.gmail.com> <3d62196a1002230734oad0607fx35e153388f2ed9be@mail.gmail.com> <9963e56e1003041821r11a17e3alebd66b87bc5356cf@mail.gmail.com> Message-ID: <9963e56e1003042103y20da81d3paf9774e62544fa0b@mail.gmail.com> On Fri, Mar 5, 2010 at 8:01 AM, Baiju M wrote: > On Fri, Mar 5, 2010 at 7:51 AM, Noufal Ibrahim wrote: >> Shall we meet on March 7? It's a little short notice. I can give a >> quick update about PyCon Atlanta and we can lay the plans for our own >> event later this year. We're already late. The whole thing should take >> about 40 minutes. I'd recommend that everyone interested in being part >> of PyCon India attend. The folks from Chennai are keen on holding it >> there but some of the general matters like sponsorships etc. will be >> venue agnostic so a discussion will not be entirely fruitless. > > +1 > >> After that, we're open, anyone with ideas on stuff to speak about? I >> spent the sprint days with the packaging people (Tarek and company) so >> I have some idea on what's going on there. I could speak on that. The >> state of packaging in Python is a bit of ?mess and it needs help. > > I would like to hear about that.[..] It would be boring with just you and me. Anyone else? :) Is TW available as a venue? -- ~noufal http://nibrahim.net.in From ardsrk at gmail.com Fri Mar 5 06:20:41 2010 From: ardsrk at gmail.com (Arvind Jamuna Dixit) Date: Fri, 5 Mar 2010 10:50:41 +0530 Subject: [BangPypers] Feb user group meeting In-Reply-To: <9963e56e1003042103y20da81d3paf9774e62544fa0b@mail.gmail.com> References: <9963e56e1002230705s77fe2015s6d1fcd0e4bea15bc@mail.gmail.com> <3d62196a1002230734oad0607fx35e153388f2ed9be@mail.gmail.com> <9963e56e1003041821r11a17e3alebd66b87bc5356cf@mail.gmail.com> <9963e56e1003042103y20da81d3paf9774e62544fa0b@mail.gmail.com> Message-ID: <3d62196a1003042120w463c4b25j874a6340094e0b33@mail.gmail.com> On Fri, Mar 5, 2010 at 10:33 AM, Noufal Ibrahim wrote: > Anyone else? I will be there too. -- Arvind From srinivasachari2000 at gmail.com Fri Mar 5 06:36:03 2010 From: srinivasachari2000 at gmail.com (Srinivasachari) Date: Fri, 5 Mar 2010 11:06:03 +0530 Subject: [BangPypers] Feb user group meeting In-Reply-To: <3d62196a1003042120w463c4b25j874a6340094e0b33@mail.gmail.com> References: <9963e56e1002230705s77fe2015s6d1fcd0e4bea15bc@mail.gmail.com> <3d62196a1002230734oad0607fx35e153388f2ed9be@mail.gmail.com> <9963e56e1003041821r11a17e3alebd66b87bc5356cf@mail.gmail.com> <9963e56e1003042103y20da81d3paf9774e62544fa0b@mail.gmail.com> <3d62196a1003042120w463c4b25j874a6340094e0b33@mail.gmail.com> Message-ID: <65da62241003042136r2332c410w2a2e4936a77ad8db@mail.gmail.com> +1 Regards, Srinivasachari. On 5 March 2010 10:50, Arvind Jamuna Dixit wrote: > On Fri, Mar 5, 2010 at 10:33 AM, Noufal Ibrahim wrote: > > > Anyone else? > > > I will be there too. > > -- > Arvind > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From karikrishni at gmail.com Fri Mar 5 07:01:47 2010 From: karikrishni at gmail.com (Gopalakrishnan S) Date: Fri, 5 Mar 2010 11:31:47 +0530 Subject: [BangPypers] Feb user group meeting In-Reply-To: <65da62241003042136r2332c410w2a2e4936a77ad8db@mail.gmail.com> References: <9963e56e1002230705s77fe2015s6d1fcd0e4bea15bc@mail.gmail.com> <3d62196a1002230734oad0607fx35e153388f2ed9be@mail.gmail.com> <9963e56e1003041821r11a17e3alebd66b87bc5356cf@mail.gmail.com> <9963e56e1003042103y20da81d3paf9774e62544fa0b@mail.gmail.com> <3d62196a1003042120w463c4b25j874a6340094e0b33@mail.gmail.com> <65da62241003042136r2332c410w2a2e4936a77ad8db@mail.gmail.com> Message-ID: +1. I would like to attend the meeting/discussion. May I know the venue and timing? I am attending this for first time. My number: 9886991146. I reside in JP Nagar 7th Phase. Regards, Krish On Fri, Mar 5, 2010 at 11:06 AM, Srinivasachari < srinivasachari2000 at gmail.com> wrote: > +1 > > Regards, > Srinivasachari. > > > On 5 March 2010 10:50, Arvind Jamuna Dixit wrote: > > > On Fri, Mar 5, 2010 at 10:33 AM, Noufal Ibrahim > wrote: > > > > > Anyone else? > > > > > > I will be there too. > > > > -- > > Arvind > > _______________________________________________ > > 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 dhananjay.nene at gmail.com Fri Mar 5 08:19:14 2010 From: dhananjay.nene at gmail.com (Dhananjay Nene) Date: Fri, 5 Mar 2010 12:49:14 +0530 Subject: [BangPypers] Simple python database library In-Reply-To: <8548c5f31003040524x313414e5j1081078d3b687241@mail.gmail.com> References: <4B8E6274.2030101@lonetwin.net> <4B8F89BB.3050000@gmail.com> <8548c5f31003040524x313414e5j1081078d3b687241@mail.gmail.com> Message-ID: I've decided to go ahead with SQLAlchemy even though that was not my favourite. FWIW I'm just documenting my thoughts : Cons : Why I would've not preferred SQL Alchemy a. Dependency into a large full function package like sqlalchemy which just does a ton of stuff. I didn't need a ton of features .. just needed something basic. b. I was looking for something that worked at a ODBC/JDBC level abstraction. Python DBAPI is actually a good candidate but for the fact it doesn't really work cross database Pros : Why I decided to go ahead with SQLAlchemy a. Already use it. So am familiar with it. b. It is just too slick and polished a product. c. It does offer relational abstractions. eg. Table (even though the default, most often used mechanism is with model objects). The entire model layer I really am not interested in, but SQLAlchemy does give me the abstractions for table, connections etc. d. Did not find a widely used competing candidate. Just not sure how widely used and thus regularly tested adodb for python is - though did not have any specific qualms against that particular package. Thanks for all the suggestions. I evaluated them all and the suggestions were very helpful fodder for the process. -- -------------------------------------------------------- blog: http://blog.dhananjaynene.com twitter: http://twitter.com/dnene From hiddenharmony at gmail.com Fri Mar 5 09:55:39 2010 From: hiddenharmony at gmail.com (Vivek Khurana) Date: Fri, 5 Mar 2010 14:25:39 +0530 Subject: [BangPypers] Simple python database library In-Reply-To: References: <4B8E6274.2030101@lonetwin.net> <4B8F89BB.3050000@gmail.com> <8548c5f31003040524x313414e5j1081078d3b687241@mail.gmail.com> Message-ID: <91bea30d1003050055l5f22f8f2ted22bc2f71c49c77@mail.gmail.com> On Fri, Mar 5, 2010 at 12:49 PM, Dhananjay Nene wrote: > I've decided to go ahead with SQLAlchemy even though that was not my > favourite. FWIW I'm just documenting my thoughts : > > Cons : Why I would've not preferred SQL Alchemy > a. Dependency into a large full function package like sqlalchemy which just > does a ton of stuff. I didn't need a ton of features .. just needed > something basic. SQLAlchemy allows you to use only specific components. You can use db abstraction while not using ORM at all. So, you still have the freedom to use the basics that you need, while never bothering to learn the advance stuff :) regards Vivek -- The hidden harmony is better than the obvious!! From noufal at gmail.com Fri Mar 5 10:44:39 2010 From: noufal at gmail.com (Noufal Ibrahim) Date: Fri, 5 Mar 2010 15:14:39 +0530 Subject: [BangPypers] Simple python database library In-Reply-To: <91bea30d1003050055l5f22f8f2ted22bc2f71c49c77@mail.gmail.com> References: <4B8E6274.2030101@lonetwin.net> <4B8F89BB.3050000@gmail.com> <8548c5f31003040524x313414e5j1081078d3b687241@mail.gmail.com> <91bea30d1003050055l5f22f8f2ted22bc2f71c49c77@mail.gmail.com> Message-ID: <9963e56e1003050144l7f8f83d3v8369be84e390afd3@mail.gmail.com> On Fri, Mar 5, 2010 at 2:25 PM, Vivek Khurana wrote: > On Fri, Mar 5, 2010 at 12:49 PM, Dhananjay Nene > wrote: >> I've decided to go ahead with SQLAlchemy even though that was not my >> favourite. FWIW I'm just documenting my thoughts : >> >> Cons : Why I would've not preferred SQL Alchemy >> a. Dependency into a large full function package like sqlalchemy which just >> does a ton of stuff. I didn't need a ton of features .. just needed >> something basic. > > ?SQLAlchemy allows you to use only specific components. You can use db > abstraction while not using ORM at all. So, you still have the freedom > to use the basics that you need, while never bothering to learn the > advance stuff :)[..] Are there any real harcode SQLAlchemy people here on the group? A talk on the ORM would be much appreciated I'm sure. -- ~noufal http://nibrahim.net.in From dhananjay.nene at gmail.com Fri Mar 5 10:52:12 2010 From: dhananjay.nene at gmail.com (Dhananjay Nene) Date: Fri, 5 Mar 2010 15:22:12 +0530 Subject: [BangPypers] Simple python database library In-Reply-To: <9963e56e1003050144l7f8f83d3v8369be84e390afd3@mail.gmail.com> References: <4B8E6274.2030101@lonetwin.net> <4B8F89BB.3050000@gmail.com> <8548c5f31003040524x313414e5j1081078d3b687241@mail.gmail.com> <91bea30d1003050055l5f22f8f2ted22bc2f71c49c77@mail.gmail.com> <9963e56e1003050144l7f8f83d3v8369be84e390afd3@mail.gmail.com> Message-ID: On Fri, Mar 5, 2010 at 3:14 PM, Noufal Ibrahim wrote: > > > > Are there any real harcode SQLAlchemy people here on the group? A talk > on the ORM would be much appreciated I'm sure. > > > I might add that I've worked with ORMs almost regularly since 1996 in C++, Java and Python. SQLAlchemy has probably been the most successful ORM I have seen which has managed to retain the balance between relational and object paradigms (almost everyone else completely throws in the towel towards providing an object API around database access). However as a result it takes a little bit more time to learn. If one wants a finer control on the relational side even while requiring a good object API, look no further than SQLAlchemy. > -- > ~noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- -------------------------------------------------------- blog: http://blog.dhananjaynene.com twitter: http://twitter.com/dnene http://twitter.com/_pythonic From lawgon at au-kbc.org Fri Mar 5 11:07:40 2010 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Fri, 5 Mar 2010 15:37:40 +0530 Subject: [BangPypers] Simple python database library In-Reply-To: References: <9963e56e1003050144l7f8f83d3v8369be84e390afd3@mail.gmail.com> Message-ID: <201003051537.40964.lawgon@au-kbc.org> On Friday 05 Mar 2010 3:22:12 pm Dhananjay Nene wrote: > > I might add that I've worked with ORMs almost regularly since 1996 in > > C++, > > Java and Python. SQLAlchemy has probably been the most successful ORM I > have seen which has managed to retain the balance between relational and > object paradigms (almost everyone else completely throws in the towel > towards providing an object API around database access). > what about django's orm? -- regards Kenneth Gonsalves Senior Associate NRC-FOSS http://certificate.nrcfoss.au-kbc.org.in From noufal at gmail.com Fri Mar 5 11:28:13 2010 From: noufal at gmail.com (Noufal Ibrahim) Date: Fri, 5 Mar 2010 15:58:13 +0530 Subject: [BangPypers] Simple python database library In-Reply-To: <201003051537.40964.lawgon@au-kbc.org> References: <9963e56e1003050144l7f8f83d3v8369be84e390afd3@mail.gmail.com> <201003051537.40964.lawgon@au-kbc.org> Message-ID: <9963e56e1003050228x57c33d7as5bb0e758694c56ff@mail.gmail.com> On Fri, Mar 5, 2010 at 3:37 PM, Kenneth Gonsalves wrote: > On Friday 05 Mar 2010 3:22:12 pm Dhananjay Nene wrote: >> > I might add that I've worked with ORMs almost regularly since 1996 in >> > C++, >> >> Java and Python. SQLAlchemy has probably been the most successful ORM I >> ?have seen which has managed to retain the balance between relational and >> ?object paradigms (almost everyone else completely throws in the towel >> ?towards providing an object API around database access). >> > > what about django's orm? I don't expect that it will hold a candle to SQLAlchemy No composite primary key support - http://code.djangoproject.com/ticket/373 is the first thing that comes to mind (and one of SQLAlchemy's killer features). I don't think it follows a data mapper pattern. I'm not sure how much reflection it can do. Also, it's 'part' of a larger project so manpower will be limited as opposed to SQLAlchemy. I believe there are projects that are trying to stitch in SQLAlchemy into Django but I haven't really used the framework so I'm not sure. -- ~noufal http://nibrahim.net.in From steve at lonetwin.net Fri Mar 5 11:29:44 2010 From: steve at lonetwin.net (steve) Date: Fri, 05 Mar 2010 15:59:44 +0530 Subject: [BangPypers] Simple python database library In-Reply-To: <201003051537.40964.lawgon@au-kbc.org> References: <9963e56e1003050144l7f8f83d3v8369be84e390afd3@mail.gmail.com> <201003051537.40964.lawgon@au-kbc.org> Message-ID: <4B90DD18.8000803@lonetwin.net> On 03/05/2010 03:37 PM, Kenneth Gonsalves wrote: > On Friday 05 Mar 2010 3:22:12 pm Dhananjay Nene wrote: >> > I might add that I've worked with ORMs almost regularly since 1996 in >> > C++, >> >> Java and Python. SQLAlchemy has probably been the most successful ORM I >> have seen which has managed to retain the balance between relational and >> object paradigms (almost everyone else completely throws in the towel >> towards providing an object API around database access). >> > > what about django's orm? or SQLObject for that matter. I personally prefer SQLObject because it comes across as being more pythonic than SQLAlchemy, of course YMMV. Dhananjay: I know you've already made up your mind on what to use but I just wanted to put this in sideways because it is so awesome (for some apps) -- the granddaddy of all db-object abstractions -- http://docs.zope.org/zodb/ Maybe not what you currently need but certainly something useful. cheers, - steve -- random non tech spiel: http://lonetwin.blogspot.com/ tech randomness: http://lonehacks.blogspot.com/ what i'm stumbling into: http://lonetwin.stumbleupon.com/ From dhananjay.nene at gmail.com Fri Mar 5 11:59:43 2010 From: dhananjay.nene at gmail.com (Dhananjay Nene) Date: Fri, 5 Mar 2010 16:29:43 +0530 Subject: [BangPypers] Simple python database library In-Reply-To: <9963e56e1003050228x57c33d7as5bb0e758694c56ff@mail.gmail.com> References: <9963e56e1003050144l7f8f83d3v8369be84e390afd3@mail.gmail.com> <201003051537.40964.lawgon@au-kbc.org> <9963e56e1003050228x57c33d7as5bb0e758694c56ff@mail.gmail.com> Message-ID: On Fri, Mar 5, 2010 at 3:58 PM, Noufal Ibrahim wrote: > On Fri, Mar 5, 2010 at 3:37 PM, Kenneth Gonsalves > wrote: > > On Friday 05 Mar 2010 3:22:12 pm Dhananjay Nene wrote: > >> > I might add that I've worked with ORMs almost regularly since 1996 in > >> > C++, > >> > >> Java and Python. SQLAlchemy has probably been the most successful ORM I > >> have seen which has managed to retain the balance between relational > and > >> object paradigms (almost everyone else completely throws in the towel > >> towards providing an object API around database access). > >> > > > > what about django's orm? > > I don't expect that it will hold a candle to SQLAlchemy > No composite primary key support - > http://code.djangoproject.com/ticket/373 is the first thing that comes > to mind (and one of SQLAlchemy's killer features). > I don't think it follows a data mapper pattern. > I'm not sure how much reflection it can do. > > I agree DjangoORM is unlikely to be as full featured and as comprehensive as SQLAlchemy. SQLAlchemy really helps when you want to exercise far more control at the relational level (eg. reporting etc.) or at legacy database design mapping. But there are likely to be many usecases where SQLAlchemy learning cost may be higher than other ORMs eg. Django ORM. > > -- > ~noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- -------------------------------------------------------- blog: http://blog.dhananjaynene.com twitter: http://twitter.com/dnene http://twitter.com/_pythonic From dhananjay.nene at gmail.com Fri Mar 5 12:03:24 2010 From: dhananjay.nene at gmail.com (Dhananjay Nene) Date: Fri, 5 Mar 2010 16:33:24 +0530 Subject: [BangPypers] Simple python database library In-Reply-To: <4B90DD18.8000803@lonetwin.net> References: <9963e56e1003050144l7f8f83d3v8369be84e390afd3@mail.gmail.com> <201003051537.40964.lawgon@au-kbc.org> <4B90DD18.8000803@lonetwin.net> Message-ID: On Fri, Mar 5, 2010 at 3:59 PM, steve wrote: > >> > I personally prefer SQLObject because it comes across as being more > pythonic than SQLAlchemy, of course YMMV. > > Quite likely .. but it doesn't try to be pythonic, its focused more on staying consistent with its relational underpinnings. A ^C^V from the documentation - DBA Approved Built to conform to what DBAs demand, including the ability to swap out generated SQL with hand-optimized statements, full usage of bind parameters for all literal values, fully transactionalized and batched database writes using the Unit of Work pattern. All object-relational patterns are designed around the usage of proper referential integrity, and foreign keys are an integral part of its usage. Non-Opinionated SQLAlchemy places the highest value on not getting in the way of database and application architecture. Unlike many tools, it *never* "generates" schemas (not to be confused with issuing user-defined DDL, in which it excels) or relies on naming conventions of any kind. SQLAlchemy supports the widest variety of database and architectural designs as is reasonably possible. > > cheers, > - steve > -- > random non tech spiel: http://lonetwin.blogspot.com/ > tech randomness: http://lonehacks.blogspot.com/ > what i'm stumbling into: http://lonetwin.stumbleupon.com/ > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- -------------------------------------------------------- blog: http://blog.dhananjaynene.com twitter: http://twitter.com/dnene http://twitter.com/_pythonic From noufal at gmail.com Fri Mar 5 12:05:00 2010 From: noufal at gmail.com (Noufal Ibrahim) Date: Fri, 5 Mar 2010 16:35:00 +0530 Subject: [BangPypers] Feb user group meeting In-Reply-To: References: <9963e56e1002230705s77fe2015s6d1fcd0e4bea15bc@mail.gmail.com> <3d62196a1002230734oad0607fx35e153388f2ed9be@mail.gmail.com> <9963e56e1003041821r11a17e3alebd66b87bc5356cf@mail.gmail.com> <9963e56e1003042103y20da81d3paf9774e62544fa0b@mail.gmail.com> <3d62196a1003042120w463c4b25j874a6340094e0b33@mail.gmail.com> <65da62241003042136r2332c410w2a2e4936a77ad8db@mail.gmail.com> Message-ID: <9963e56e1003050305v635bb122pb0dadd534f2e191a@mail.gmail.com> All right. Here are the meeting details. Venue : ThoughtWorks, Diamond District, Floor 3. Date : 7 March 2010 (Sunday) Time : 1500 - 1700 hours. Sriram, Will TW be available? Thanks. On Fri, Mar 5, 2010 at 11:31 AM, Gopalakrishnan S wrote: > +1. > > I would like to attend the meeting/discussion. May I know the venue and > timing? I am attending this for first time. > > My number: 9886991146. > > I reside in JP Nagar 7th Phase. > > Regards, > > Krish > > On Fri, Mar 5, 2010 at 11:06 AM, Srinivasachari < > srinivasachari2000 at gmail.com> wrote: > >> +1 >> >> Regards, >> Srinivasachari. >> >> >> On 5 March 2010 10:50, Arvind Jamuna Dixit wrote: >> >> > On Fri, Mar 5, 2010 at 10:33 AM, Noufal Ibrahim >> wrote: >> > >> > > Anyone else? >> > >> > >> > I will be there too. >> > >> > -- >> > Arvind >> > _______________________________________________ >> > BangPypers mailing list >> > BangPypers at python.org >> > http://mail.python.org/mailman/listinfo/bangpypers >> > >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- ~noufal http://nibrahim.net.in From digamma at gmail.com Fri Mar 5 12:12:02 2010 From: digamma at gmail.com (karthik) Date: Fri, 5 Mar 2010 16:42:02 +0530 Subject: [BangPypers] [JOB] [CONTRACT] looking for a python dev familiar with test automation Message-ID: Hi: We have some test automation related work that we want to get done through a consultant. 1. Work will need an NDA to be signed 2. It's related to a cleanup of our internal test automation framework 3. Local (Bangalore) consultant preferred If you're interested (or just want to know more) mail me (kgvs =at= cisco =dot= com) or talk to me in person this Sunday during the group meeting. With best regards, Karthik From dhananjay.nene at gmail.com Fri Mar 5 13:26:43 2010 From: dhananjay.nene at gmail.com (Dhananjay Nene) Date: Fri, 5 Mar 2010 17:56:43 +0530 Subject: [BangPypers] Simple python database library In-Reply-To: References: <4B8E6274.2030101@lonetwin.net> <4B8F89BB.3050000@gmail.com> <8548c5f31003040524x313414e5j1081078d3b687241@mail.gmail.com> Message-ID: On Fri, Mar 5, 2010 at 12:49 PM, Dhananjay Nene wrote: > I've decided to go ahead with SQLAlchemy even though that was not my > favourite. FWIW I'm just documenting my thoughts : > > Cons : Why I would've not preferred SQL Alchemy > a. Dependency into a large full function package like sqlalchemy which just > does a ton of stuff. I didn't need a ton of features .. just needed > something basic. > b. I was looking for something that worked at a ODBC/JDBC level > abstraction. Python DBAPI is actually a good candidate but for the fact it > doesn't really work cross database > > Pros : Why I decided to go ahead with SQLAlchemy > a. Already use it. So am familiar with it. > b. It is just too slick and polished a product. > c. It does offer relational abstractions. eg. Table (even though the > default, most often used mechanism is with model objects). The entire model > layer I really am not interested in, but SQLAlchemy does give me the > abstractions for table, connections etc. > d. Did not find a widely used competing candidate. Just not sure how widely > used and thus regularly tested adodb for python is - though did not have any > specific qualms against that particular package. > > Thanks for all the suggestions. I evaluated them all and the suggestions > were very helpful fodder for the process. > > Aaargh, few hours after I decide that I run into this. From an intent perspective it is much more consistent with what I was looking for - http://www.pauldeden.com/2009/01/edendb-thin-flexible-and-fast-python.html The sample usage is listed here http://code.google.com/p/edendb/ -- -------------------------------------------------------- blog: http://blog.dhananjaynene.com twitter: http://twitter.com/dnene From anandology at gmail.com Fri Mar 5 14:28:49 2010 From: anandology at gmail.com (Anand Chitipothu) Date: Fri, 5 Mar 2010 18:58:49 +0530 Subject: [BangPypers] Simple python database library In-Reply-To: References: <4B8E6274.2030101@lonetwin.net> <4B8F89BB.3050000@gmail.com> <8548c5f31003040524x313414e5j1081078d3b687241@mail.gmail.com> Message-ID: <41139fcb1003050528sce103eeh44b5bc6db3cb523d@mail.gmail.com> > Aaargh, few hours after I decide that I run into this. From an intent > perspective it is much more consistent with what I was looking for - > http://www.pauldeden.com/2009/01/edendb-thin-flexible-and-fast-python.html > > The sample usage is listed here > http://code.google.com/p/edendb/ web.db is more elegant than that. >>> import web >>> db = web.database(dbn='sqlite', db='test.db') >>> db.query("create table people (name varchar(10), age integer, pet varchar(10))") 0.0 (1): create table people (name varchar(10), age integer, pet varchar(10)) -1 >>> db.insert('people', name='paul', age=2, pet='cat') 0.0 (1): INSERT INTO people (pet, age, name) VALUES ('cat', 2, 'paul') 0.0 (2): SELECT last_insert_rowid(); 1 >>> db.insert('people', name='tom', age=88, pet='dog') 0.0 (1): INSERT INTO people (pet, age, name) VALUES ('dog', 88, 'tom') 0.0 (2): SELECT last_insert_rowid(); 2 >>> for r in db.select("people"): print r.name, r.age, r.pet ... 0.0 (1): SELECT * FROM people paul 2 cat tom 88 dog >>> for r in db.select("people", where='age > $age', vars={"age": 50}): print r.name, r.age, r.pet ... 0.0 (1): SELECT * FROM people WHERE age > 50 tom 88 dog -Anand From vid at svaksha.com Fri Mar 5 14:54:06 2010 From: vid at svaksha.com (=?UTF-8?B?fHwg4KS44KWN4KS14KSV4KWN4KS3IHx8IA==?=) Date: Fri, 5 Mar 2010 08:54:06 -0500 Subject: [BangPypers] Feb user group meeting In-Reply-To: <9963e56e1003041821r11a17e3alebd66b87bc5356cf@mail.gmail.com> References: <9963e56e1002230705s77fe2015s6d1fcd0e4bea15bc@mail.gmail.com> <3d62196a1002230734oad0607fx35e153388f2ed9be@mail.gmail.com> <9963e56e1003041821r11a17e3alebd66b87bc5356cf@mail.gmail.com> Message-ID: <12470af01003050554h36afades9a03e70c85a44f6b@mail.gmail.com> CC'ing the inpycon organizers list. On Thu, Mar 4, 2010 at 21:21, Noufal Ibrahim wrote: > > > Shall we meet on March 7? It's a little short notice. I can give a > quick update about PyCon Atlanta and we can lay the plans for our own > event later this year. We're already late. The whole thing should take I would love to attend and share pycon related stuff but mar7 is not feasible. > about 40 minutes. I'd recommend that everyone interested in being part > of PyCon India attend. The folks from Chennai are keen on holding it > there but some of the general matters like sponsorships etc. will be > venue agnostic so a discussion will not be entirely fruitless. I was asked if we have tentative dates (which needs a venue I'd guess) for the Chennai event, as folks coming to India like to sync their schedules and book early. Can someone from Chennai pipe in with tentative date and venue suggestions please. Fwiw, Pycon has a policy of holding two pycon events at the same venue consecutively. This means that pycon 2011 will also be in Atlanta. 2012 and 2013 are CA and iirc, they will start the bidding process for 2014 and 2015 soon. Maybe we need to plan something along those lines or atleast discuss cities, how and where to hold future events. It might help if we asked various lug lists, so folks may pitch in ideas. -- || vid | http://svaksha.com || From pradeep at btbytes.com Fri Mar 5 15:16:31 2010 From: pradeep at btbytes.com (Pradeep Gowda) Date: Fri, 5 Mar 2010 09:16:31 -0500 Subject: [BangPypers] Simple python database library In-Reply-To: <41139fcb1003050528sce103eeh44b5bc6db3cb523d@mail.gmail.com> References: <4B8E6274.2030101@lonetwin.net> <4B8F89BB.3050000@gmail.com> <8548c5f31003040524x313414e5j1081078d3b687241@mail.gmail.com> <41139fcb1003050528sce103eeh44b5bc6db3cb523d@mail.gmail.com> Message-ID: <3e3294b71003050616n7e22f5a6ked99c8723cbeee07@mail.gmail.com> On Fri, Mar 5, 2010 at 8:28 AM, Anand Chitipothu wrote: >> Aaargh, few hours after I decide that I run into this. From an intent >> perspective it is much more consistent with what I was looking for - >> http://www.pauldeden.com/2009/01/edendb-thin-flexible-and-fast-python.html >> >> The sample usage is listed here >> http://code.google.com/p/edendb/ > web.db is more elegant than that. Excellent! Anand. Evidently the "web" part of web.py makes people underestimate the power and compactness of web.py A simple scan through the web.db module [1] would have given all the information about - abstraction -- Tables are objects, column data is accessible via dot operator. So, a very nice abstraction. - supports all the databases he wanted [mysql, pg, sqlite, oracle, firebird AND mssql] The syntax is definitely more pythonic and self-explanatory than edendb. And unlike edendb [from what i can i tell from the one blog post], web.py is used in production by scores of sites. +PG [1] http://github.com/webpy/webpy/raw/master/web/db.py From noufal at gmail.com Fri Mar 5 16:10:56 2010 From: noufal at gmail.com (Noufal Ibrahim) Date: Fri, 5 Mar 2010 20:40:56 +0530 Subject: [BangPypers] Simple python database library In-Reply-To: <3e3294b71003050616n7e22f5a6ked99c8723cbeee07@mail.gmail.com> References: <4B8E6274.2030101@lonetwin.net> <4B8F89BB.3050000@gmail.com> <8548c5f31003040524x313414e5j1081078d3b687241@mail.gmail.com> <41139fcb1003050528sce103eeh44b5bc6db3cb523d@mail.gmail.com> <3e3294b71003050616n7e22f5a6ked99c8723cbeee07@mail.gmail.com> Message-ID: <9963e56e1003050710h7fecb2f1r7a00465ae6d832ce@mail.gmail.com> On Fri, Mar 5, 2010 at 7:46 PM, Pradeep Gowda wrote: > On Fri, Mar 5, 2010 at 8:28 AM, Anand Chitipothu wrote: >>> Aaargh, few hours after I decide that I run into this. From an intent >>> perspective it is much more consistent with what I was looking for - >>> http://www.pauldeden.com/2009/01/edendb-thin-flexible-and-fast-python.html >>> >>> The sample usage is listed here >>> http://code.google.com/p/edendb/ > >> web.db is more elegant than that. > > Excellent! Anand. > > Evidently the "web" part of web.py makes people underestimate the > power and compactness of web.py > > A simple scan through the web.db module [1] would have given all the > information ?about > > - abstraction -- Tables are objects, column data is accessible via dot > operator. So, a very nice abstraction. > - supports all the databases he wanted ?[mysql, pg, sqlite, oracle, > firebird AND mssql] > > The syntax is definitely more pythonic and self-explanatory than ?edendb. > > And unlike edendb [from what i can i tell from the one blog post], > web.py is used in production by scores of sites.[..] Yes. At the very least, web.db is older and more mature than edendb. I'm confused Dhananjay. What exactly were you looking for that web.db didn't provide which edendb did whe you evaluated the former? -- ~noufal http://nibrahim.net.in From kunalkantsen at gmail.com Fri Mar 5 16:37:10 2010 From: kunalkantsen at gmail.com (kunalkant sen) Date: Fri, 5 Mar 2010 21:07:10 +0530 Subject: [BangPypers] Feb user group meeting In-Reply-To: <12470af01003050554h36afades9a03e70c85a44f6b@mail.gmail.com> References: <9963e56e1002230705s77fe2015s6d1fcd0e4bea15bc@mail.gmail.com> <3d62196a1002230734oad0607fx35e153388f2ed9be@mail.gmail.com> <9963e56e1003041821r11a17e3alebd66b87bc5356cf@mail.gmail.com> <12470af01003050554h36afades9a03e70c85a44f6b@mail.gmail.com> Message-ID: <63eb47a21003050737o508561d9pe915a816d300dc4e@mail.gmail.com> +1 for Sunday. Regards Kunal On Fri, Mar 5, 2010 at 7:24 PM, || ?????? || wrote: > CC'ing the inpycon organizers list. > > On Thu, Mar 4, 2010 at 21:21, Noufal Ibrahim wrote: > > > > > > Shall we meet on March 7? It's a little short notice. I can give a > > quick update about PyCon Atlanta and we can lay the plans for our own > > event later this year. We're already late. The whole thing should take > > I would love to attend and share pycon related stuff but mar7 is not > feasible. > > > about 40 minutes. I'd recommend that everyone interested in being part > > of PyCon India attend. The folks from Chennai are keen on holding it > > there but some of the general matters like sponsorships etc. will be > > venue agnostic so a discussion will not be entirely fruitless. > > I was asked if we have tentative dates (which needs a venue I'd guess) > for the Chennai event, as folks coming to India like to sync their > schedules and book early. Can someone from Chennai pipe in with > tentative date and venue suggestions please. > > Fwiw, Pycon has a policy of holding two pycon events at the same venue > consecutively. This means that pycon 2011 will also be in Atlanta. > 2012 and 2013 are CA and iirc, they will start the bidding process for > 2014 and 2015 soon. > > Maybe we need to plan something along those lines or atleast discuss > cities, how and where to hold future events. It might help if we asked > various lug lists, so folks may pitch in ideas. > > -- > || vid | http://svaksha.com || > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From kausikram at gmail.com Fri Mar 5 19:16:59 2010 From: kausikram at gmail.com (kausikram krishnasayee) Date: Fri, 5 Mar 2010 23:46:59 +0530 Subject: [BangPypers] Feb user group meeting In-Reply-To: <12470af01003050554h36afades9a03e70c85a44f6b@mail.gmail.com> References: <9963e56e1002230705s77fe2015s6d1fcd0e4bea15bc@mail.gmail.com> <3d62196a1002230734oad0607fx35e153388f2ed9be@mail.gmail.com> <9963e56e1003041821r11a17e3alebd66b87bc5356cf@mail.gmail.com> <12470af01003050554h36afades9a03e70c85a44f6b@mail.gmail.com> Message-ID: <2597ddb91003051016k5cf00f73sda7377e9a273f95f@mail.gmail.com> > > I was asked if we have tentative dates (which needs a venue I'd guess) > for the Chennai event, as folks coming to India like to sync their > schedules and book early. Can someone from Chennai pipe in with > tentative date and venue suggestions please. > Tentative Date is sept 24th and 25th 2010. we are clear of all festivals. > Fwiw, Pycon has a policy of holding two pycon events at the same venue > consecutively. This means that pycon 2011 will also be in Atlanta. > 2012 and 2013 are CA and iirc, they will start the bidding process for > 2014 and 2015 soon. > Remember there being a discussion on this on inpycon. if the need arises we will be happy to host it in 2011 as well. Alternatively we will also be happy if some other city bids as well. as long as the local guys in a city do not find it to be a burden and have fun organizing the event we are all happy :) -- Kausikram Krishnasayee Company: http://silverstripesoftware.com | Webpage: kausikram.net | Blog: blog.kausikram.net | Twitter: http://twitter.com/kausikram | Email: kausikram at gmail.com | Mobile: +91 9884246490 From vid at svaksha.com Fri Mar 5 19:54:54 2010 From: vid at svaksha.com (=?UTF-8?B?fHwg4KS44KWN4KS14KSV4KWN4KS3IHx8IA==?=) Date: Fri, 5 Mar 2010 13:54:54 -0500 Subject: [BangPypers] Feb user group meeting In-Reply-To: <2597ddb91003051016k5cf00f73sda7377e9a273f95f@mail.gmail.com> References: <9963e56e1002230705s77fe2015s6d1fcd0e4bea15bc@mail.gmail.com> <3d62196a1002230734oad0607fx35e153388f2ed9be@mail.gmail.com> <9963e56e1003041821r11a17e3alebd66b87bc5356cf@mail.gmail.com> <12470af01003050554h36afades9a03e70c85a44f6b@mail.gmail.com> <2597ddb91003051016k5cf00f73sda7377e9a273f95f@mail.gmail.com> Message-ID: <12470af01003051054h5024daf1xb1dee3b3346b2d1c@mail.gmail.com> On Fri, Mar 5, 2010 at 13:16, kausikram krishnasayee wrote: > Tentative Date is sept 24th and 25th 2010. we are clear of all festivals. That helps, Thanks. > Remember there being a discussion on this on inpycon. if the need arises we > will be happy to host it in 2011 as well. Alternatively we will also be > happy if some other city bids as well. as long as the local guys in a city > do not find it to be a burden and have fun organizing the event we are all > happy :) Agreed. But I am not sure how many outside of this list (or the inpycon list) are aware that other cities can bid if they wish to. For starters, a page on the wiki perhaps and later communicate this publicly on the in.pycon.org website so that people are aware of the process atleast. -- || vid | http://svaksha.com || From noufal at gmail.com Sat Mar 6 05:30:47 2010 From: noufal at gmail.com (Noufal Ibrahim) Date: Sat, 6 Mar 2010 10:00:47 +0530 Subject: [BangPypers] Feb user group meeting In-Reply-To: <9963e56e1003050305v635bb122pb0dadd534f2e191a@mail.gmail.com> References: <9963e56e1002230705s77fe2015s6d1fcd0e4bea15bc@mail.gmail.com> <3d62196a1002230734oad0607fx35e153388f2ed9be@mail.gmail.com> <9963e56e1003041821r11a17e3alebd66b87bc5356cf@mail.gmail.com> <9963e56e1003042103y20da81d3paf9774e62544fa0b@mail.gmail.com> <3d62196a1003042120w463c4b25j874a6340094e0b33@mail.gmail.com> <65da62241003042136r2332c410w2a2e4936a77ad8db@mail.gmail.com> <9963e56e1003050305v635bb122pb0dadd534f2e191a@mail.gmail.com> Message-ID: <9963e56e1003052030k699f620bpd9f8d4d96fa716cc@mail.gmail.com> I spoke to Sriram and the venue is confirmed. See you all there. Kausik, We'll bring up the topic of doing the conference in B'lore (2 times in the same city) or in Chennai at the meeting. I'll post back the details here. I'm more concerned about the details like sponsorships and things like that rather than the venue really. Our budget will be higher this year. Thanks. On Fri, Mar 5, 2010 at 4:35 PM, Noufal Ibrahim wrote: > All right. Here are the meeting details. > > Venue : ThoughtWorks, Diamond District, Floor 3. > Date : 7 March 2010 (Sunday) > Time : 1500 - 1700 hours. > > Sriram, > ?Will TW be available? > > Thanks. > > On Fri, Mar 5, 2010 at 11:31 AM, Gopalakrishnan S wrote: >> +1. >> >> I would like to attend the meeting/discussion. May I know the venue and >> timing? I am attending this for first time. >> >> My number: 9886991146. >> >> I reside in JP Nagar 7th Phase. >> >> Regards, >> >> Krish >> >> On Fri, Mar 5, 2010 at 11:06 AM, Srinivasachari < >> srinivasachari2000 at gmail.com> wrote: >> >>> +1 >>> >>> Regards, >>> Srinivasachari. >>> >>> >>> On 5 March 2010 10:50, Arvind Jamuna Dixit wrote: >>> >>> > On Fri, Mar 5, 2010 at 10:33 AM, Noufal Ibrahim >>> wrote: >>> > >>> > > Anyone else? >>> > >>> > >>> > I will be there too. >>> > >>> > -- >>> > Arvind >>> > _______________________________________________ >>> > BangPypers mailing list >>> > BangPypers at python.org >>> > http://mail.python.org/mailman/listinfo/bangpypers >>> > >>> _______________________________________________ >>> BangPypers mailing list >>> BangPypers at python.org >>> http://mail.python.org/mailman/listinfo/bangpypers >>> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> > > > > -- > ~noufal > http://nibrahim.net.in > -- ~noufal http://nibrahim.net.in From noufal at gmail.com Sat Mar 6 05:54:30 2010 From: noufal at gmail.com (Noufal Ibrahim) Date: Sat, 6 Mar 2010 10:24:30 +0530 Subject: [BangPypers] Feb user group meeting In-Reply-To: <12470af01003051054h5024daf1xb1dee3b3346b2d1c@mail.gmail.com> References: <9963e56e1002230705s77fe2015s6d1fcd0e4bea15bc@mail.gmail.com> <3d62196a1002230734oad0607fx35e153388f2ed9be@mail.gmail.com> <9963e56e1003041821r11a17e3alebd66b87bc5356cf@mail.gmail.com> <12470af01003050554h36afades9a03e70c85a44f6b@mail.gmail.com> <2597ddb91003051016k5cf00f73sda7377e9a273f95f@mail.gmail.com> <12470af01003051054h5024daf1xb1dee3b3346b2d1c@mail.gmail.com> Message-ID: <9963e56e1003052054h523b5f91ie3037a76b9497156@mail.gmail.com> On Sat, Mar 6, 2010 at 12:24 AM, || ?????? || wrote: [..] > Agreed. But I am not sure how many outside of this list (or the > inpycon list) are aware that other cities can bid if they wish to. For > starters, a page on the wiki perhaps and later communicate this > publicly on the in.pycon.org website so that people are aware of the > process atleast. The list is more frequented than the in.pycon.org site. A page on the wiki is a good idea. Can you take care of it? However, people in the know who are interested in the whole affair will be on this list. Putting it up on the wiki and then having people marshall their resources to make a bid will delay it too much. It's too late for that now. -- ~noufal http://nibrahim.net.in From chintan.bhatt at etatvasoft.com Mon Mar 8 13:55:20 2010 From: chintan.bhatt at etatvasoft.com (chintan.bhatt at etatvasoft.com) Date: Mon, 8 Mar 2010 18:25:20 +0530 Subject: [BangPypers] How to use PythonDonNet for calling Pythonscript from c#.net Message-ID: <000b01cabebe$a313fbe0$e93bf3a0$@bhatt@etatvasoft.com> Hi everyone I am looking for some help regarding how to call Python script from c#.net. I am developing an application in which I need to call a paython script from the C# (Vs 2008), I just want to pass some params from C# I do not required to have any returning object from python fuction. I am huntiong for the solution with no luck yet. I do not know anything about the python so I need a sample that can give me an idea about this. Also I do not have an idea about how to install and configure PythonDonNet so that I can use it in VS 2008. Please help me as early as possible.many thnaks in advance. Best Regards, ---------------------------------------------------------------------------- ---------------------------------------------------- CHINTAN BHATT | PROJECT LEADER TatvaSoft CMMI Maturity level 3 Email Id: chintan.bhatt at etatvasoft.com Skype Id: tatva85 Website: http://www.tatvasoft.com ---------------------------------------------------------------------------- ---------------------------------------------------- This email is for the named person's use only and is confidential. No confidentiality or privilege is waived or lost by any mistransmission or miss delivery. If you receive this email in error, you must not use or disclose it or its contents or rely on it. If you are the intended recipient you must not copy, disclose or distribute this email without the prior consent of Tatvasoft. We exclude all liability for viruses or similar agents and for the personal views of our employees as expressed in any email. From akk.saravanakumar at gmail.com Mon Mar 8 15:15:16 2010 From: akk.saravanakumar at gmail.com (Saravanakumar Karunanithi) Date: Mon, 8 Mar 2010 19:45:16 +0530 Subject: [BangPypers] How to use PythonDonNet for calling Pythonscript from c#.net In-Reply-To: <8068770558147014186@unknownmsgid> References: <8068770558147014186@unknownmsgid> Message-ID: <64b485bd1003080615i41290f13w95c0bfe2164da753@mail.gmail.com> Try IronPython On Mon, Mar 8, 2010 at 6:25 PM, wrote: > Hi everyone > > > > I am looking for some help regarding how to call Python script from c#.net. > > > > I am developing an application in which I need to call a paython script > from > the C# (Vs 2008), I just want to pass some params from C# I do not required > to have any returning object from python fuction. > > I am huntiong for the solution with no luck yet. I do not know anything > about the python so I need a sample that can give me an idea about this. > > > > Also I do not have an idea about how to install and configure PythonDonNet > so that I can use it in VS 2008. > > > > Please help me as early as possible.many thnaks in advance. > > > > > > Best Regards, > > > ---------------------------------------------------------------------------- > ---------------------------------------------------- > > CHINTAN BHATT | PROJECT LEADER > > TatvaSoft CMMI Maturity level 3 > > Email Id: > chintan.bhatt at etatvasoft.com > > Skype Id: tatva85 > > Website: http://www.tatvasoft.com > > > ---------------------------------------------------------------------------- > ---------------------------------------------------- > > > > This email is for the named person's use only and is confidential. No > confidentiality or privilege is waived or lost by any mistransmission or > miss delivery. If you receive this email in error, you must not use or > disclose it or its contents or rely on it. If you are the intended > recipient you must not copy, disclose or distribute this email without the > prior consent of Tatvasoft. We exclude all liability for viruses or > similar > agents and for the personal views of our employees as expressed in any > email. > > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Thanks & Regards, Saravanakumar Karunanithi From sibtey.mehndi at genpact.com Mon Mar 8 15:20:27 2010 From: sibtey.mehndi at genpact.com (Mehndi, Sibtey) Date: Mon, 8 Mar 2010 19:50:27 +0530 Subject: [BangPypers] How to use PythonDonNet for calling Pythonscript from c#.net In-Reply-To: <64b485bd1003080615i41290f13w95c0bfe2164da753@mail.gmail.com> References: <8068770558147014186@unknownmsgid> <64b485bd1003080615i41290f13w95c0bfe2164da753@mail.gmail.com> Message-ID: Create a COM object and use it into your C#.net Try IronPython On Mon, Mar 8, 2010 at 6:25 PM, wrote: > Hi everyone > > > > I am looking for some help regarding how to call Python script from c#.net. > > > > I am developing an application in which I need to call a paython script > from > the C# (Vs 2008), I just want to pass some params from C# I do not required > to have any returning object from python fuction. > > I am huntiong for the solution with no luck yet. I do not know anything > about the python so I need a sample that can give me an idea about this. > > > > Also I do not have an idea about how to install and configure PythonDonNet > so that I can use it in VS 2008. > > > > Please help me as early as possible.many thnaks in advance. > > > > > > Best Regards, > > > ---------------------------------------------------------------------------- > ---------------------------------------------------- > > CHINTAN BHATT | PROJECT LEADER > > TatvaSoft CMMI Maturity level 3 > > Email Id: > chintan.bhatt at etatvasoft.com > > Skype Id: tatva85 > > Website: http://www.tatvasoft.com > > > ---------------------------------------------------------------------------- > ---------------------------------------------------- > > > > This email is for the named person's use only and is confidential. No > confidentiality or privilege is waived or lost by any mistransmission or > miss delivery. If you receive this email in error, you must not use or > disclose it or its contents or rely on it. If you are the intended > recipient you must not copy, disclose or distribute this email without the > prior consent of Tatvasoft. We exclude all liability for viruses or > similar > agents and for the personal views of our employees as expressed in any > email. > > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Thanks & Regards, Saravanakumar Karunanithi _______________________________________________ BangPypers mailing list BangPypers at python.org http://mail.python.org/mailman/listinfo/bangpypers This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only by intended recipients. Unauthorized access to this e-mail (or attachments) and disclosure or copying of its contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately by e-mail/phone & delete it from their system without making any copies or disclosing it to a third person. From lorddaemon at gmail.com Tue Mar 9 05:08:15 2010 From: lorddaemon at gmail.com (Darkseid) Date: Tue, 09 Mar 2010 09:38:15 +0530 Subject: [BangPypers] How to use PythonDonNet for calling Pythonscript from c#.net In-Reply-To: <000b01cabebe$a313fbe0$e93bf3a0$@bhatt@etatvasoft.com> References: <000b01cabebe$a313fbe0$e93bf3a0$@bhatt@etatvasoft.com> Message-ID: <4B95C9AF.2080100@gmail.com> Spawn an external process to run the script. While this is the cheapest solution, it may not be the best, especially on Windoze. Cheers, Sidu. http://blog.sidu.in http://twitter.com/ponnappa chintan.bhatt at etatvasoft.com wrote: > Hi everyone > > > > I am looking for some help regarding how to call Python script from c#.net. > > > > I am developing an application in which I need to call a paython script from > the C# (Vs 2008), I just want to pass some params from C# I do not required > to have any returning object from python fuction. > > I am huntiong for the solution with no luck yet. I do not know anything > about the python so I need a sample that can give me an idea about this. > > > > Also I do not have an idea about how to install and configure PythonDonNet > so that I can use it in VS 2008. > > > > Please help me as early as possible.many thnaks in advance. > > > > > > Best Regards, > > ---------------------------------------------------------------------------- > ---------------------------------------------------- > > CHINTAN BHATT | PROJECT LEADER > > TatvaSoft CMMI Maturity level 3 > > Email Id: > chintan.bhatt at etatvasoft.com > > Skype Id: tatva85 > > Website: http://www.tatvasoft.com > > ---------------------------------------------------------------------------- > ---------------------------------------------------- > > > > This email is for the named person's use only and is confidential. No > confidentiality or privilege is waived or lost by any mistransmission or > miss delivery. If you receive this email in error, you must not use or > disclose it or its contents or rely on it. If you are the intended > recipient you must not copy, disclose or distribute this email without the > prior consent of Tatvasoft. We exclude all liability for viruses or similar > agents and for the personal views of our employees as expressed in any > email. > > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > From vinayakh at gmail.com Tue Mar 9 14:49:53 2010 From: vinayakh at gmail.com (Vinayak Hegde) Date: Tue, 9 Mar 2010 19:19:53 +0530 Subject: [BangPypers] Query generation engine/library Message-ID: <38940f3c1003090549j14aeadbdlfa6f7cd4253aedca@mail.gmail.com> I am looking for a a way to generate optimised queries in SQL (or SQL-like languages like Hadoop Pig) by chaining clauses such as where, group by, order by etc based on a set of (optimising) rules. Is there any such library in python which would let me do that. Example approach would be create a query object and then use some inbuilt method to generate the actual query before executing it. I will probably have to change whatever alternatives are so a good starting point would be helpful. -- Vinayak From b.ghose at gmail.com Tue Mar 9 14:54:22 2010 From: b.ghose at gmail.com (Baishampayan Ghose) Date: Tue, 9 Mar 2010 19:24:22 +0530 Subject: [BangPypers] Query generation engine/library In-Reply-To: <38940f3c1003090549j14aeadbdlfa6f7cd4253aedca@mail.gmail.com> References: <38940f3c1003090549j14aeadbdlfa6f7cd4253aedca@mail.gmail.com> Message-ID: > I am looking for a a way to generate optimised queries in SQL (or > SQL-like languages like Hadoop Pig) by chaining clauses such as where, > group by, order by etc based on a set of (optimising) rules. Is there > any such library in python which would let me do that. Example > approach would be create a query object and then use some inbuilt > method to generate the actual query before executing it. > > I will probably have to change whatever alternatives are so a good > starting point would be helpful. Take something like Django's ORM or SQLAlchemy and hack it until you are satisfied :) Regards, BG -- Baishampayan Ghose b.ghose at gmail.com From vsapre80 at gmail.com Wed Mar 10 06:29:03 2010 From: vsapre80 at gmail.com (Vishal) Date: Wed, 10 Mar 2010 10:59:03 +0530 Subject: [BangPypers] Query generation engine/library In-Reply-To: References: <38940f3c1003090549j14aeadbdlfa6f7cd4253aedca@mail.gmail.com> Message-ID: I learnt about 'sqlpython' recently. There was a talk on this at PyCon2010. See if that serves your purpose. It seems to be "connected" to Oracle/MySql/PostGres etc... https://twiki.cern.ch/twiki/bin/view/PDBService/SqlPython Vishal On Tue, Mar 9, 2010 at 7:24 PM, Baishampayan Ghose wrote: > > I am looking for a a way to generate optimised queries in SQL (or > > SQL-like languages like Hadoop Pig) by chaining clauses such as where, > > group by, order by etc based on a set of (optimising) rules. Is there > > any such library in python which would let me do that. Example > > approach would be create a query object and then use some inbuilt > > method to generate the actual query before executing it. > > > > I will probably have to change whatever alternatives are so a good > > starting point would be helpful. > > Take something like Django's ORM or SQLAlchemy and hack it until you > are satisfied :) > > Regards, > BG > > -- > Baishampayan Ghose > b.ghose at gmail.com > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Thanks and best regards, Vishal Sapre --- "So say...Day by day, in every way, I am getting better, better and better !!!" "A Strong and Positive attitude creates more miracles than anything else. Because...Life is 10% how you make it, and 90% how you take it" "Diamond is another piece of coal that did well under pressure? "May we do good and not evil. May we find forgiveness for ourself and forgive others. May we share freely, never taking more than we give." From vinayakh at gmail.com Wed Mar 10 10:20:52 2010 From: vinayakh at gmail.com (Vinayak Hegde) Date: Wed, 10 Mar 2010 14:50:52 +0530 Subject: [BangPypers] Query generation engine/library In-Reply-To: References: <38940f3c1003090549j14aeadbdlfa6f7cd4253aedca@mail.gmail.com> Message-ID: <38940f3c1003100120u417593e8p2cd6beb4600dbea8@mail.gmail.com> Yeah that was my fallback option. Was just checking if there is something more sophisticated. Looks like I will have to combine parsing with something like spark or some other code generation engine. -- Vinayak On Tue, Mar 9, 2010 at 7:24 PM, Baishampayan Ghose wrote: >> I am looking for a a way to generate optimised queries in SQL (or >> SQL-like languages like Hadoop Pig) by chaining clauses such as where, >> group by, order by etc based on a set of (optimising) rules. Is there >> any such library in python which would let me do that. Example >> approach would be create a query object and then use some inbuilt >> method to generate the actual query before executing it. >> >> I will probably have to change whatever alternatives are so a good >> starting point would be helpful. > > Take something like Django's ORM or SQLAlchemy and hack it until you > are satisfied :) > > Regards, > BG > > -- > Baishampayan Ghose > b.ghose at gmail.com > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From kshipras at packtpub.com Wed Mar 10 12:16:22 2010 From: kshipras at packtpub.com (Kshipra Singh) Date: Wed, 10 Mar 2010 16:46:22 +0530 Subject: [BangPypers] Opportunity to author Python cookbooks- Packt Publishing Message-ID: <8FB0A8520D9745ED9A1057F9A74EE7DB@sonyPC> Hi BangPypers, I am writing to you for Packt Publishing, the publishers computer related books. We are planning to extend our catalogue of cookbooks and are currently inviting "Python" fanatics interested in writing a cookbook. So, if you love "Python" and are interested in writing a cookbook, please contact us with your book ideas at author at packtpub.com. Even if you do not have a book idea and are simply interested in authoring a cookbook, we are still keen to hear from you. More details about the opportunity are available at: http://authors.packtpub.com/content/python-fanatics-invited-write-packt Thanks Kshipra Singh Author Relationship Manager Packt Publishing www.PacktPub.com Skype: kshiprasingh15 Twitter: http://twitter.com/kshipras Interested in becoming an author? Visit http://authors.packtpub.com for all the information you need about writing for Packt. From kushalnitt at gmail.com Wed Mar 10 15:52:50 2010 From: kushalnitt at gmail.com (kushal gupta) Date: Wed, 10 Mar 2010 20:22:50 +0530 Subject: [BangPypers] Timezone issues with datetime module. Message-ID: Hi, I am facing an issue with datetime module with some timezones (especially day light savings). Given the date and the timezone, I want to convert it to the UTC date and time. Here is the snippet: import datetime import mx.DateTime from dateutil import zoneinfo def parse_date(date, tzname): feed_time = mx.DateTime.strptime(date, '%d-%m-%Y') feed_datetime = datetime.datetime(*feed_time.timetuple()[:6], tzinfo=zoneinfo.gettz(tzname)) feed_time = mx.DateTime.DateTime(*feed_datetime.utctimetuple()[:6]) return feed_time >>>parse_date('28-03-2010', 'Australia/Melbourne') >>> parse_date('29-03-2010', 'Australia/Melbourne') which says day light savings ended on 28th March (seeing at the outputs, there is a difference of 1 hr in time) but it actually ended on April 4th http://www.timeanddate.com/worldclock/city.html?n=152 for 'America/Anchorage' the same code works fine (DST starts on 14th March 02:00 hours) http://www.timeanddate.com/worldclock/city.html?n=18 >>> parse_date('14-03-2010', 'America/Anchorage') >>> parse_date('15-03-2010', 'America/Anchorage') What am i missing here? Please help. Thanks Kushal. From orsenthil at gmail.com Wed Mar 10 19:21:11 2010 From: orsenthil at gmail.com (Senthil Kumaran) Date: Wed, 10 Mar 2010 23:51:11 +0530 Subject: [BangPypers] Timezone issues with datetime module. In-Reply-To: References: Message-ID: <20100310182111.GA4284@ubuntu.ubuntu-domain> On Wed, Mar 10, 2010 at 08:22:50PM +0530, kushal gupta wrote: > Hi, > I am facing an issue with datetime module with some timezones (especially > day light savings). You are using three different modules, datetime, mx.Datetime and dateutil. You are using the timezone information facility provided by the dateutil module. The problem is the timezone information provided by the dateutil module. You may want to check the documentation of dateutil and see why its not taking the day light savings time properly. A better idea is to define your own tzinfo class with the particulars of day light savings time, which you have the information about. Look into the documentation of datetime module in the Python standard library, where the example of defining your own timezone information is available. That should do the task. -- Senthil We don't understand the software, and sometimes we don't understand the hardware, but we can *___see* the blinking lights! From mbaiju at zeomega.com Wed Mar 10 19:27:43 2010 From: mbaiju at zeomega.com (Baiju M) Date: Wed, 10 Mar 2010 23:57:43 +0530 (IST) Subject: [BangPypers] Timezone issues with datetime module. In-Reply-To: Message-ID: <1846917306.2367.1268245663605.JavaMail.root@mail.zeomega.com> ----- "kushal gupta" wrote: > Hi, > I am facing an issue with datetime module with some timezones > (especially > day light savings). > Given the date and the timezone, I want to convert it to the UTC date > and > time. May be this is useful: http://pypi.python.org/pypi/pytz Regards, Baiju M From noufal at gmail.com Wed Mar 10 21:48:02 2010 From: noufal at gmail.com (Noufal Ibrahim) Date: Thu, 11 Mar 2010 02:18:02 +0530 Subject: [BangPypers] Feb user group meeting In-Reply-To: References: <9963e56e1002230705s77fe2015s6d1fcd0e4bea15bc@mail.gmail.com> <3d62196a1002230734oad0607fx35e153388f2ed9be@mail.gmail.com> <9963e56e1003041821r11a17e3alebd66b87bc5356cf@mail.gmail.com> Message-ID: <9963e56e1003101248h1ab16206i955bbaec393482a5@mail.gmail.com> On Fri, Mar 5, 2010 at 8:01 AM, Baiju M wrote: [..] >> After that, we're open, anyone with ideas on stuff to speak about? I >> spent the sprint days with the packaging people (Tarek and company) so >> I have some idea on what's going on there. I could speak on that. The >> state of packaging in Python is a bit of ?mess and it needs help. > > I would like to hear about that. >[..] Attached is the outline I used when talking about the packaging in Python. Packaging in Python =================== Author: Noufal Ibrahim Date: 2010-03-11 01:04:42 IST Table of Contents ================= 1 Terms 1.1 Top level libraries 1.2 Tools 1.3 Services 2 Problems with setuptools 3 Related tools 4 Reference materials 4.1 http://guide.python-distribute.org 4.2 Distutils docs 5 Upto date information 6 Helping out 1 Terms ======== 1.1 Top level libraries ------------------------ - Distutils : Standard library simple stuff - Setuptools : Massive improvements to setuptools by Philip Eby - Distribute : Fork of Setuptools by Tarek - Distutils2 : Nextgen distutils + setuptools for standard library (Python 3.3) 1.2 Tools ---------- - easy_install : Installer which is part of setuptools (PJE) - pip : Next gen installer which will be part of distutils2 (Ian Bicking) 1.3 Services ------------- - PyPI : CPAN for Python (Richard Jones[web] + Andrew Kuchling[metadata]) 2 Problems with setuptools =========================== - Semi unmaintained. - No fast enough releases. - No Python 3 support 3 Related tools ================ - Virtualenv - For private pools of packages which can be used for a projects - Ian Bicking's hack - Buildout - More heavy duty for complete isolated, repeatable installations - Extensible using recipes 4 Reference materials ====================== 4.1 [http://guide.python-distribute.org] ----------------------------------------- - Hitchhikers guide to packaging - [http://bitbucket.org/tarek/hitchhiker-guide-packaging/wiki/Home] to contribute. - [http://guide.python-distribute.org/history.html] for historical information 4.2 Distutils docs ------------------- - [http://docs.python.org/library/distutils.html] (Greg Ward, Anthony Baxter) 5 Upto date information ======================== - [http://twitter.com/packagingpig] - Why a pig? 6 Helping out ============== - Distutils2 : [https://bitbucket.org/tarek/distutils2/] - Distribute : [https://bitbucket.org/tarek/distribute/] - HHG2P : [https://bitbucket.org/tarek/hitchhiker-guide-packaging/] -- ~noufal http://nibrahim.net.in From ramdaz at gmail.com Thu Mar 11 04:55:33 2010 From: ramdaz at gmail.com (Ramdas S) Date: Thu, 11 Mar 2010 09:25:33 +0530 Subject: [BangPypers] Feb user group meeting In-Reply-To: <9963e56e1003101248h1ab16206i955bbaec393482a5@mail.gmail.com> References: <9963e56e1002230705s77fe2015s6d1fcd0e4bea15bc@mail.gmail.com> <3d62196a1002230734oad0607fx35e153388f2ed9be@mail.gmail.com> <9963e56e1003041821r11a17e3alebd66b87bc5356cf@mail.gmail.com> <9963e56e1003101248h1ab16206i955bbaec393482a5@mail.gmail.com> Message-ID: <6e38f9f01003101955k7485a7b9u900d39bf50e7922@mail.gmail.com> > >[.. ] > Attached is the outline I used when talking about the packaging in Python. > > > Packaging in Python > =================== > > Author: Noufal Ibrahim > Date: 2010-03-11 01:04:42 IST > > > Table of Contents > ================= > 1 Terms > 1.1 Top level libraries > 1.2 Tools > 1.3 Services > 2 Problems with setuptools > 3 Related tools > 4 Reference materials > 4.1 http://guide.python-distribute.org > 4.2 Distutils docs > 5 Upto date information > 6 Helping out > > > 1 Terms > ======== > > 1.1 Top level libraries > ------------------------ > - Distutils : Standard library simple stuff > - Setuptools : Massive improvements to setuptools by Philip Eby > - Distribute : Fork of Setuptools by Tarek > - Distutils2 : Nextgen distutils + setuptools for standard > library (Python 3.3) > > 1.2 Tools > ---------- > - easy_install : Installer which is part of setuptools (PJE) > - pip : Next gen installer which will be part of > distutils2 (Ian Bicking) > > 1.3 Services > ------------- > - PyPI : CPAN for Python (Richard Jones[web] + Andrew > Kuchling[metadata]) > > 2 Problems with setuptools > =========================== > - Semi unmaintained. > - No fast enough releases. > - No Python 3 support > > 3 Related tools > ================ > - Virtualenv > - For private pools of packages which can be used for a projects > - Ian Bicking's hack > - Buildout > - More heavy duty for complete isolated, repeatable installations > - Extensible using recipes > > 4 Reference materials > ====================== > > 4.1 [http://guide.python-distribute.org] > ----------------------------------------- > - Hitchhikers guide to packaging > - [http://bitbucket.org/tarek/hitchhiker-guide-packaging/wiki/Home] > to contribute. > - [http://guide.python-distribute.org/history.html] for historical > information > > 4.2 Distutils docs > ------------------- > - [http://docs.python.org/library/distutils.html] (Greg Ward, > Anthony Baxter) > > > 5 Upto date information > ======================== > - [http://twitter.com/packagingpig] > - Why a pig? > > 6 Helping out > ============== > - Distutils2 : [https://bitbucket.org/tarek/distutils2/] > - Distribute : [https://bitbucket.org/tarek/distribute/] > - HHG2P : [https://bitbucket.org/tarek/hitchhiker-guide-packaging/] > > ---This is something I'd like to attend. Please confirm the dates -- Ramdas S +91 9342 583 065 From noufal at gmail.com Thu Mar 11 06:00:02 2010 From: noufal at gmail.com (Noufal Ibrahim) Date: Thu, 11 Mar 2010 10:30:02 +0530 Subject: [BangPypers] Feb user group meeting In-Reply-To: <6e38f9f01003101955k7485a7b9u900d39bf50e7922@mail.gmail.com> References: <9963e56e1002230705s77fe2015s6d1fcd0e4bea15bc@mail.gmail.com> <3d62196a1002230734oad0607fx35e153388f2ed9be@mail.gmail.com> <9963e56e1003041821r11a17e3alebd66b87bc5356cf@mail.gmail.com> <9963e56e1003101248h1ab16206i955bbaec393482a5@mail.gmail.com> <6e38f9f01003101955k7485a7b9u900d39bf50e7922@mail.gmail.com> Message-ID: <9963e56e1003102100y4c105ea0v78e423c550038c65@mail.gmail.com> On Thu, Mar 11, 2010 at 9:25 AM, Ramdas S wrote: [..] > ---This is something I'd like to attend. Please confirm the dates March 6 2010. Last weekend. :) -- ~noufal http://nibrahim.net.in From jinsthomas at gmail.com Thu Mar 11 07:43:45 2010 From: jinsthomas at gmail.com (Jins Thomas) Date: Thu, 11 Mar 2010 12:13:45 +0530 Subject: [BangPypers] [OT] Tools for writing books and publishing as pdfs Message-ID: Hi all, This is an off-topic. Would somebody please pass some suggestions on how we can write some e-book, technical in nature. I'm planning to write one book on telecom network domain . My main motive is to learn some more solid things while writing this book. So i was just thinking there is any good way by which we write this and publish as pdfs in the internet. I was curious how our free python tutorials being written, like 'A byte of python' , ThinkCSPY etc. Cheers Jins Thomas From lists.amitsaha at gmail.com Thu Mar 11 07:48:04 2010 From: lists.amitsaha at gmail.com (Amit Saha) Date: Thu, 11 Mar 2010 12:18:04 +0530 Subject: [BangPypers] [OT] Tools for writing books and publishing as pdfs In-Reply-To: References: Message-ID: <4B989224.7070404@gmail.com> Hello Jins Thomas: Jins Thomas wrote: > Hi all, > > This is an off-topic. > > Would somebody please pass some suggestions on how we can write some e-book, > technical in nature. I'm planning to write one book on telecom network > domain . My main motive is to learn some more solid things while writing > this book. So i was just thinking there is any good way by which we write > this and publish as pdfs in the internet. I was curious how our free python > tutorials being written, like 'A byte of python' , ThinkCSPY etc. They use mainly LaTex- the advantage being that you have print quality PDFs,PS, and HTML from the same source. So, if you have used LaTex, it is a good bet. If you haven't, you may want to explore the option. I have a feeling, you might just fall in love with it :) Another option is to look at DocBook. (which I just happen to know of). HTH, Amit > > > > > Cheers > Jins Thomas > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Journal: http://amitksaha.wordpress.com ?-blog: http://twitter.com/amitsaha IRC: cornucopic on #scheme, #lisp, #math, #linux From abpillai at gmail.com Thu Mar 11 07:51:31 2010 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Thu, 11 Mar 2010 12:21:31 +0530 Subject: [BangPypers] [OT] Tools for writing books and publishing as pdfs In-Reply-To: References: Message-ID: <8548c5f31003102251k61d61b8bjbbd6076e0167d8a6@mail.gmail.com> On Thu, Mar 11, 2010 at 12:13 PM, Jins Thomas wrote: > Hi all, > > This is an off-topic. > > Would somebody please pass some suggestions on how we can write some > e-book, > technical in nature. I'm planning to write one book on telecom network > domain . My main motive is to learn some more solid things while writing > this book. So i was just thinking there is any good way by which we write > this and publish as pdfs in the internet. I was curious how our free python > tutorials being written, like 'A byte of python' , ThinkCSPY etc. > In the Python world, I would say restructuredText, docutils, Sphinx in that order. > > > > > Cheers > Jins Thomas > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand From noufal at gmail.com Thu Mar 11 08:09:24 2010 From: noufal at gmail.com (Noufal Ibrahim) Date: Thu, 11 Mar 2010 12:39:24 +0530 Subject: [BangPypers] [OT] Tools for writing books and publishing as pdfs In-Reply-To: References: Message-ID: <9963e56e1003102309s48960804mafb9494475f9af4c@mail.gmail.com> On Thu, Mar 11, 2010 at 12:13 PM, Jins Thomas wrote: > Hi all, > > This is an off-topic. > > Would somebody please pass some suggestions on how we can write some e-book, > technical in nature. I'm planning to write one book on telecom network > domain . My main motive is to learn some more solid things while writing > this book. So i was just thinking there is any good way by which we write > this and publish as pdfs in the internet. I was curious how our free python > tutorials being written, like 'A byte of python' , ThinkCSPY etc. http://us.pycon.org/2010/conference/schedule/event/69/ might be relevant to what you're looking for. One thing to not lose sight of is the fact that with books, content is much more important than style and presentation. I'd suggest you focus on that and stick with any technology that you're comfortable with. -- ~noufal http://nibrahim.net.in From lawgon at au-kbc.org Thu Mar 11 08:23:10 2010 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Thu, 11 Mar 2010 12:53:10 +0530 Subject: [BangPypers] [OT] Tools for writing books and publishing as pdfs In-Reply-To: <8548c5f31003102251k61d61b8bjbbd6076e0167d8a6@mail.gmail.com> References: <8548c5f31003102251k61d61b8bjbbd6076e0167d8a6@mail.gmail.com> Message-ID: <201003111253.10320.lawgon@au-kbc.org> On Thursday 11 Mar 2010 12:21:31 pm Anand Balachandran Pillai wrote: > > Would somebody please pass some suggestions on how we can write some > > e-book, > > technical in nature. I'm planning to write one book on telecom network > > domain . My main motive is to learn some more solid things while writing > > this book. So i was just thinking there is any good way by which we write > > this and publish as pdfs in the internet. I was curious how our free > > python tutorials being written, like 'A byte of python' , ThinkCSPY etc. > > In the Python world, I would say restructuredText, docutils, Sphinx > in that order. > the whole point is: how are you going to write the book? Collaborative open source effort with version control - or just your own thing? The above recomendations are for the first, and for the second, use any word/text processor you want. -- regards Kenneth Gonsalves Senior Associate NRC-FOSS http://certificate.nrcfoss.au-kbc.org.in From saju.pillai at gmail.com Thu Mar 11 08:31:56 2010 From: saju.pillai at gmail.com (Saju Pillai) Date: Thu, 11 Mar 2010 13:01:56 +0530 Subject: [BangPypers] [OT] Tools for writing books and publishing as pdfs In-Reply-To: References: Message-ID: <4B989C6C.4040609@gmail.com> Jins Thomas wrote: > Hi all, > > This is an off-topic. > > Would somebody please pass some suggestions on how we can write some e-book, > technical in nature. I'm planning to write one book on telecom network > domain . My main motive is to learn some more solid things while writing > this book. So i was just thinking there is any good way by which we write > this and publish as pdfs in the internet. I was curious how our free python > tutorials being written, like 'A byte of python' , ThinkCSPY etc. > Recommend LaTex. I tried using DocBook, but all that XML love caused a minor haemorrhage, YMMV ofcourse. -srp From jaideep.dhok at gmail.com Thu Mar 11 08:38:49 2010 From: jaideep.dhok at gmail.com (Jaideep Dhok) Date: Thu, 11 Mar 2010 13:08:49 +0530 Subject: [BangPypers] [OT] Tools for writing books and publishing as pdfs In-Reply-To: <4B989C6C.4040609@gmail.com> References: <4B989C6C.4040609@gmail.com> Message-ID: <71c5dd411003102338o5d4969eapced54bb25fdd4562@mail.gmail.com> You can take a look at LyX - http://www.lyx.org/. It's a document processor that uses LaTeX in the background. Makes using LaTeX bit easier. - Jaideep On Thu, Mar 11, 2010 at 1:01 PM, Saju Pillai wrote: > Jins Thomas wrote: >> >> Hi all, >> >> This is an off-topic. >> >> Would somebody please pass some suggestions on how we can write some >> e-book, >> technical in nature. I'm planning to write one book on telecom network >> domain . My main motive is to learn some more solid things while writing >> this book. So i was just thinking there is any good way by which we write >> this and publish as pdfs in the internet. I was curious how our free >> python >> tutorials being written, like 'A byte of python' , ThinkCSPY etc. >> > > Recommend LaTex. > > I tried using DocBook, but all that XML love caused a minor haemorrhage, > YMMV ofcourse. > > -srp > > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Jaideep Dhok From vinayakh at gmail.com Thu Mar 11 08:52:50 2010 From: vinayakh at gmail.com (Vinayak Hegde) Date: Thu, 11 Mar 2010 13:22:50 +0530 Subject: [BangPypers] [OT] Tools for writing books and publishing as pdfs In-Reply-To: References: Message-ID: <38940f3c1003102352n11b658a5ua0deaf7b5b9574b2@mail.gmail.com> On Thu, Mar 11, 2010 at 12:13 PM, Jins Thomas wrote: > Hi all, > > This is an off-topic. > > Would somebody please pass some suggestions on how we can write some e-book, > technical in nature. I'm planning to write one book on telecom network > domain . My main motive is to learn some more solid things while writing > this book. So i was just thinking there is any good way by which we write > this and publish as pdfs in the internet. I was curious how our free python > tutorials being written, like 'A byte of python' , ThinkCSPY etc. As other have suggested - Latex would be ideal. It is also possible to write using a wiki. There are some plugins for mediawiki which can help you convert to PDF but the output would not be as good as Latex. -- Vinayak From steve at lonetwin.net Thu Mar 11 09:06:57 2010 From: steve at lonetwin.net (steve) Date: Thu, 11 Mar 2010 13:36:57 +0530 Subject: [BangPypers] [OT] Tools for writing books and publishing as pdfs In-Reply-To: <8548c5f31003102251k61d61b8bjbbd6076e0167d8a6@mail.gmail.com> References: <8548c5f31003102251k61d61b8bjbbd6076e0167d8a6@mail.gmail.com> Message-ID: <4B98A4A1.8020103@lonetwin.net> On 03/11/2010 12:21 PM, Anand Balachandran Pillai wrote: > On Thu, Mar 11, 2010 at 12:13 PM, Jins Thomas wrote: > >> Hi all, >> >> This is an off-topic. >> >> Would somebody please pass some suggestions on how we can write some >> e-book, >> technical in nature. I'm planning to write one book on telecom network >> domain . My main motive is to learn some more solid things while writing >> this book. So i was just thinking there is any good way by which we write >> this and publish as pdfs in the internet. I was curious how our free python >> tutorials being written, like 'A byte of python' , ThinkCSPY etc. >> > > In the Python world, I would say restructuredText, docutils, Sphinx > in that order. > Just to chip in, restrcturedText can also export to LaTeX besides other formats (rst2* commands). For a book though, I would recommend investing time to learn LaTeX and using it directly instead. cheers, - steve -- random new spiel: http://lonetwin.net/ random old spiel: http://lonetwin.blogspot.com/ what i'm stumbling into: http://lonetwin.stumbleupon.com/ From kushaldas at gmail.com Thu Mar 11 09:38:46 2010 From: kushaldas at gmail.com (Kushal Das) Date: Thu, 11 Mar 2010 14:08:46 +0530 Subject: [BangPypers] [OT] Tools for writing books and publishing as pdfs In-Reply-To: References: Message-ID: On Thu, Mar 11, 2010 at 12:13 PM, Jins Thomas wrote: > Hi all, > > This is an off-topic. > > Would somebody please pass some suggestions on how we can write some e-book, > technical in nature. I'm planning to write one book on telecom network > domain . My main motive is to learn some more solid things while writing > this book. So i was just thinking there is any good way by which we write > this and publish as pdfs in the internet. I was curious how our free python > tutorials being written, like 'A byte of python' , ThinkCSPY etc. You can try publican, result will look like [1], you can generate result in other formats also. [1] http://kushal.fedorapeople.org/book/ Kushal -- http://fedoraproject.org http://kushaldas.in From ramdaz at gmail.com Thu Mar 11 10:40:21 2010 From: ramdaz at gmail.com (Ramdas S) Date: Thu, 11 Mar 2010 15:10:21 +0530 Subject: [BangPypers] [OT] Tools for writing books and publishing as pdfs In-Reply-To: References: Message-ID: <6e38f9f01003110140u12829372qecd517c3c28aca0@mail.gmail.com> > > > My two cents Invest more time into getting great content, make it slick, ensure no typos, and non-ambiguous accurate content rather than worry about styling and presentation In case if some publisher wants to publish/print your book, make sure whatever format you use is easily imported into MS Word. I spent years in publishing, and still has a leg in the space, and everyone needs it in MS Word... -- Ramdas S +91 9342 583 065 From Girish.Goudar at goodrich.com Fri Mar 12 07:34:18 2010 From: Girish.Goudar at goodrich.com (Goudar, Girish) Date: Fri, 12 Mar 2010 14:34:18 +0800 Subject: [BangPypers] Hi Message-ID: Hi, Can u pls tell what the return value of python function is? socket.connect((host, port)) on SUCCESS and on FAIL? Regards, Girish P.G From noufal at gmail.com Fri Mar 12 07:57:44 2010 From: noufal at gmail.com (Noufal Ibrahim) Date: Fri, 12 Mar 2010 12:27:44 +0530 Subject: [BangPypers] Hi In-Reply-To: References: Message-ID: <9963e56e1003112257j4fd990dfra00a21a4ccbeb920@mail.gmail.com> On Fri, Mar 12, 2010 at 12:04 PM, Goudar, Girish wrote: > Hi, > > > > Can u pls tell what the return value of python function is? > > > > socket.connect((host, port)) > > > > on SUCCESS and on FAIL? The details are at http://docs.python.org/library/socket.html Python code doesn't usually rely on returning an error value. All error conditions are abstracted into exceptions which your calling code can catch. From the docs. All errors raise exceptions. The normal exceptions for invalid argument types and out-of-memory conditions can be raised; errors related to socket or address semantics raise the error socket.error. [..] -- ~noufal http://nibrahim.net.in From srinivas_thatiparthy at akebonosoft.com Fri Mar 12 08:02:53 2010 From: srinivas_thatiparthy at akebonosoft.com (Srinivas Reddy Thatiparthy) Date: Fri, 12 Mar 2010 12:32:53 +0530 Subject: [BangPypers] Hi References: <9963e56e1003112257j4fd990dfra00a21a4ccbeb920@mail.gmail.com> Message-ID: <4EF2BF691B890546B2694C99A2852F0C01D832E0@astserver3.akebonosoft.com> >All error conditions are abstracted into exceptions which your calling >code can catch. My 2 cents;from the Zen of Python , "Errors should never pass silently,Unless explicitly silenced" Thanks&Regards, Srinivas Reddy Thatiparthy, Mobile:9393099772, From lawgon at au-kbc.org Mon Mar 15 09:24:38 2010 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Mon, 15 Mar 2010 13:54:38 +0530 Subject: [BangPypers] recursion not working Message-ID: <201003151354.39162.lawgon@au-kbc.org> hi, here is a function I have written: def getaccbal(accnt,bal): account = Account.objects.get(pk=accnt) if account.vouch: bal = bal + getledgerob(account) else: children = account.account_set.all() for child in children: getaccbal(child.id,bal) return bal if I try this with bal=0, on each recursion bal gets reset to 0 and I always get a 0 as a result. (If I put bal=20, result is 20). Must be something very simple that I am missing. -- regards Kenneth Gonsalves Senior Associate NRC-FOSS http://certificate.nrcfoss.au-kbc.org.in From rmathews at gmail.com Mon Mar 15 09:44:28 2010 From: rmathews at gmail.com (Roshan Mathews) Date: Mon, 15 Mar 2010 14:14:28 +0530 Subject: [BangPypers] recursion not working In-Reply-To: <201003151354.39162.lawgon@au-kbc.org> References: <201003151354.39162.lawgon@au-kbc.org> Message-ID: <1c4dc2781003150144n118d8c3alcb67da109466ffe@mail.gmail.com> On Mon, Mar 15, 2010 at 13:54, Kenneth Gonsalves wrote: > ? ? ? ?for child in children: > ? ? ? ? ? ?getaccbal(child.id,bal) This line returns a "balance" which is discarded. Maybe it should be: bal += getaccbal(...) ? Roshan Mathews From hiddenharmony at gmail.com Mon Mar 15 09:44:47 2010 From: hiddenharmony at gmail.com (Vivek Khurana) Date: Mon, 15 Mar 2010 14:14:47 +0530 Subject: [BangPypers] recursion not working In-Reply-To: <201003151354.39162.lawgon@au-kbc.org> References: <201003151354.39162.lawgon@au-kbc.org> Message-ID: <91bea30d1003150144o53105dbbp11882b29f10ef814@mail.gmail.com> On Mon, Mar 15, 2010 at 1:54 PM, Kenneth Gonsalves wrote: > hi, > > here is a function I have written: > > def getaccbal(accnt,bal): > ? ?account = Account.objects.get(pk=accnt) > > ? ?if account.vouch: > ? ? ? ?bal = bal + getledgerob(account) > ? ?else: > ? ? ? ?children = account.account_set.all() > ? ? ? ?for child in children: > ? ? ? ? ? ?getaccbal(child.id,bal) > ? ?return bal > > if I try this with bal=0, on each recursion bal gets reset to 0 and I always > get a 0 as a result. (If I put bal=20, result is 20). Must be something very > simple that I am missing. Look at the else block. you are calling getaccbal but not receiving the return value in any variable. Unless you receive the value in a variable or pass bal as a reference, bal will contain the old value. If you are using OOP then you should be calling geraccbal as self.bal . regards Vivek -- The hidden harmony is better than the obvious!! From pythonic at gmail.com Mon Mar 15 09:46:37 2010 From: pythonic at gmail.com (Shekhar) Date: Mon, 15 Mar 2010 14:16:37 +0530 Subject: [BangPypers] recursion not working In-Reply-To: <201003151354.39162.lawgon@au-kbc.org> References: <201003151354.39162.lawgon@au-kbc.org> Message-ID: <4B9DF3ED.1020301@gmail.com> Kenneth Gonsalves wrote: > hi, > > here is a function I have written: > > def getaccbal(accnt,bal): > account = Account.objects.get(pk=accnt) > > if account.vouch: > bal = bal + getledgerob(account) > else: > children = account.account_set.all() > for child in children: > getaccbal(child.id,bal) > return bal > may be for child in children: bal += getaccbal(child.id, bal) ^^^^^ return bal > if I try this with bal=0, on each recursion bal gets reset to 0 and I always > get a 0 as a result. (If I put bal=20, result is 20). Must be something very > simple that I am missing. > From jeffjosejeff at gmail.com Mon Mar 15 10:03:52 2010 From: jeffjosejeff at gmail.com (Jeffrey Jose) Date: Mon, 15 Mar 2010 14:33:52 +0530 Subject: [BangPypers] recursion not working In-Reply-To: <1c4dc2781003150144n118d8c3alcb67da109466ffe@mail.gmail.com> References: <201003151354.39162.lawgon@au-kbc.org> <1c4dc2781003150144n118d8c3alcb67da109466ffe@mail.gmail.com> Message-ID: Good catch. On Mon, Mar 15, 2010 at 2:14 PM, Roshan Mathews wrote: > On Mon, Mar 15, 2010 at 13:54, Kenneth Gonsalves > wrote: > > for child in children: > > getaccbal(child.id,bal) > > This line returns a "balance" which is discarded. Maybe it should be: > bal += getaccbal(...) ? > > Roshan Mathews > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From lawgon at au-kbc.org Mon Mar 15 10:48:19 2010 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Mon, 15 Mar 2010 15:18:19 +0530 Subject: [BangPypers] recursion not working In-Reply-To: <1c4dc2781003150144n118d8c3alcb67da109466ffe@mail.gmail.com> References: <201003151354.39162.lawgon@au-kbc.org> <1c4dc2781003150144n118d8c3alcb67da109466ffe@mail.gmail.com> Message-ID: <201003151518.19492.lawgon@au-kbc.org> On Monday 15 Mar 2010 2:14:28 pm Roshan Mathews wrote: > On Mon, Mar 15, 2010 at 13:54, Kenneth Gonsalves wrote: > > for child in children: > > getaccbal(child.id,bal) > > This line returns a "balance" which is discarded. Maybe it should be: > bal += getaccbal(...) ? > yes. thanks. -- regards Kenneth Gonsalves Senior Associate NRC-FOSS http://certificate.nrcfoss.au-kbc.org.in From anand.shashwat at gmail.com Fri Mar 19 12:04:43 2010 From: anand.shashwat at gmail.com (Shashwat Anand) Date: Fri, 19 Mar 2010 16:34:43 +0530 Subject: [BangPypers] Joel post on DVCS (probably his last one) Message-ID: In what might be his last Joel on Software post (for awhile, at least) http://www.joelonsoftware.com/items/2010/03/17.html Summary: Early 2009: Joel disses DVCSes. His programmers switch from subversion to hg. Joel grumbles. His programmers develop an hg-related product. Joel takes a better look. Joel sees the light: Subversion controls versions, hg controls changes; this make merging much easier. Joel flips (his opinion): Switch now! Joel write hg tutorial: http://hginit.com/ It starts with "Subversion Re-education" for existing version-oriented system users and continue with "Ground up Mercurial" where new vcs users can start. It has several simple examples. Having gotten that far, I think this might be worth referencing in new dev docs. As quoted by 'Terry Jan Reedy' in python-dev mailing list From createam at gmail.com Mon Mar 22 10:44:10 2010 From: createam at gmail.com (Manoj NV) Date: Mon, 22 Mar 2010 15:14:10 +0530 Subject: [BangPypers] web.py on apache and windows Message-ID: <75d67a191003220244r3b96f21asd17d8d0ac5911da8@mail.gmail.com> Hi, I'm trying to use web.py on apache, but sadly I'm on windows and getting into lot of issues. I'm using the instructions here http://webpy.org/cookbook/fastcgi-apache for the configuration. Now I get these errors in the apache error logs [Mon Mar 22 15:03:47 2010] [info] mod_fcgid: server TH0452.thbs.india.com:C:/Python26/python.exe(1384) started [Mon Mar 22 15:03:47 2010] [warn] [client 127.0.0.1] (OS 109)The pipe has been ended. : mod_fcgid: get overlap result error [Mon Mar 22 15:03:47 2010] [error] [client 127.0.0.1] Premature end of script headers: code.py [Mon Mar 22 15:03:52 2010] [info] mod_fcgid: process C:/Python26/python.exe(1384) exit(communication error), return code 1 If I run my code.py independently, I get, Status: 404 Not Found Content-Type: text/html not foundWSGIServer: missing FastCGI param REQUEST_METHOD required by WSGI! WSGIServer: missing FastCGI param SERVER_NAME required by WSGI! WSGIServer: missing FastCGI param SERVER_PORT required by WSGI! WSGIServer: missing FastCGI param SERVER_PROTOCOL required by WSGI! which looks fine to me. Anyone faced these issues and have any solutions/workarounds for this? Thanks, Manoj From manish at indiakhelo.com Mon Mar 22 13:36:52 2010 From: manish at indiakhelo.com (Manish Singh) Date: Mon, 22 Mar 2010 18:06:52 +0530 Subject: [BangPypers] Python-Django developers required Message-ID: <39c32c31003220536n74b113fdt738001064c5df9d7@mail.gmail.com> Hi, IndiaKhelo is looking for full-time/part-time Django developers for developing a web project. *Requirements:* * Must have experience in developing and deploying web projects (end-to-end) in Django. * Must have experience in MySQL. * Must be comfortable with Django template system. * Knowledge of JavaScript * Knowledge of Apache Location: Bangalore ** If interested, please send your resume at manish at indiakhelo.com or contact at the number below. Regards, Manish Singh IndiaKhelo +91 95350095341 From abpillai at gmail.com Mon Mar 22 13:39:33 2010 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Mon, 22 Mar 2010 18:09:33 +0530 Subject: [BangPypers] Python-Django developers required In-Reply-To: <39c32c31003220536n74b113fdt738001064c5df9d7@mail.gmail.com> References: <39c32c31003220536n74b113fdt738001064c5df9d7@mail.gmail.com> Message-ID: <8548c5f31003220539y4ed4ed66s1a5b339ba7a0a32@mail.gmail.com> On Mon, Mar 22, 2010 at 6:06 PM, Manish Singh wrote: > Hi, > > > Please prefix title of job postings with [Job]. Thanks --Anand -- --Anand From manish at indiakhelo.com Mon Mar 22 13:41:05 2010 From: manish at indiakhelo.com (Manish Singh) Date: Mon, 22 Mar 2010 18:11:05 +0530 Subject: [BangPypers] Python-Django developers required Message-ID: <39c32c31003220541w4a12e409r29704c8a99febcd2@mail.gmail.com> Hi, IndiaKhelo is looking for full-time/part-time Django developers for developing a web project. *Requirements:* * Must have experience in developing and deploying web projects (end-to-end) in Django. * Must have experience in MySQL. * Must be comfortable with Django template system. * Knowledge of JavaScript * Knowledge of Apache Location: Bangalore ** If interested, please send your resume at manish at indiakhelo.com or contact at the number below. Regards, Manish Singh IndiaKhelo +91 9535009541 From steve at lonetwin.net Mon Mar 22 14:10:10 2010 From: steve at lonetwin.net (steve) Date: Mon, 22 Mar 2010 18:40:10 +0530 Subject: [BangPypers] Python-Django developers required In-Reply-To: <8548c5f31003220539y4ed4ed66s1a5b339ba7a0a32@mail.gmail.com> References: <39c32c31003220536n74b113fdt738001064c5df9d7@mail.gmail.com> <8548c5f31003220539y4ed4ed66s1a5b339ba7a0a32@mail.gmail.com> Message-ID: <4BA76C32.4060509@lonetwin.net> On 03/22/2010 06:09 PM, Anand Balachandran Pillai wrote: > On Mon, Mar 22, 2010 at 6:06 PM, Manish Singh wrote: > >> Hi, >> >> >> > > Please prefix title of job postings with [Job]. > Also, posting here might help too: http://fossjobs.in http://www.python.org/community/jobs/index.html cheers, - steve -- random new spiel: http://lonetwin.net/ random old spiel: http://lonetwin.blogspot.com/ what i'm stumbling into: http://lonetwin.stumbleupon.com/ From alephnull at hcoop.net Mon Mar 22 11:30:23 2010 From: alephnull at hcoop.net (Alok G. Singh) Date: Mon, 22 Mar 2010 16:00:23 +0530 Subject: [BangPypers] web.py on apache and windows References: <75d67a191003220244r3b96f21asd17d8d0ac5911da8@mail.gmail.com> Message-ID: <87d3ywbqdc.fsf@klein.localdomain> Given a choice, I'd setup web.py as a WSGI service rather than FastCGI. Also, make sure you are using the latest web.py. You should also join the web.py mailing list[1]. Footnotes: [1] http://groups.google.com/group/webpy/ -- Alok Love is an obsessive delusion that is cured by marriage. -- Dr. Karl Bowman From createam at gmail.com Tue Mar 23 05:08:32 2010 From: createam at gmail.com (Manoj NV) Date: Tue, 23 Mar 2010 09:38:32 +0530 Subject: [BangPypers] web.py on apache and windows In-Reply-To: <87d3ywbqdc.fsf@klein.localdomain> References: <75d67a191003220244r3b96f21asd17d8d0ac5911da8@mail.gmail.com> <87d3ywbqdc.fsf@klein.localdomain> Message-ID: <75d67a191003222108u5d0eeb13ud32d97cdf941dd61@mail.gmail.com> Thanks Alok. The main reason I'm trying to setup with fastcgi is not all webhosts support wsgi. I'll look into that option too. Thanks, Manoj On Mon, Mar 22, 2010 at 4:00 PM, Alok G. Singh wrote: > Given a choice, I'd setup web.py as a WSGI service rather than > FastCGI. Also, make sure you are using the latest web.py. You should > also join the web.py mailing list[1]. > > > Footnotes: > [1] http://groups.google.com/group/webpy/ > > -- > Alok > > Love is an obsessive delusion that is cured by marriage. > -- Dr. Karl Bowman > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- http://www.flickr.com/photos/createam From goldee at gmail.com Tue Mar 23 06:53:54 2010 From: goldee at gmail.com (Goldee Udani) Date: Tue, 23 Mar 2010 11:23:54 +0530 Subject: [BangPypers] Job: Python/Django Developer Message-ID: Looking for an experienced Django/Python developer to help an exciting beta stage startup. We are building SaaS based Social Media Analytics platform. Some of our current challenges are: - innovative data visualization (Sample: http://www.crunchbase.com/assets/images/original/0007/3492/73492v2.jpg) - scaling - security Requirements: - Python - Django (1.1) - JQuery, Raphaeljs/ProtoVis, Javascript - Flex/Actionscript - HTML, CSS - Basic Knowledge of Shell Scripting - Comfortable with *nix systems Links to web applications you have worked on, Blog, or open-source code contributions are all a plus. Please reply with a resume (preferably in HTML/TXT format) to jobs at beevolve.com with the subject 'JOB-CDJ-002'. From mbaiju at zeomega.com Tue Mar 23 18:44:20 2010 From: mbaiju at zeomega.com (Baiju M) Date: Tue, 23 Mar 2010 23:14:20 +0530 Subject: [BangPypers] March meeting Message-ID: Let's meet this Saturday ? From noufal at gmail.com Tue Mar 23 18:49:12 2010 From: noufal at gmail.com (Noufal Ibrahim) Date: Tue, 23 Mar 2010 23:19:12 +0530 Subject: [BangPypers] March meeting In-Reply-To: References: Message-ID: <9963e56e1003231049u42a915d7r7bbf8c1b6f459907@mail.gmail.com> On Tue, Mar 23, 2010 at 11:14 PM, Baiju M wrote: > Let's meet this Saturday ?[..] I have some other plans or this weekend and won't be able to come but if there are sufficient people, good idea. I am planning (like we said in our last meeting) to have a sprint in April. -- ~noufal http://nibrahim.net.in From Girish.Goudar at goodrich.com Thu Mar 25 07:28:03 2010 From: Girish.Goudar at goodrich.com (Goudar, Girish) Date: Thu, 25 Mar 2010 14:28:03 +0800 Subject: [BangPypers] Getting process handle and thread handles from DEOS Message-ID: Hi all, I have developed a test frame work in which scripts are written in Python and Target is the DEOS. I am issuing commands like "create process", "create threads" from the Python script. I want to get the information on "process handle" and "thread handles in that process" from the Python script. Is there ant command from the Python script to get these information from the DEOS? Thanks and Regards, Girish P.G From supr.e.etsethi at gmail.com Thu Mar 25 10:26:33 2010 From: supr.e.etsethi at gmail.com (s|s) Date: Thu, 25 Mar 2010 09:26:33 +0000 Subject: [BangPypers] [OT] Tools for writing books and publishing as pdfs In-Reply-To: <6e38f9f01003110140u12829372qecd517c3c28aca0@mail.gmail.com> References: <6e38f9f01003110140u12829372qecd517c3c28aca0@mail.gmail.com> Message-ID: I second Anand on sphinx. Although collaborative effort could be done better with Google docs. -- Supreet Sethi Ph UK: +447859172473 Ph IN: +919811143517 Ph Skype: d_j_i_n_n Profile: http://www.google.com/profiles/supreet.sethi Twt: http://twitter.com/djinn From pradeep at btbytes.com Thu Mar 25 14:18:41 2010 From: pradeep at btbytes.com (Pradeep Gowda) Date: Thu, 25 Mar 2010 09:18:41 -0400 Subject: [BangPypers] Getting process handle and thread handles from DEOS In-Reply-To: References: Message-ID: On Mar 25, 2010, at 2:28, "Goudar, Girish" wrote: > Is there ant command from the Python script to > get these information from the DEOS? > > What is DEOS? From ankur at thinklabs.in Thu Mar 25 14:23:48 2010 From: ankur at thinklabs.in (Ankur Gupta) Date: Thu, 25 Mar 2010 18:53:48 +0530 Subject: [BangPypers] Getting process handle and thread handles from DEOS In-Reply-To: References: Message-ID: DEOS ? On Thu, Mar 25, 2010 at 11:58 AM, Goudar, Girish wrote: > Hi all, > > > > I have developed a test frame work in which scripts are written in > Python and Target is the DEOS. I am issuing commands like "create > process", "create threads" from the Python script. I want to get the > information on "process handle" and "thread handles in that process" > from the Python script. Is there ant command from the Python script to > get these information from the DEOS? > > > > Thanks and Regards, > > Girish P.G > > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From nagappan at gmail.com Fri Mar 26 07:41:00 2010 From: nagappan at gmail.com (Nagappan Alagappan) Date: Thu, 25 Mar 2010 23:41:00 -0700 Subject: [BangPypers] Announce: Linux Desktop Testing Project (LDTP) 2.0.4 released Message-ID: <9d0602eb1003252341w2c485bf4sd1fe447aaa459e46@mail.gmail.com> Hello, About LDTP: Linux Desktop Testing Project is aimed at producing high quality test automation framework (using GNOME / Python) and cutting-edge tools that can be used to test Linux Desktop and improve it. It uses the Accessibility libraries to poke through the application's user interface. We strive to help in building a quality desktop. Changes in this release: LDTPv2 hang in Ubuntu 10.04 is fixed Don't navigate table cell, as it causes more resource and time in OpenOffice calc Added new API simulatemousemove for DnD test (VMware Workstation / Player Unity-GHI feature) Patch by Ara Pulido for b.g.o bug # 612311 Listen all Window events, else new application like Firefox is not listed waittillguiexist now can wait for state as well hasstate can wait for given time till the state is True Special thanks to Eitan Isaacson [1], Ara Pulido [2], James Tatum [3], Anupa Kamath [VMware, India], Slava Podokshik [VMware, USA] Download source: http://download.freedesktop.org/ldtp/2.x/2.0.x/ldtp-2.0.4.tar.gz Download RPM from http://download.opensuse.org/repositories/home:/anagappan:/ldtp2:/rpm/ Will schedule deb build in openSUSE build service tomorrow Documentation references: For detailed information on LDTP framework and latest updates visit http://ldtp.freedesktop.org For information on various APIs in LDTP including those added for this release can be got from http://ldtp.freedesktop.org/user-doc/index.html Report bugs - http://ldtp.freedesktop.org/wiki/Bugs To subscribe to LDTP mailing lists, visit http://ldtp.freedesktop.org/wiki/Mailing_20list IRC Channel - #ldtp on irc.freenode.net Thanks Nagappan [1] - http://monotonous.org/ [2] - http://ubuntutesting.wordpress.com/ [3] - https://launchpad.net/~jtatum -- Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com From admin.nitjece at gmail.com Fri Mar 26 11:26:43 2010 From: admin.nitjece at gmail.com (Diptanu Choudhury) Date: Fri, 26 Mar 2010 15:56:43 +0530 Subject: [BangPypers] Which JavaScript testing tool do you use? Message-ID: Hi, We are trying to automate some javascript unit test using buildbot? Has anyone done anything similar before? In general i would like, if you share your experience with Java Script testing. -- Thanks, Diptanu Choudhury Just a Coder, ThoughtWorks India Mobile - 09886760964 Web - www.linkedin.com/in/diptanu From saju.pillai at gmail.com Tue Mar 30 08:33:52 2010 From: saju.pillai at gmail.com (Saju Pillai) Date: Tue, 30 Mar 2010 12:03:52 +0530 Subject: [BangPypers] Which JavaScript testing tool do you use? In-Reply-To: References: Message-ID: <4BB19B50.1050005@gmail.com> Diptanu Choudhury wrote: > Hi, > > We are trying to automate some javascript unit test using buildbot? Has > anyone done anything similar before? > In general i would like, if you share your experience with Java Script > testing. > Try rhino.jar. We did some maven based automated REST api testing using rhino. Won't work for UI'sh things I think. -srp From kausikram at gmail.com Tue Mar 30 08:53:33 2010 From: kausikram at gmail.com (kausikram krishnasayee) Date: Tue, 30 Mar 2010 12:23:33 +0530 Subject: [BangPypers] Which JavaScript testing tool do you use? In-Reply-To: <4BB19B50.1050005@gmail.com> References: <4BB19B50.1050005@gmail.com> Message-ID: <2597ddb91003292353y4436b779of5cee1e49219b82c@mail.gmail.com> > > Try rhino.jar. We did some maven based automated REST api testing using > rhino. Won't work for UI'sh things I think. > will work for UIsh things as well. env.js [ http://ejohn.org/blog/bringing-the-browser-to-the-server/] can simulate the DOM environment in rhino. you can also consider trying nose-js which is a plugin for nose which would enable you to run rhino / spidermonkey based unit testing. without firing up a browser. -- Kausikram Krishnasayee Company: http://silverstripesoftware.com | Webpage: kausikram.net | Blog: blog.kausikram.net | Twitter: http://twitter.com/kausikram | Email: kausikram at gmail.com | Mobile: +91 9884246490 From lorddaemon at gmail.com Tue Mar 30 09:49:46 2010 From: lorddaemon at gmail.com (Darkseid) Date: Tue, 30 Mar 2010 13:19:46 +0530 Subject: [BangPypers] Which JavaScript testing tool do you use? In-Reply-To: References: Message-ID: <4BB1AD1A.6020609@gmail.com> Take a look at http://github.com/relevance/blue-ridge - it stitches together rhino, env.js and a bunch of other stuff for painless (and headless) js builds as well as a pretty nice (again headless) TDD setup. You may have to adapt it a little though (its a Rails plugin). Also have a chat with Irfan about this should you need help. That said, unless you have a rich enough view domain you're probably better off using Sahi. Cheers, Sidu. http://blog.sidu.in http://twitter.com/ponnappa Diptanu Choudhury wrote: > Hi, > > We are trying to automate some javascript unit test using buildbot? Has > anyone done anything similar before? > In general i would like, if you share your experience with Java Script > testing. > > From anuj_abhishek at yahoo.com Tue Mar 30 11:55:52 2010 From: anuj_abhishek at yahoo.com (anuj abhishek) Date: Tue, 30 Mar 2010 02:55:52 -0700 (PDT) Subject: [BangPypers] running python on mac... Message-ID: <932897.17360.qm@web55605.mail.re4.yahoo.com> Hi everyone... I bought myself a new mac this weekend..and I am having some trouble resizing the default font size on idle which is very small... I tried changing the settings through preferences but nothing happens when I click to apply the settings.. Mac users out there who could help me with this please..? Thanx... Anuj Abhishek From srinivas_thatiparthy at akebonosoft.com Tue Mar 30 12:11:18 2010 From: srinivas_thatiparthy at akebonosoft.com (Srinivas Reddy Thatiparthy) Date: Tue, 30 Mar 2010 15:41:18 +0530 Subject: [BangPypers] running python on mac... References: <932897.17360.qm@web55605.mail.re4.yahoo.com> Message-ID: <4EF2BF691B890546B2694C99A2852F0C01D83303@astserver3.akebonosoft.com> Probably this link could help. Anyway, i am not sarcastic about your question, http://www.google.co.in/search?q=idle+font+size+mac Thanks&Regards, Srinivas Reddy Thatiparthy, Mobile:9393099772, -----Original Message----- From: bangpypers-bounces+srinivas_thatiparthy=akebonosoft.com at python.org on behalf of anuj abhishek Sent: Tue 3/30/2010 3:25 PM To: bangpypers at python.org Subject: [BangPypers] running python on mac... Hi everyone... I bought myself a new mac this weekend..and I am having some trouble resizing the default font size on idle which is very small... I tried changing the settings through preferences but nothing happens when I click to apply the settings.. Mac users out there who could help me with this please..? Thanx... Anuj Abhishek _______________________________________________ BangPypers mailing list BangPypers at python.org http://mail.python.org/mailman/listinfo/bangpypers From anand.shashwat at gmail.com Tue Mar 30 15:04:16 2010 From: anand.shashwat at gmail.com (Shashwat Anand) Date: Tue, 30 Mar 2010 18:34:16 +0530 Subject: [BangPypers] running python on mac... In-Reply-To: <4EF2BF691B890546B2694C99A2852F0C01D83303@astserver3.akebonosoft.com> References: <932897.17360.qm@web55605.mail.re4.yahoo.com> <4EF2BF691B890546B2694C99A2852F0C01D83303@astserver3.akebonosoft.com> Message-ID: Just one question ? Why "Idle" after all ? On Tue, Mar 30, 2010 at 3:41 PM, Srinivas Reddy Thatiparthy < srinivas_thatiparthy at akebonosoft.com> wrote: > Probably this link could help. > Anyway, i am not sarcastic about your question, > http://www.google.co.in/search?q=idle+font+size+mac > > Thanks&Regards, > Srinivas Reddy Thatiparthy, > Mobile:9393099772, > > > > -----Original Message----- > From: bangpypers-bounces+srinivas_thatiparthy=akebonosoft.com at python.orgon behalf of anuj abhishek > Sent: Tue 3/30/2010 3:25 PM > To: bangpypers at python.org > Subject: [BangPypers] running python on mac... > > Hi everyone... > > I bought myself a new mac this weekend..and I am having some trouble > resizing the default font size on idle which is very small... > > I tried changing the settings through preferences but nothing happens when > I click to apply the settings.. > > Mac users out there who could help me with this please..? > > Thanx... > > Anuj Abhishek > > > > _______________________________________________ > 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 orsenthil at gmail.com Tue Mar 30 17:26:56 2010 From: orsenthil at gmail.com (Senthil Kumaran) Date: Tue, 30 Mar 2010 20:56:56 +0530 Subject: [BangPypers] running python on mac... In-Reply-To: <4EF2BF691B890546B2694C99A2852F0C01D83303@astserver3.akebonosoft.com> References: <932897.17360.qm@web55605.mail.re4.yahoo.com> <4EF2BF691B890546B2694C99A2852F0C01D83303@astserver3.akebonosoft.com> Message-ID: <20100330152656.GA2540@remy> anuj abhishek wrote: > I bought myself a new mac this weekend..and I am having some trouble resizing the default font size on idle which is very small... > > I tried changing the settings through preferences but nothing happens when I click to apply the settings.. > > Mac users out there who could help me with this please..? Anuj, do check this out too: http://wiki.python.org/moin/PythonEditors#Macintosh-OnlyEditors IDLE is just a toy editor to get started with, once you become serious you will move on to more feature-rich ones. -- Senthil Living your life is a task so difficult, it has never been attempted before. From anand.shashwat at gmail.com Tue Mar 30 22:57:38 2010 From: anand.shashwat at gmail.com (Shashwat Anand) Date: Wed, 31 Mar 2010 02:27:38 +0530 Subject: [BangPypers] @dabeaz visiting b'lore Message-ID: A good news for fellow bangPypers, David Beazley is visiting bangalore. PS> Residing in Allahabad sucks big time :( ~l0nwlf From madhubalav at infotechsw.com Wed Mar 31 08:25:47 2010 From: madhubalav at infotechsw.com (MADHUBALA VASIREDDY) Date: Wed, 31 Mar 2010 11:55:47 +0530 Subject: [BangPypers] [job]opportunity in web development Message-ID: <002e01cad09b$00437690$00ca63b0$@com> Hi , We are four member group working in python since 2004 for a customer(power plant) who is a senior programmer with around 20 years of experience . We develop various desktop tools and simulation tools for our customer. Now there is a requirement for web developer in the team. Following are the details of required skills . 1. 3 to 4 years of Python programming experience preferably in web development 2. Must be expert in web technologies , web frameworks (preferable Turbogears) 3. Expert in Ajax, css ,extJS and javascript 4. Should have expert knowledge in Databases 5. Knowledge in SVN and TRAC are preferable 6. An engineering/computer science graduate 7. Experience in Linux is required. Compensation will be based on the experience and according to the company norms. Position is at Hyderabad . If anyone is interested and having relevant experience can send the resume to the following mail id. mohans at infotechsw.com resumes can be accepted till 15th April 2010. -Madhubala From vsapre80 at gmail.com Wed Mar 31 12:07:48 2010 From: vsapre80 at gmail.com (Vishal) Date: Wed, 31 Mar 2010 15:37:48 +0530 Subject: [BangPypers] @dabeaz visiting b'lore In-Reply-To: References: Message-ID: OK, saw your twitter posting and question to his twitter account. Some more info would be great though. This is the guy who explained the GIL to the majority of the python speaking world. On Wed, Mar 31, 2010 at 3:35 PM, Vishal wrote: > Any more details about this? > > > On Wed, Mar 31, 2010 at 2:27 AM, Shashwat Anand wrote: > >> A good news for fellow bangPypers, David Beazley is visiting bangalore. >> >> PS> Residing in Allahabad sucks big time :( >> >> ~l0nwlf >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> > > > > -- > Thanks and best regards, > Vishal Sapre > > --- > > "So say...Day by day, in every way, I am getting better, better and better > !!!" > "A Strong and Positive attitude creates more miracles than anything else. > Because...Life is 10% how you make it, and 90% how you take it" > "Diamond is another piece of coal that did well under pressure? > "May we do good and not evil. May we find forgiveness for ourself and > forgive others. May we share freely, never taking more than we give." > -- Thanks and best regards, Vishal Sapre --- "So say...Day by day, in every way, I am getting better, better and better !!!" "A Strong and Positive attitude creates more miracles than anything else. Because...Life is 10% how you make it, and 90% how you take it" "Diamond is another piece of coal that did well under pressure? "May we do good and not evil. May we find forgiveness for ourself and forgive others. May we share freely, never taking more than we give." From vsapre80 at gmail.com Wed Mar 31 12:05:21 2010 From: vsapre80 at gmail.com (Vishal) Date: Wed, 31 Mar 2010 15:35:21 +0530 Subject: [BangPypers] @dabeaz visiting b'lore In-Reply-To: References: Message-ID: Any more details about this? On Wed, Mar 31, 2010 at 2:27 AM, Shashwat Anand wrote: > A good news for fellow bangPypers, David Beazley is visiting bangalore. > > PS> Residing in Allahabad sucks big time :( > > ~l0nwlf > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Thanks and best regards, Vishal Sapre --- "So say...Day by day, in every way, I am getting better, better and better !!!" "A Strong and Positive attitude creates more miracles than anything else. Because...Life is 10% how you make it, and 90% how you take it" "Diamond is another piece of coal that did well under pressure? "May we do good and not evil. May we find forgiveness for ourself and forgive others. May we share freely, never taking more than we give." From noufal at gmail.com Wed Mar 31 12:12:42 2010 From: noufal at gmail.com (Noufal Ibrahim) Date: Wed, 31 Mar 2010 15:42:42 +0530 Subject: [BangPypers] @dabeaz visiting b'lore In-Reply-To: References: Message-ID: On Wed, Mar 31, 2010 at 3:37 PM, Vishal wrote: > OK, saw your twitter posting and question to his twitter account. Some more > info would be great though. > > This is the guy who explained the GIL to the majority of the python speaking > world.[..] I was aware of his trip when I met him at PyCon in Feb. I believe he'll be here for around a week. I've asked him if it would be possible to join us for a user group meeting when he has some free time. I'll keep the list posted. I personally feel that the GIL presentation was the most well prepared talk of all the ones I attended. -- ~noufal http://nibrahim.net.in