From judy at judy.co.uk Mon Jan 10 16:59:47 2011 From: judy at judy.co.uk (Mark Smith) Date: Mon, 10 Jan 2011 15:59:47 +0000 Subject: [Python Edinburgh] JSON mapping library - recommendations? Message-ID: Hi All, Can anyone recommend a library for parsing/validating/serialising objects to and from JSON data structures? I'm envisioning something a bit like an ORM, although obviously without the 'R'... The following is a bit inconsistent, but should illustrate the idea: python: class MyObject(JSONObject): name = StringField() roles = ListField(StringField(), min=0, max=10) pet = ObjectField({'name': StringField(), 'type': PetTypeField()}) json: { 'name': 'Mark Smith', 'roles': ['user', 'developer'], pet = {'name': 'Fido', 'type': 'dog'} } To be honest, the validation is more important than the mapping at this stage. --Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: From dougal85 at gmail.com Mon Jan 10 20:13:38 2011 From: dougal85 at gmail.com (Dougal Matthews) Date: Mon, 10 Jan 2011 19:13:38 +0000 Subject: [Python Edinburgh] JSON mapping library - recommendations? In-Reply-To: References: Message-ID: <5CA5E746609D4F0CBE5BB325A03FD0C9@gmail.com> I can't say that I know of any. However, I can't help but think, what the hell are you doing? :) You want JSON to have a schema. Isn't this exactly what XML was intended for any why many people hate it? I'd be interested to hear the use case for this. I can only imagine its because JSON is coming from somewhere externally? Is this for an API? Dougal -- Dougal Matthews www.dougalmatthews.com www.twitter.com/d0ugal On Monday, 10 January 2011 at 15:59, Mark Smith wrote: > Hi All, > > > Can anyone recommend a library for parsing/validating/serialising objects to and from JSON data structures? I'm envisioning something a bit like an ORM, although obviously without the 'R'... > > > The following is a bit inconsistent, but should illustrate the idea: > > > python: > class MyObject(JSONObject): > name = StringField() > roles = ListField(StringField(), min=0, max=10) > pet = ObjectField({'name': StringField(), > 'type': PetTypeField()}) > > > json: > { > 'name': 'Mark Smith', > 'roles': ['user', 'developer'], > pet = {'name': 'Fido', 'type': 'dog'} > } > > > To be honest, the validation is more important than the mapping at this stage. > > > --Mark > > _______________________________________________ > Edinburgh mailing list > Edinburgh at python.org > http://mail.python.org/mailman/listinfo/edinburgh > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark.smith at practicalpoetry.co.uk Tue Jan 11 10:20:07 2011 From: mark.smith at practicalpoetry.co.uk (Mark Smith) Date: Tue, 11 Jan 2011 09:20:07 +0000 Subject: [Python Edinburgh] JSON mapping library - recommendations? In-Reply-To: <5CA5E746609D4F0CBE5BB325A03FD0C9@gmail.com> References: <5CA5E746609D4F0CBE5BB325A03FD0C9@gmail.com> Message-ID: :P The app I'm working on has a couple of cobbled-together approaches for dealing with JSON data, and neither of them is really very good. We work with a lot of JSON as the app itself is a single-page AJAX app, and the data-stores we use are CouchDB and Solr, both of which provide JSON data; and the documents can be quite complicated and deep. Approach one is to just deserialise the data and then work directly with the raw data structure, but then you get no helper methods, no validation, and there's no explicit documentation for the structure you're dealing with. Approach two is to implement what I described manually, and either wrap the JSON data-structure, or to extract the data into an object-model. The first approach turns out to be very opaque - it's difficult to know what data-structure you're dealing with; the second approach tends to end up with long functions responsible for serialisation/deserialisation, and as you know, when you have a long function with lots of repetitive behaviour then you should be looking for an opportunity to refactor and abstract that behaviour ;-) I was thinking a better approach would be a declarative approach, such as that used by various ORM frameworks, with optional validation points - so you'd get some validation for free (it's a string and it's not empty and not null), but you could implement extra validation functions if you needed them (it's a string that looks like a phone number). Maybe I put too much emphasis on validation in my original email. Anybody got any better ideas? I should point out that I'm not about to go ahead and implement this - there's no particular drive to do so, and I haven't given it enough thought. --Mark On 10 January 2011 19:13, Dougal Matthews wrote: > I can't say that I know of any. > > However, I can't help but think, what the hell are you doing? :) You want > JSON to have a schema. Isn't this exactly what XML was intended for any why > many people hate it? > > I'd be interested to hear the use case for this. I can only imagine its > because JSON is coming from somewhere externally? Is this for an API? > > Dougal > > > -- > *Dougal Matthews* > www.dougalmatthews.com > www.twitter.com/d0ugal > > On Monday, 10 January 2011 at 15:59, Mark Smith wrote: > > Hi All, > > Can anyone recommend a library for parsing/validating/serialising objects > to and from JSON data structures? I'm envisioning something a bit like an > ORM, although obviously without the 'R'... > > The following is a bit inconsistent, but should illustrate the idea: > > python: > class MyObject(JSONObject): > name = StringField() > roles = ListField(StringField(), min=0, max=10) > pet = ObjectField({'name': StringField(), > 'type': PetTypeField()}) > > json: > { > 'name': 'Mark Smith', > 'roles': ['user', 'developer'], > pet = {'name': 'Fido', 'type': 'dog'} > } > > To be honest, the validation is more important than the mapping at this > stage. > > --Mark > _______________________________________________ > Edinburgh mailing list > Edinburgh at python.org > http://mail.python.org/mailman/listinfo/edinburgh > > > > _______________________________________________ > Edinburgh mailing list > Edinburgh at python.org > http://mail.python.org/mailman/listinfo/edinburgh > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark.smith at practicalpoetry.co.uk Tue Jan 11 10:21:17 2011 From: mark.smith at practicalpoetry.co.uk (Mark Smith) Date: Tue, 11 Jan 2011 09:21:17 +0000 Subject: [Python Edinburgh] JSON mapping library - recommendations? In-Reply-To: References: <5CA5E746609D4F0CBE5BB325A03FD0C9@gmail.com> Message-ID: I should also admit that I haven't looked to see if something already exists - I just wondered if anybody was working with something like this already and I'm behind the curve, like always ;-) On 11 January 2011 09:20, Mark Smith wrote: > :P > > The app I'm working on has a couple of cobbled-together approaches for > dealing with JSON data, and neither of them is really very good. We work > with a lot of JSON as the app itself is a single-page AJAX app, and the > data-stores we use are CouchDB and Solr, both of which provide JSON data; > and the documents can be quite complicated and deep. > > Approach one is to just deserialise the data and then work directly with > the raw data structure, but then you get no helper methods, no validation, > and there's no explicit documentation for the structure you're dealing with. > Approach two is to implement what I described manually, and either wrap the > JSON data-structure, or to extract the data into an object-model. The first > approach turns out to be very opaque - it's difficult to know what > data-structure you're dealing with; the second approach tends to end up with > long functions responsible for serialisation/deserialisation, and as you > know, when you have a long function with lots of repetitive behaviour then > you should be looking for an opportunity to refactor and abstract that > behaviour ;-) > > I was thinking a better approach would be a declarative approach, such as > that used by various ORM frameworks, with optional validation points - so > you'd get some validation for free (it's a string and it's not empty and not > null), but you could implement extra validation functions if you needed them > (it's a string that looks like a phone number). Maybe I put too much > emphasis on validation in my original email. > > Anybody got any better ideas? I should point out that I'm not about to go > ahead and implement this - there's no particular drive to do so, and I > haven't given it enough thought. > > --Mark > > > On 10 January 2011 19:13, Dougal Matthews wrote: > >> I can't say that I know of any. >> >> However, I can't help but think, what the hell are you doing? :) You want >> JSON to have a schema. Isn't this exactly what XML was intended for any why >> many people hate it? >> >> I'd be interested to hear the use case for this. I can only imagine its >> because JSON is coming from somewhere externally? Is this for an API? >> >> Dougal >> >> >> -- >> *Dougal Matthews* >> www.dougalmatthews.com >> www.twitter.com/d0ugal >> >> On Monday, 10 January 2011 at 15:59, Mark Smith wrote: >> >> Hi All, >> >> Can anyone recommend a library for parsing/validating/serialising objects >> to and from JSON data structures? I'm envisioning something a bit like an >> ORM, although obviously without the 'R'... >> >> The following is a bit inconsistent, but should illustrate the idea: >> >> python: >> class MyObject(JSONObject): >> name = StringField() >> roles = ListField(StringField(), min=0, max=10) >> pet = ObjectField({'name': StringField(), >> 'type': PetTypeField()}) >> >> json: >> { >> 'name': 'Mark Smith', >> 'roles': ['user', 'developer'], >> pet = {'name': 'Fido', 'type': 'dog'} >> } >> >> To be honest, the validation is more important than the mapping at this >> stage. >> >> --Mark >> _______________________________________________ >> Edinburgh mailing list >> Edinburgh at python.org >> http://mail.python.org/mailman/listinfo/edinburgh >> >> >> >> _______________________________________________ >> Edinburgh mailing list >> Edinburgh at python.org >> http://mail.python.org/mailman/listinfo/edinburgh >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From derek.hoy at gmail.com Tue Jan 11 12:53:43 2011 From: derek.hoy at gmail.com (Derek Hoy) Date: Tue, 11 Jan 2011 11:53:43 +0000 Subject: [Python Edinburgh] JSON mapping library - recommendations? In-Reply-To: References: <5CA5E746609D4F0CBE5BB325A03FD0C9@gmail.com> Message-ID: Take a look at http://mongoengine.org/? Dunno if you could use it outside Django, but you might be able to use bits of it or get some inspiration. Derek On Tue, Jan 11, 2011 at 9:21 AM, Mark Smith wrote: > I should also admit that I haven't looked to see if something already exists > - I just wondered if anybody was working with something like this already > and I'm behind the curve, like always ;-) > > On 11 January 2011 09:20, Mark Smith > wrote: >> >> :P >> The app I'm working on has a couple of cobbled-together approaches for >> dealing with JSON data, and neither of them is really very good. We work >> with a lot of JSON as the app itself is a single-page AJAX app, and the >> data-stores we use are CouchDB and Solr, both of which provide JSON data; >> and the documents can be quite complicated and deep. >> Approach one is to just deserialise the data and then work directly with >> the raw data structure, but then you get no helper methods, no validation, >> and there's no explicit documentation for the structure you're dealing with. >> Approach two is to implement what I described manually, and either wrap the >> JSON data-structure, or to extract the data into an object-model. The first >> approach turns out to be very opaque - it's difficult to know what >> data-structure you're dealing with; the second approach tends to end up with >> long functions responsible for serialisation/deserialisation, and as you >> know, when you have a long function with lots of repetitive behaviour then >> you should be looking for an opportunity to refactor and abstract that >> behaviour ;-) >> I was thinking a better approach would be a declarative approach, such as >> that used by various ORM frameworks, with optional validation points - so >> you'd get some validation for free (it's a string and it's not empty and not >> null), but you could implement extra validation functions if you needed them >> (it's a string that looks like a phone number). Maybe I put too much >> emphasis on validation in my original email. >> Anybody got any better ideas? I should point out that I'm not about to go >> ahead and implement this - there's no particular drive to do so, and I >> haven't given it enough thought. >> --Mark >> >> On 10 January 2011 19:13, Dougal Matthews wrote: >>> >>> I can't say that I know of any. >>> However, I can't help but think, what the hell are you doing? :) You?want >>> JSON to have a schema. Isn't this exactly what XML was intended for any why >>> many people hate it? >>> I'd be interested to hear the use case for this. I can only imagine its >>> because JSON is coming from somewhere externally? Is this for an API? >>> Dougal >>> >>> >>> -- >>> Dougal Matthews >>> www.dougalmatthews.com >>> www.twitter.com/d0ugal >>> >>> On Monday, 10 January 2011 at 15:59, Mark Smith wrote: >>> >>> Hi All, >>> Can anyone recommend a library for parsing/validating/serialising objects >>> to and from JSON data structures? I'm envisioning something a bit like an >>> ORM, although obviously without the 'R'... >>> The following is a bit inconsistent, but should illustrate the idea: >>> python: >>> class MyObject(JSONObject): >>> ?? ?name = StringField() >>> ?? ?roles = ListField(StringField(), min=0, max=10) >>> ?? ?pet = ObjectField({'name': StringField(), >>> ?? ? ? ? ? ?'type': PetTypeField()}) >>> json: >>> { >>> ?? ?'name': 'Mark Smith', >>> ?? ?'roles': ['user', 'developer'], >>> ?? ?pet = {'name': 'Fido', 'type': 'dog'} >>> } >>> To be honest, the validation is more important than the mapping at this >>> stage. >>> --Mark >>> _______________________________________________ >>> Edinburgh mailing list >>> Edinburgh at python.org >>> http://mail.python.org/mailman/listinfo/edinburgh >>> >>> >>> _______________________________________________ >>> Edinburgh mailing list >>> Edinburgh at python.org >>> http://mail.python.org/mailman/listinfo/edinburgh >>> >> > > > _______________________________________________ > Edinburgh mailing list > Edinburgh at python.org > http://mail.python.org/mailman/listinfo/edinburgh > > From dougal85 at gmail.com Tue Jan 11 15:03:07 2011 From: dougal85 at gmail.com (Dougal Matthews) Date: Tue, 11 Jan 2011 14:03:07 +0000 Subject: [Python Edinburgh] JSON mapping library - recommendations? In-Reply-To: References: <5CA5E746609D4F0CBE5BB325A03FD0C9@gmail.com> Message-ID: <37AD79D860D04E72AA0B614FDCC016DB@gmail.com> On Tuesday, 11 January 2011 at 09:20, Mark Smith wrote: > I was thinking a better approach would be a declarative approach, such as that used by various ORM frameworks, with optional validation points - so you'd get some validation for free (it's a string and it's not empty and not null), but you could implement extra validation functions if you needed them (it's a string that looks like a phone number). Maybe I put too much emphasis on validation in my original email. > > > I imagine you could probably use Django's ORM for this. As long as you are able to describe the structure well enough. Just create model instances and use Model validation to check they are valid but never actually save etc. Or you could pass each JSON object through a Django form and use the validation to end up with cleaned_data - I used this fairly recently to validate a CSV file. It worked pretty well but I never actually got around to checking the overhead of creating up to 10,000 temporary form instances... Hmm. Both feel a bit over the top though. Dougal -------------- next part -------------- An HTML attachment was scrubbed... URL: From john at sneeu.com Tue Jan 11 15:06:05 2011 From: john at sneeu.com (John Sutherland) Date: Tue, 11 Jan 2011 14:06:05 +0000 Subject: [Python Edinburgh] JSON mapping library - recommendations? In-Reply-To: <37AD79D860D04E72AA0B614FDCC016DB@gmail.com> References: <5CA5E746609D4F0CBE5BB325A03FD0C9@gmail.com> <37AD79D860D04E72AA0B614FDCC016DB@gmail.com> Message-ID: Surely you could knock something together rather quickly with simplejson, and the magic __dict__ attribute of objects? John. -- sneeu.com "A computer shall not waste your time or require you to do more work than is strictly necessary" ? Jef Raskin. From mark.smith at practicalpoetry.co.uk Tue Jan 11 15:54:45 2011 From: mark.smith at practicalpoetry.co.uk (Mark Smith) Date: Tue, 11 Jan 2011 14:54:45 +0000 Subject: [Python Edinburgh] JSON mapping library - recommendations? In-Reply-To: References: <5CA5E746609D4F0CBE5BB325A03FD0C9@gmail.com> <37AD79D860D04E72AA0B614FDCC016DB@gmail.com> Message-ID: I could... but I'm trying not to :) I think I found what I was looking for: Linaro-python-json https://launchpad.net/linaro-python-json/ From the docs: >>> class Person(IComplexJSONType): ... def __init__(self, name): ... self.name = name ... def to_json(self): ... return {'name': self.name} Let's make a person instance: >>> joe = Person('Joe') >>> joe.name 'Joe' We can now serialize this object using json.dumps() or any other json module API. The only requirement is to pass our generic pluggable encoder class: >>> json.dumps(joe, cls=PluggableJSONEncoder, class_hint=None) '{"name": "Joe"}' I might have a play with it at some point to see whether it is a net gain. It's certainly pretty similar to what I was thinking. Thanks for your suggestions, guys. --Mark On 11 January 2011 14:06, John Sutherland wrote: > Surely you could knock something together rather quickly with > simplejson, and the magic __dict__ attribute of objects? > > John. > > > -- > sneeu.com > "A computer shall not waste your time or require you to do more work than > is > strictly necessary" ? Jef Raskin. > _______________________________________________ > Edinburgh mailing list > Edinburgh at python.org > http://mail.python.org/mailman/listinfo/edinburgh > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark.smith at practicalpoetry.co.uk Wed Jan 19 15:03:19 2011 From: mark.smith at practicalpoetry.co.uk (Mark Smith) Date: Wed, 19 Jan 2011 14:03:19 +0000 Subject: [Python Edinburgh] Pub Meetup next Tuesday - needs an organiser! Message-ID: Hi All! Python Edinburgh is next Tuesday - but I'm away on holiday next week. Can I have a volunteer to take care of things? All it involves is sending out an email on Monday to get approximate numbers, phoning Berts on Tuesday morning to book a table, and sticking a Python logo on the end of the table when you turn up. --Mark From mean2030 at gmail.com Wed Jan 19 16:58:03 2011 From: mean2030 at gmail.com (Mathew Taylor) Date: Wed, 19 Jan 2011 15:58:03 +0000 Subject: [Python Edinburgh] Pub Meetup next Tuesday - needs an organiser! In-Reply-To: References: Message-ID: I should be able to manage that, send me over the Phone number for Bert's bar if you can and I'll get it arranged. Cheers, Mat On 19 January 2011 14:03, Mark Smith wrote: > Hi All! > > Python Edinburgh is next Tuesday - but I'm away on holiday next week. > > Can I have a volunteer to take care of things? All it involves is > sending out an email on Monday to get approximate numbers, phoning > Berts on Tuesday morning to book a table, and sticking a Python logo > on the end of the table when you turn up. > > --Mark > _______________________________________________ > Edinburgh mailing list > Edinburgh at python.org > http://mail.python.org/mailman/listinfo/edinburgh > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark.smith at practicalpoetry.co.uk Wed Jan 19 17:50:51 2011 From: mark.smith at practicalpoetry.co.uk (Mark Smith) Date: Wed, 19 Jan 2011 16:50:51 +0000 Subject: [Python Edinburgh] Pub Meetup next Tuesday - needs an organiser! In-Reply-To: References: Message-ID: Hey Mat - you were beaten by Rob (rmschne at rmschneider.com) but I hadn't noticed he'd replied just to me, not the list. Thanks for your offers of help; Rob - I'll send you the details off-list. --Mark On 19 January 2011 15:58, Mathew Taylor wrote: > I should be able to manage that, send me over the Phone number for Bert's > bar if you can and I'll get it arranged. > > Cheers, > ??????? Mat > > On 19 January 2011 14:03, Mark Smith > wrote: >> >> Hi All! >> >> Python Edinburgh is next Tuesday - but I'm away on holiday next week. >> >> Can I have a volunteer to take care of things? All it involves is >> sending out an email on Monday to get approximate numbers, phoning >> Berts on Tuesday morning to book a table, and sticking a Python logo >> on the end of the table when you turn up. >> >> --Mark >> _______________________________________________ >> Edinburgh mailing list >> Edinburgh at python.org >> http://mail.python.org/mailman/listinfo/edinburgh > > > _______________________________________________ > Edinburgh mailing list > Edinburgh at python.org > http://mail.python.org/mailman/listinfo/edinburgh > > From rmschne at rmschneider.com Mon Jan 24 09:15:29 2011 From: rmschne at rmschneider.com (Rob Schneider) Date: Mon, 24 Jan 2011 08:15:29 +0000 Subject: [Python Edinburgh] Edinburgh Python Pub Meetup Message-ID: <1BBC8F2C-5246-41D9-B2D9-82CB5B5C46AD@rmschneider.com> Hi All, This month's Pub Meetup is tomorrow (Tuesday 25rd January) at 6:30pm. As usual, we'll be starting off at Berts Bar, and then moving across to Teuchters after eating (probably around 7:30). Let me know if you're coming and I'll book a table. I'll stick a printout of the Python logo on the end of the table so you any new people can easily find us. --rms rmschne at rmschneider.com From drobert.pugh at gmail.com Mon Jan 24 10:34:16 2011 From: drobert.pugh at gmail.com (David Pugh) Date: Mon, 24 Jan 2011 09:34:16 +0000 Subject: [Python Edinburgh] Edinburgh Digest, Vol 6, Issue 3 In-Reply-To: References: Message-ID: All, I am a first year PhD student in Economics at the University of Edinburgh and am interested in coming to the Pub meetup tomorrow night. Which Bert's Bar will the meet up be held at? There is one Williams St. not far from the Castle...and then there is another one on Raeburn st... Please advise. Cheers, David On Thu, Jan 20, 2011 at 11:00 AM, wrote: > Send Edinburgh mailing list submissions to > edinburgh at python.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.python.org/mailman/listinfo/edinburgh > or, via email, send a message with subject or body 'help' to > edinburgh-request at python.org > > You can reach the person managing the list at > edinburgh-owner at python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Edinburgh digest..." > > > Today's Topics: > > 1. Pub Meetup next Tuesday - needs an organiser! (Mark Smith) > 2. Re: Pub Meetup next Tuesday - needs an organiser! (Mathew Taylor) > 3. Re: Pub Meetup next Tuesday - needs an organiser! (Mark Smith) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 19 Jan 2011 14:03:19 +0000 > From: Mark Smith > To: "The list for Pythonistas in Edinburgh." > Subject: [Python Edinburgh] Pub Meetup next Tuesday - needs an > organiser! > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > Hi All! > > Python Edinburgh is next Tuesday - but I'm away on holiday next week. > > Can I have a volunteer to take care of things? All it involves is > sending out an email on Monday to get approximate numbers, phoning > Berts on Tuesday morning to book a table, and sticking a Python logo > on the end of the table when you turn up. > > --Mark > > > ------------------------------ > > Message: 2 > Date: Wed, 19 Jan 2011 15:58:03 +0000 > From: Mathew Taylor > To: "The list for Pythonistas in Edinburgh." > Subject: Re: [Python Edinburgh] Pub Meetup next Tuesday - needs an > organiser! > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > I should be able to manage that, send me over the Phone number for Bert's > bar if you can and I'll get it arranged. > > Cheers, > Mat > > On 19 January 2011 14:03, Mark Smith >wrote: > > > Hi All! > > > > Python Edinburgh is next Tuesday - but I'm away on holiday next week. > > > > Can I have a volunteer to take care of things? All it involves is > > sending out an email on Monday to get approximate numbers, phoning > > Berts on Tuesday morning to book a table, and sticking a Python logo > > on the end of the table when you turn up. > > > > --Mark > > _______________________________________________ > > Edinburgh mailing list > > Edinburgh at python.org > > http://mail.python.org/mailman/listinfo/edinburgh > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://mail.python.org/pipermail/edinburgh/attachments/20110119/f4f530c9/attachment-0001.html > > > > ------------------------------ > > Message: 3 > Date: Wed, 19 Jan 2011 16:50:51 +0000 > From: Mark Smith > To: "The list for Pythonistas in Edinburgh." > Subject: Re: [Python Edinburgh] Pub Meetup next Tuesday - needs an > organiser! > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > Hey Mat - you were beaten by Rob (rmschne at rmschneider.com) but I > hadn't noticed he'd replied just to me, not the list. > > Thanks for your offers of help; Rob - I'll send you the details off-list. > > --Mark > > On 19 January 2011 15:58, Mathew Taylor wrote: > > I should be able to manage that, send me over the Phone number for Bert's > > bar if you can and I'll get it arranged. > > > > Cheers, > > ??????? Mat > > > > On 19 January 2011 14:03, Mark Smith > > wrote: > >> > >> Hi All! > >> > >> Python Edinburgh is next Tuesday - but I'm away on holiday next week. > >> > >> Can I have a volunteer to take care of things? All it involves is > >> sending out an email on Monday to get approximate numbers, phoning > >> Berts on Tuesday morning to book a table, and sticking a Python logo > >> on the end of the table when you turn up. > >> > >> --Mark > >> _______________________________________________ > >> Edinburgh mailing list > >> Edinburgh at python.org > >> http://mail.python.org/mailman/listinfo/edinburgh > > > > > > _______________________________________________ > > Edinburgh mailing list > > Edinburgh at python.org > > http://mail.python.org/mailman/listinfo/edinburgh > > > > > > > ------------------------------ > > _______________________________________________ > Edinburgh mailing list > Edinburgh at python.org > http://mail.python.org/mailman/listinfo/edinburgh > > > End of Edinburgh Digest, Vol 6, Issue 3 > *************************************** > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dougal85 at gmail.com Mon Jan 24 10:44:14 2011 From: dougal85 at gmail.com (Dougal Matthews) Date: Mon, 24 Jan 2011 09:44:14 +0000 Subject: [Python Edinburgh] Edinburgh Digest, Vol 6, Issue 3 In-Reply-To: References: Message-ID: On 24 January 2011 09:34, David Pugh wrote: > All, > > I am a first year PhD student in Economics at the University of Edinburgh > and am interested in coming to the Pub meetup tomorrow night. Which Bert's > Bar will the meet up be held at? There is one Williams St. not far from the > Castle...and then there is another one on Raeburn st... Good catch, I didn't realise there where two in Edinburgh! We go to the Bert's bar on Williams Street, more information here; http://www.bertsbar.co.uk/berts-bar/home/berts-bar-edinburgh.html . Cheers, Dougal -------------- next part -------------- An HTML attachment was scrubbed... URL: From jonathan at jonathanstreet.com Mon Jan 24 11:57:57 2011 From: jonathan at jonathanstreet.com (Jonathan Street) Date: Mon, 24 Jan 2011 10:57:57 +0000 Subject: [Python Edinburgh] Edinburgh Python Pub Meetup In-Reply-To: <1BBC8F2C-5246-41D9-B2D9-82CB5B5C46AD@rmschneider.com> References: <1BBC8F2C-5246-41D9-B2D9-82CB5B5C46AD@rmschneider.com> Message-ID: I intend to be there. Cheers Jonathan On 24 January 2011 08:15, Rob Schneider wrote: > Hi All, > > This month's Pub Meetup is tomorrow (Tuesday 25rd January) at 6:30pm. As > usual, we'll be starting off at Berts Bar, and then moving across to > Teuchters after eating (probably around 7:30). > > Let me know if you're coming and I'll book a table. > > I'll stick a printout of the Python logo on the end of the table so you any > new people can easily find us. > > --rms > > rmschne at rmschneider.com > > > > > _______________________________________________ > Edinburgh mailing list > Edinburgh at python.org > http://mail.python.org/mailman/listinfo/edinburgh > -------------- next part -------------- An HTML attachment was scrubbed... URL: From james.rc.crone at gmail.com Mon Jan 24 18:21:43 2011 From: james.rc.crone at gmail.com (James Crone) Date: Mon, 24 Jan 2011 17:21:43 +0000 Subject: [Python Edinburgh] Edinburgh Python Pub Meetup In-Reply-To: <1BBC8F2C-5246-41D9-B2D9-82CB5B5C46AD@rmschneider.com> References: <1BBC8F2C-5246-41D9-B2D9-82CB5B5C46AD@rmschneider.com> Message-ID: Hi, was really pleased to discover there was a bunch of local python folk here in edinburgh last week. I`ll be along for the first time. I do geospatial things with python at edina national data centre. James Crone On Mon, Jan 24, 2011 at 8:15 AM, Rob Schneider wrote: > Hi All, > > This month's Pub Meetup is tomorrow (Tuesday 25rd January) at 6:30pm. As > usual, we'll be starting off at Berts Bar, and then moving across to > Teuchters after eating (probably around 7:30). > > Let me know if you're coming and I'll book a table. > > I'll stick a printout of the Python logo on the end of the table so you any > new people can easily find us. > > --rms > > rmschne at rmschneider.com > > > > > _______________________________________________ > Edinburgh mailing list > Edinburgh at python.org > http://mail.python.org/mailman/listinfo/edinburgh > -- http://www.google.com/profiles/james.rc.crone -------------- next part -------------- An HTML attachment was scrubbed... URL: From dougal85 at gmail.com Mon Jan 24 21:12:10 2011 From: dougal85 at gmail.com (Dougal Matthews) Date: Mon, 24 Jan 2011 20:12:10 +0000 Subject: [Python Edinburgh] Edinburgh Python Pub Meetup In-Reply-To: References: <1BBC8F2C-5246-41D9-B2D9-82CB5B5C46AD@rmschneider.com> Message-ID: On Monday, 24 January 2011 at 17:21, James Crone wrote: > Hi, > > was really pleased to discover there was a bunch of local python folk here in edinburgh last week. I`ll be along for the first time. I do geospatial things with python at edina national data centre. > > > Sounds interesting. What libraries do you work with? Do you use GeoDjango at all? Unfortunately I wont be there tomorrow night as I'm currently down south working on a project but I'd be quite interested to hear about this. Perhaps we can persuade you to do a talk for us at some point :) Dougal -------------- next part -------------- An HTML attachment was scrubbed... URL: From alex at alexbird.co.uk Mon Jan 24 22:59:41 2011 From: alex at alexbird.co.uk (Alex Bird) Date: Mon, 24 Jan 2011 21:59:41 +0000 Subject: [Python Edinburgh] Edinburgh Python Pub Meetup In-Reply-To: <1BBC8F2C-5246-41D9-B2D9-82CB5B5C46AD@rmschneider.com> References: <1BBC8F2C-5246-41D9-B2D9-82CB5B5C46AD@rmschneider.com> Message-ID: I'll be there, maybe later if I eat at home. On Mon, Jan 24, 2011 at 8:15 AM, Rob Schneider wrote: > Hi All, > > This month's Pub Meetup is tomorrow (Tuesday 25rd January) at 6:30pm. As usual, we'll be starting off at Berts Bar, and then moving across to Teuchters after eating (probably around 7:30). > > Let me know if you're coming and I'll book a table. > > I'll stick a printout of the Python logo on the end of the table so you any new people can easily find us. > > --rms > > rmschne at rmschneider.com > > > > > _______________________________________________ > Edinburgh mailing list > Edinburgh at python.org > http://mail.python.org/mailman/listinfo/edinburgh > -- Sent from my fur lined mountain lair From james.rc.crone at gmail.com Tue Jan 25 12:51:41 2011 From: james.rc.crone at gmail.com (James Crone) Date: Tue, 25 Jan 2011 11:51:41 +0000 Subject: [Python Edinburgh] Edinburgh Python Pub Meetup In-Reply-To: References: <1BBC8F2C-5246-41D9-B2D9-82CB5B5C46AD@rmschneider.com> Message-ID: mostly shapely, python bindings to ogr/gdal and a bit of mapnik to render the odd map. On Mon, Jan 24, 2011 at 8:12 PM, Dougal Matthews wrote: > On Monday, 24 January 2011 at 17:21, James Crone wrote: > > Hi, > > was really pleased to discover there was a bunch of local python folk here > in edinburgh last week. I`ll be along for the first time. I do geospatial > things with python at edina national data centre. > > Sounds interesting. What libraries do you work with? Do you use GeoDjango > at all? > > Unfortunately I wont be there tomorrow night as I'm currently down south > working on a project but I'd be quite interested to hear about this. Perhaps > we can persuade you to do a talk for us at some point :) > > Dougal > > _______________________________________________ > Edinburgh mailing list > Edinburgh at python.org > http://mail.python.org/mailman/listinfo/edinburgh > > -- http://www.google.com/profiles/james.rc.crone -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmschne at rmschneider.com Tue Jan 25 14:18:43 2011 From: rmschne at rmschneider.com (Rob Schneider) Date: Tue, 25 Jan 2011 13:18:43 +0000 Subject: [Python Edinburgh] Python Meeting Up: Tonight, 6:30, Berts Bar, Williams Street Message-ID: Folks, I've made a table booking for 6:30 for us to drink, or eat, or both. Bert's Bar: http://www.bertsbar.co.uk/berts-bar/home/berts-bar-edinburgh.html Python sign on table. I understand the tradition is to start at Berts and move to Teuchters (literally across the street). Frankly, this is the first meetup for me. Looking forward to it. --rms RMSchneider Ltd www.rmschneider.com rmschne at rmschneider.com From alex at alexbird.co.uk Tue Jan 25 21:59:31 2011 From: alex at alexbird.co.uk (Alex Bird) Date: Tue, 25 Jan 2011 20:59:31 +0000 Subject: [Python Edinburgh] Edinburgh Python Pub Meetup In-Reply-To: References: <1BBC8F2C-5246-41D9-B2D9-82CB5B5C46AD@rmschneider.com> Message-ID: Ok, that's a lie, I'm shattered and everything has taken too long today. Hope you have/had a good evening, bah! On Mon, Jan 24, 2011 at 9:59 PM, Alex Bird wrote: > I'll be there, maybe later if I eat at home. > > On Mon, Jan 24, 2011 at 8:15 AM, Rob Schneider wrote: >> Hi All, >> >> This month's Pub Meetup is tomorrow (Tuesday 25rd January) at 6:30pm. As usual, we'll be starting off at Berts Bar, and then moving across to Teuchters after eating (probably around 7:30). >> >> Let me know if you're coming and I'll book a table. >> >> I'll stick a printout of the Python logo on the end of the table so you any new people can easily find us. >> >> --rms >> >> rmschne at rmschneider.com >> >> >> >> >> _______________________________________________ >> Edinburgh mailing list >> Edinburgh at python.org >> http://mail.python.org/mailman/listinfo/edinburgh >> > > > > -- > Sent from my fur lined mountain lair > -- Sent from my fur lined mountain lair From brian.curtin at gmail.com Thu Jan 27 21:43:45 2011 From: brian.curtin at gmail.com (Brian Curtin) Date: Thu, 27 Jan 2011 14:43:45 -0600 Subject: [Python Edinburgh] PSF Sprints - Call For Applications Message-ID: Hello Edinburgh Python Users! On behalf of the Python Software Foundation?s sponsored sprint group, I wanted to drop your group a quick note introducing us. If you?re already familiar with our sponsored sprints, you?ll be happy to know we made a few changes to help both sprint groups and Python even more. The PSF recently set aside funding to be distributed to groups who spend time contributing to the Python ecosystem, often in the form of development sprints. Our goal is to help you help Python, so whether it?s buying meals or renting meeting space for your all-day hackathon, we have a budget set aside to reimburse your expenses up to $300 USD (up from $250). If your goal is to make the Python world a better place, and you work on the problems facing Python today, we want to help you. We?re looking for groups of hackers that spend their time fixing and expanding the wide variety of Python interpreters, libraries, tools, and anything else affecting the community.We?re also looking for groups who want to help and get started but don?t have the resources to get together. Whether your group is separated by a train ride or lacking a shared space, we want to help you. On-boarding new contributors to open source Python projects is an especially important area that we?d like to work with.This means if you have a Python project and you want to sprint -- we want to help you.Some sprints we?ve sponsored include the porting of Genshi to Python 3, improvements to packaging (Distribute/distutils), and most recently, the PyPy winter sprint in Switzerland. If your group is interested in hosting a sprint, check out the full details of our call for applications at http://www.pythonsprints.com/cfa/ and contact us at sprints at python.org. Thanks for your time, and happy sprinting! Brian Curtin Jesse Noller http://www.pythonsprints.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From dgmccallum at gmail.com Wed Jan 26 01:52:01 2011 From: dgmccallum at gmail.com (Douglas McCallum) Date: Wed, 26 Jan 2011 00:52:01 +0000 Subject: [Python Edinburgh] Edinburgh Python Pub Meetup In-Reply-To: References: <1BBC8F2C-5246-41D9-B2D9-82CB5B5C46AD@rmschneider.com> Message-ID: If you were there tonight these will make sense, otherwise enjoy. http://www.youtube.com/watch?v=dTZB7K_noBU http://www.youtube.com/watch?v=aiObScPEvHw&feature=related From dougal85 at gmail.com Sat Jan 29 10:52:30 2011 From: dougal85 at gmail.com (Dougal Matthews) Date: Sat, 29 Jan 2011 09:52:30 +0000 Subject: [Python Edinburgh] Edinburgh Python Pub Meetup In-Reply-To: References: <1BBC8F2C-5246-41D9-B2D9-82CB5B5C46AD@rmschneider.com> Message-ID: Now I just can't help but wonder what I missed! :) Sorry for the delay in this message posting, it was flagged up as spam and I missed the moderation request. I hope the night was a success. Dougal On 26 January 2011 00:52, Douglas McCallum wrote: > If you were there tonight these will make sense, otherwise enjoy. > > http://www.youtube.com/watch?v=dTZB7K_noBU > > http://www.youtube.com/watch?v=aiObScPEvHw&feature=related > _______________________________________________ > Edinburgh mailing list > Edinburgh at python.org > http://mail.python.org/mailman/listinfo/edinburgh > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jonathan at jonathanstreet.com Sat Jan 29 11:45:31 2011 From: jonathan at jonathanstreet.com (Jonathan Street) Date: Sat, 29 Jan 2011 10:45:31 +0000 Subject: [Python Edinburgh] Edinburgh Python Pub Meetup In-Reply-To: References: <1BBC8F2C-5246-41D9-B2D9-82CB5B5C46AD@rmschneider.com> Message-ID: That second video especially is very impressive. It was a good night. I think Douglas was the only one who had been to a previous one so I can't say how it compared but I certainly enjoyed it and am looking forward to the next one. In addition to card tricks, python was occasionally discussed. Particularly relating to databases and data analysis. The django database model was mentioned along with sqlalchemy. Douglas was looking for ammo to support choosing python over php and I was trying to recall the php equivalent of sqlalchemy ( http://www.doctrine-project.org/ & http://www.propelorm.org/ ) For data analysis I think everyone had heard of numpy, scipy and matplotlib. I also mentioned http://mdp-toolkit.sourceforge.net/ but then didn't explain what it does especially well. On 29 January 2011 09:52, Dougal Matthews wrote: > Now I just can't help but wonder what I missed! :) Sorry for the delay in > this message posting, it was flagged up as spam and I missed the moderation > request. > > I hope the night was a success. > > Dougal > > > On 26 January 2011 00:52, Douglas McCallum wrote: > >> If you were there tonight these will make sense, otherwise enjoy. >> >> http://www.youtube.com/watch?v=dTZB7K_noBU >> >> http://www.youtube.com/watch?v=aiObScPEvHw&feature=related >> _______________________________________________ >> Edinburgh mailing list >> Edinburgh at python.org >> http://mail.python.org/mailman/listinfo/edinburgh >> > > > _______________________________________________ > Edinburgh mailing list > Edinburgh at python.org > http://mail.python.org/mailman/listinfo/edinburgh > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Nicholas.Radcliffe at StochasticSolutions.com Sat Jan 29 14:34:20 2011 From: Nicholas.Radcliffe at StochasticSolutions.com (Nicholas Radcliffe) Date: Sat, 29 Jan 2011 13:34:20 +0000 Subject: [Python Edinburgh] Edinburgh Python Pub Meetup In-Reply-To: References: Message-ID: > > In addition to card tricks, python was occasionally discussed. > Particularly > relating to databases and data analysis. > > The django database model was mentioned along with sqlalchemy. > Douglas was > looking for ammo to support choosing python over php and I was > trying to > recall the php equivalent of sqlalchemy ( http://www.doctrine-project.org/ > & > http://www.propelorm.org/ ) > > For data analysis I think everyone had heard of numpy, scipy and > matplotlib. I also mentioned http://mdp-toolkit.sourceforge.net/ > but then > didn't explain what it does especially well. Hi Folks I just joined the list the other day, and intend to try to come along to Berts (my old hunting ground) for one of the next meetings, but I was interest to see this. As it happens, data analysis in python is exactly what I do most of the time. If anyone's interested, there is some sketchy information about my analysis software, Mir?, at http://stochasticsolutions.com/miro.html . Although it's not open source, and is used for some fairly serious commercial work (despite still technically being in beta), there's no fixed commercial model, and in the right circumstances it can be available free. Anyway, I'm interested that data analysis is interesting to some of the Edinburgh pythonistas. All the more reason to come along next time. Regards Nick Radcliffe ________________________________________________________________________ Nicholas J Radcliffe Stochastic Solutions Limited. www.stochasticsolutions.com njr at stochasticsolutions.com +44 7713 787 602