From lee at icmobilelab.com Mon Oct 14 14:28:24 2013 From: lee at icmobilelab.com (Lee McLaughlin) Date: Mon, 14 Oct 2013 13:28:24 +0100 Subject: [Python Glasgow] [JOB] Django Tastypie/Rest-framework short term Message-ID: Hey, I'm looking fro a Django Tastypie/Rest-framework developer for a short term job, estimated 4-7 days work. We have a current version running but need to refactor the models for a new version and want to take the opportunity to just restart the project as it's fairly basic right now anyway. Simple REST Service that supports 3 data models (collection, item, userprofile) and filtering collection by lon,lat (just bounding box so standard TastyPie property filtering is sufficient) Needs to have ability to login using a facebook access token(currently implemented with django-social-auth) + username/password login using xAuth or OAuth 2.0 to authenticate the mobile app/website accessing the service. Deployed on an Amazon EC2 instance, deployment script would be handy :) Must return Amazon S3 presigned headers for webservice client to upload to S3 (working code sample can be provided for this) We are a mobile app development company which also develops related web services for the apps, we outsource work we don't have capacity for to good freelancers that can deliver. If we have misjudged the effort estimate on the project please comment. Please let us know availability in reply, looking for a quick start. Will use Trello for project communication and can provide suggested JSON data models and sample code from other project to speed up development. Your more than welcome to come into the office if your Glasgow based while your working on the project. Thanks for reading, Lee -------------- next part -------------- An HTML attachment was scrubbed... URL: From hedieh.ebrahimi at amphos21.com Thu Oct 24 13:08:14 2013 From: hedieh.ebrahimi at amphos21.com (Hedieh Ebrahimi) Date: Thu, 24 Oct 2013 13:08:14 +0200 Subject: [Python Glasgow] Using PyTables from PyDev Eclipse Message-ID: Hi all, I eclipse and pyDev installed. and previously i was working with python32. Now i installed pyTables and so I also installed python33. So i created a new project and i set up the interpreter as python33. When i type in >>> import tables >>> tables.test() in Python33 IDLE termina, the test finishes correctly. but When i try to use a simple statement like the one below in pyDev; i get the following error. from tables import * fileh=tables.openfile('myfile.h5') error: NameError: name 'tables' is not defined Could somebody please tell me what am i doing possibly wrong and how to fix it ? Thanks in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: From dougal85 at gmail.com Thu Oct 24 13:26:24 2013 From: dougal85 at gmail.com (Dougal Matthews) Date: Thu, 24 Oct 2013 12:26:24 +0100 Subject: [Python Glasgow] Using PyTables from PyDev Eclipse In-Reply-To: References: Message-ID: Hi, I think I spotted a few errors in your pyDev code. Try these lines... import tables fileh=tables.open_file('myfile.h5') On 24 October 2013 12:08, Hedieh Ebrahimi wrote: > Hi all, > I eclipse and pyDev installed. and previously i was working with python32. > > Now i installed pyTables and so I also installed python33. So i created a > new project and i set up the interpreter as python33. > > When i type in > > >>> import tables > >>> tables.test() > > in Python33 IDLE termina, the test finishes correctly. > > but When i try to use a simple statement like the one below in pyDev; i > get the following error. > > from tables import * > > fileh=tables.openfile('myfile.h5') > > > > error: > NameError: name 'tables' is not defined > > Could somebody please tell me what am i doing possibly wrong and how to > fix it ? > > > Thanks in advance > > > > > _______________________________________________ > Glasgow mailing list > Glasgow at python.org > https://mail.python.org/mailman/listinfo/glasgow > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From hedieh.ebrahimi at amphos21.com Thu Oct 24 14:30:40 2013 From: hedieh.ebrahimi at amphos21.com (Hedieh Ebrahimi) Date: Thu, 24 Oct 2013 14:30:40 +0200 Subject: [Python Glasgow] Using PyTables from PyDev Eclipse In-Reply-To: References: Message-ID: hi , thanks Dougal, it works now! On 24 October 2013 13:26, Dougal Matthews wrote: > Hi, > > I think I spotted a few errors in your pyDev code. Try these lines... > > import tables > fileh=tables.open_file('myfile.h5') > > > > On 24 October 2013 12:08, Hedieh Ebrahimi wrote: > >> Hi all, >> I eclipse and pyDev installed. and previously i was working with python32. >> >> Now i installed pyTables and so I also installed python33. So i created a >> new project and i set up the interpreter as python33. >> >> When i type in >> >> >>> import tables >> >>> tables.test() >> >> in Python33 IDLE termina, the test finishes correctly. >> >> but When i try to use a simple statement like the one below in pyDev; i >> get the following error. >> >> from tables import * >> >> fileh=tables.openfile('myfile.h5') >> >> >> >> error: >> NameError: name 'tables' is not defined >> >> Could somebody please tell me what am i doing possibly wrong and how to >> fix it ? >> >> >> Thanks in advance >> >> >> >> >> _______________________________________________ >> Glasgow mailing list >> Glasgow at python.org >> https://mail.python.org/mailman/listinfo/glasgow >> >> > > _______________________________________________ > Glasgow mailing list > Glasgow at python.org > https://mail.python.org/mailman/listinfo/glasgow > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kevin.brolly at gmail.com Thu Oct 24 15:44:03 2013 From: kevin.brolly at gmail.com (Kevin Brolly) Date: Thu, 24 Oct 2013 14:44:03 +0100 Subject: [Python Glasgow] Python Glasgow Dojo next month 12th November! Message-ID: Hey all, Next month we are running another dojo! Twig are hosting again and will be providing pizza and beer, previous attendees should note that Twig has moved to the building next door, so the new address is: 4th Floor 14 North Claremont Street G3 7LE Glasgow Twig is look for a Python/Django developer to join them on a contract basis, most likely 3 months to start. We're developing in Django 1.6 (and hoping it hits a production release before we do!) on the server-side and HTML5 with Bootstrap 3 and Backbone on the client. You'll be joining our team in the Glasgow office, working on the next major release of www.twig-world.com For those of you that don't know, a dojo is a fun coding event where we split into teams and hack on a problem for about 90 minutes. The focus is on getting something working and making progress rather than on code quality, so feel free to take on the problem any way you wish! Then at the end we will share what we found. It's great fun and good for learning too. All levels of Python are welcome as you can contribute to your team with ideas and discussion. Last time we tried to build applications to calculate the degrees of separation between two people, many teams got IMDB data and tried to match two actors together from films they had been in. We will be following the format of the London Python Dojo - to read more about what to expect look here: http://ntoll.org/article/how-to-run-an-awesome-code-dojo The dojo's are usually really well attended so make sure to get your ticket now at: http://pythonglasgow-dojo-11-2013.eventbrite.co.uk/ See you all there! Kevin -------------- next part -------------- An HTML attachment was scrubbed... URL: From hedieh.ebrahimi at amphos21.com Thu Oct 24 17:03:53 2013 From: hedieh.ebrahimi at amphos21.com (Hedieh Ebrahimi) Date: Thu, 24 Oct 2013 17:03:53 +0200 Subject: [Python Glasgow] viTables download for python3 Message-ID: Hello all, is there any viTables for python3 ? I was looking in http://code.google.com/p/pythonxy/downloads/list?can=1&q=vitables&colspec=Filename+Summary+Uploaded+ReleaseDate+Size+DownloadCount but apparently there are no version for python3. should i install a python2 version in order to use vitables as the only solution? Thanks for your help -------------- next part -------------- An HTML attachment was scrubbed... URL: From rossloganyoung at gmail.com Thu Oct 24 18:36:18 2013 From: rossloganyoung at gmail.com (Ross Young) Date: Thu, 24 Oct 2013 17:36:18 +0100 Subject: [Python Glasgow] viTables download for python3 In-Reply-To: References: Message-ID: Their homepage says..... "ViTables supports now both PyTables3 and Python 3.2. Check it by cloning the python3-support new branch in the GitHub repository!" https://github.com/uvemas/ViTables/tree/python3-support On 24 October 2013 16:03, Hedieh Ebrahimi wrote: > Hello all, > > is there any viTables for python3 ? > > I was looking in > > http://code.google.com/p/pythonxy/downloads/list?can=1&q=vitables&colspec=Filename+Summary+Uploaded+ReleaseDate+Size+DownloadCount > > but apparently there are no version for python3. > > should i install a python2 version in order to use vitables as the only > solution? > > Thanks for your help > > _______________________________________________ > Glasgow mailing list > Glasgow at python.org > https://mail.python.org/mailman/listinfo/glasgow > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From hedieh.ebrahimi at amphos21.com Mon Oct 28 14:03:55 2013 From: hedieh.ebrahimi at amphos21.com (Hedieh Ebrahimi) Date: Mon, 28 Oct 2013 14:03:55 +0100 Subject: [Python Glasgow] PyQt Designer Message-ID: Hi, I have problems using ScrollArea in PyQt . I have the following object. 1. Frame 2. Scroll Area 3. tab object 4.Group Box 5. My Buttons I am trying to make the ScrollBar appear but it doesn?t. I put my frame and scrollArea smaller than my tab widget, but still the scroll bar doesn?t appear. Also I have set the minimum size of the tab widget object and the groupbox to their original size. I have attached my ui file with this email.Could somebody please take a look at my file and please let me know what I could be doing wrong. Thanks in Advance -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: test2.ui Type: application/octet-stream Size: 5393 bytes Desc: not available URL: From hedieh.ebrahimi at amphos21.com Wed Oct 30 09:48:20 2013 From: hedieh.ebrahimi at amphos21.com (Hedieh Ebrahimi) Date: Wed, 30 Oct 2013 09:48:20 +0100 Subject: [Python Glasgow] PyTables subgroup members Message-ID: Hi, Does anybody how i can get in PyTables as structure as below / /GroupA1 subGroupA1B1 /GroupA2 subGroupA2B1 How can i get the name of the members of subGroupA2B1 in a normal python list. My problem is I am getting the list with a lot of extra information while what i really want is to have the just a string which is the name of second order members . h5file=tables.open_file(inputFile,mode="a",title=inputFile) for group in h5file.walkGroups(): print(list(group)) This is giving lots of extra iformation which i don?t want such as: atom := Float64Atom(shape=(), dflt=0.0) maindim := 0 flavor := 'numpy' byteorder := 'little' chunkshape := None, /Coordinates/Y [m] (Array(29,)) '' atom := Float64Atom(shape=(), dflt=0.0) maindim := 0 flavor := 'numpy' byteorder := 'little' chunkshape := None, /Coordinates/Z [m] (Array(29,)) '' atom := Float64Atom(shape=(), dflt=0.0) maindim := 0 flavor := 'numpy' byteorder := 'little' chunkshape := None] How can i simply just get the name. Thanks in Advance for your help -------------- next part -------------- An HTML attachment was scrubbed... URL: