Re: [sword-devel] osis.py

2010-06-21 Thread Weston Ruter
All of the objects are now built out for osis.py, a Python module for representing OSIS things. These include: - OsisWork (Bible.en.ChurchOfEngland.KJV.1611) - type (Bible) - language (en) - publisher (ChurchOfEngland) - name (KJV) - pub_date (1611) -

Re: [sword-devel] osis.py

2010-06-08 Thread Weston Ruter
I've finished writing the OsisWork class for the Open Scriptures OSIS module (osis.py): it can parse an existing OsisWork strings into its component parts, allows these parts to be mutated, and then it can be serialized back out. Source: http://github.com/openscriptures/api/blob/master/osis.py

Re: [sword-devel] osis.py

2010-05-15 Thread Norbert Bollow
Dmitrijs Ledkovs dmitrij.led...@ubuntu.com wrote: On 11 May 2010 19:58, Weston Ruter westonru...@gmail.com wrote: Dual licensed MIT/GPL. Kind of pointless =) MIT is compatible with GPL and MIT is less restrictive =) so *everyone* will choose MIT =) Actually there is a point: In the opinion

Re: [sword-devel] osis.py

2010-05-11 Thread Weston Ruter
I'm working on a Python module for representing osisIDs (works, passages, IDs, and refs). I think I've got the OsisWork class baked pretty well (at least for reading/parsing), and I would appreciate your thoughts: http://github.com/openscriptures/api/blob/master/osis.py#L122 It supports osisID

Re: [sword-devel] osis.py

2010-05-11 Thread Dmitrijs Ledkovs
On 11 May 2010 17:32, Weston Ruter westonru...@gmail.com wrote: I'm working on a Python module for representing osisIDs (works, passages, IDs, and refs). I think I've got the OsisWork class baked pretty well (at least for reading/parsing), and I would appreciate your thoughts:

Re: [sword-devel] osis.py

2010-05-11 Thread Weston Ruter
Actually, it has to be open source because we don't have a paid GitHub account :-) But you're right, I added a copyright block: http://github.com/openscriptures/api/commit/a731bdd68b84415f22d3a2d3a035e6ad827eaf28 Dual licensed MIT/GPL. Thanks! Weston On Tue, May 11, 2010 at 11:23 AM, Dmitrijs

Re: [sword-devel] osis.py

2010-05-11 Thread Dmitrijs Ledkovs
On 11 May 2010 19:58, Weston Ruter westonru...@gmail.com wrote: Actually, it has to be open source because we don't have a paid GitHub account :-) But you're right, I added a copyright block: http://github.com/openscriptures/api/commit/a731bdd68b84415f22d3a2d3a035e6ad827eaf28 Dual licensed

Re: [sword-devel] osis.py

2010-05-11 Thread Weston Ruter
Thanks for the feedback, Dmitrijs. I'm actually taking my cues from jQuery which is dual licensed MIT/GPL and merely says: /*! * jQuery JavaScript Library v1.4.2 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. *

Re: [sword-devel] osis.py

2010-05-11 Thread Dmitrijs Ledkovs
On 11 May 2010 22:16, Weston Ruter westonru...@gmail.com wrote: Thanks for the feedback, Dmitrijs. I'm actually taking my cues from jQuery which is dual licensed MIT/GPL and merely says: /*! * jQuery JavaScript Library v1.4.2 * http://jquery.com/ * * Copyright 2010, John Resig * Dual

Re: [sword-devel] osis.py

2010-05-11 Thread Greg Hellings
On Tue, May 11, 2010 at 6:32 PM, Dmitrijs Ledkovs dmitrij.led...@ubuntu.com wrote: On 11 May 2010 22:16, Weston Ruter westonru...@gmail.com wrote: - Snip - More on why dual licensing is a good idea: http://benalman.com/news/2010/02/on-licensing-my-code/ Dual licensing is a bad idea