Thank you this is very helpful.
I would just add that lucene index could be create with command line:
mkfastmod KJVA
On Thu, 8 Feb 2024 at 10:51, pierre amadio wrote:
> Hi there.
>
> I once wrote some note to remember how to do this kind of stuff, but i
> must admit I m not sure how correct thi
Hi there.
I once wrote some note to remember how to do this kind of stuff, but i
must admit I m not sure how correct this is.
With diateke:
#if a lucene index has been built for the module:
diatheke -b KJV -s lucene -r Genesis -k "lemma:H0776"
#without index:
diatheke -b KJV -s attribute -r Gene
Hello,
Is there any python script (way) for searching in modules?
pysword[1] seems to only show bible text (if you know the reference).
What I try to do:
1. Find all currencies of the strong number in Bible module with support
of Strongs (e.g. G01344 in NASB)
2. Collect all references
When an apostrophe is used to make an English noun a possessive, if the noun
already ends with the letter s - the apostrophe is placed after the s.
There are even some rare exceptions such as the singular noun cockatrice - in
which the possessive just has an apostrophe but no letter s afterwards
On 2023-12-19 04:26, Matěj Cepl wrote:
On Tue Dec 19, 2023 at 2:17 AM CET, Timothy Allen wrote:
2. Apostrophes
In English, the apostrophe used for possession (“the boy’s train”) and
omission (“don’t let’s start") is traditionally set with the same
character used as the closing single quote, so
On Tue Dec 19, 2023 at 1:30 AM CET, Timothy Allen wrote:
> As a data point, when I was writing scripts for manipulating and
> updating the BSB module, I found the `xml.etree.ElementTree` module in
> the Python standard library to be many times faster than the SAX API.
> The SAX API is a perhaps
On Tue Dec 19, 2023 at 2:17 AM CET, Timothy Allen wrote:
> I tried running it over my BSB module, and I hit problems fairly
> quickly, some of which are more easily solved than others.
>
> 1. No support for language “en”
>
> This was easy enough to handle, there's a configuration variable near
>
On 19/12/23 00:06, Matěj Cepl wrote:
I have decided not to rely on very kind help by David
with his Windows tools and I have written (hopefully)
completely platform neutral pure Python 3 script for checking
pairwise-characters. So, far it was used only for fixing
https://gitlab.com/crosswire-bibl
On 19/12/23 01:45, Matěj Cepl wrote:
2. I use SAX API (xml.sax from the standard library) and it seems
to me like better suited for the Bible processing than the
traditional DOM (or LXML) interface. It nicely hides away all
hard work going on in the background and let me work only on
Ok, all good then, we are covered, this is a different use case.
On Mon, Dec 18, 2023 at 3:46 PM Matěj Cepl wrote:
> On Mon Dec 18, 2023 at 2:38 PM CET, Kristof Szabo wrote:
> > I wrote some time back https://github.com/krisek/sword-test, with quite
> a
> > few test cases, which, I think, cove
On Mon Dec 18, 2023 at 2:38 PM CET, Kristof Szabo wrote:
> I wrote some time back https://github.com/krisek/sword-test, with quite a
> few test cases, which, I think, covers your use case as well.
Couple of differences on the first look:
1. Functionally, I prefer my script which stops when the fi
Hi Matěj,
I wrote some time back https://github.com/krisek/sword-test, with quite a
few test cases, which, I think, covers your use case as well.
I was in touch with Dom on this at the time, but somehow the discussion
stopped how to include these in the module build pipeline.
If you think it is
Hello,
I have decided not to rely on very kind help by David
with his Windows tools and I have written (hopefully)
completely platform neutral pure Python 3 script for checking
pairwise-characters. So, far it was used only for fixing
https://gitlab.com/crosswire-bible-society/CzeCEP/-/issues/2 and
I do not know exactly what is osis, so i do not know how to make an "osis ref".
Assuming it is related to the cross-references option, i think
something like that gives you an osis output with "references"
import sys
key="Mark 1:1"
chapterNbr=1
moduleName="KJV"
vk=Sword.VerseKey(key)
markup=Sword
If I remember well, python3-sword can help to make the osis ref in a file.
How to do this exactly?
Le 19/11/2020 à 17:58, pierre amadio a écrit :
Hi there !
I am afraid there is no real documentation for the python binding
(someone please correct me if I m wrong).
I think that, as they are bui
Hi there !
I am afraid there is no real documentation for the python binding
(someone please correct me if I m wrong).
I think that, as they are build automatically with swig, they are
suppose to be identical to the way c++ work (with all the type
transformation magic that can go in the process..
Hello,
I'm interesting to know how to use the python3-sword tool. Do you have
any doc or information how to use it?
Thank you.
Br Cyrille
___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instru
Excellent, that did the trick.
Thanks !
On Sat, 20 Apr 2019 at 16:59, Troy A. Griffitts wrote:
>
> Dear Pierre,
>
> In Python, it looks like you are setting your strongs number into a VerseKey.
> This will give a out of bounds error and will likely return the last entry if
> you continue to do
Dear Pierre,
In Python, it looks like you are setting your strongs number into a VerseKey.
This will give a out of bounds error and will likely return the last entry if
you continue to do a look up with it. You probably just want an SWKey instead
of VerseKey. This is the most base type of key i
Hello.
I fail to look for a Strong's dictionnary Hebrew entry with python
(Red Hat based, sword-python-1.8.1-3.el7.x86_64).
Here is the shortest test case i have:
https://github.com/pierre-amadio/SwordSandBox/blob/master/python/strongtestcase.py
Instead of giving me the entry for 5975 (amad) , i
Thanks Greg,
My own preference now is adyeths/u2o.py
It’s possible that John Austin of xulsword still tweaks his copy of usfm2osis.py
Peter can respond for what he uses.
And FWIW what I use is within a Cygwin shell.
David
Sent from ProtonMail Mobile
On Mon, Dec 17, 2018 at 14:33, Greg Hellin
On Sat, Dec 15, 2018 at 9:03 AM David Haslam wrote:
> Dear all,
>
> If like me, you're still using Python 2.7 on your machine for some
> scripting tasks,
> and in case you didn't already know, the End of Life for Python 2 is 2020.
>
> See https://legacy.python.org/dev/peps/pep-0373/
>
> This mean
Dear all,
If like me, you're still using Python 2.7 on your machine for some scripting
tasks,
and in case you didn't already know, the End of Life for Python 2 is 2020.
See https://legacy.python.org/dev/peps/pep-0373/
This means you have at least 12 months in which to migrate to Python 3.
NB.
I continue to get the following build errors with the python bindings using
the following:
#cmake -DSWORD_BINDINGS="Perl Python" ../sword
CUT ...
[ 90%] Generating Sword.cxx
/usr/local/src/sword/include/multimapwdef.h:26: Warning 389: operator[]
ignored (consider using %extend)
/usr/local/s
On 24 November 2011 05:41, Greg Hellings wrote:
> $ apt-cache showpkg swig
> Package: swigVersions: 2.0.4+really1.3.40-3ubuntu4
>
While 2.0.4 was uploaded sometime in the past into the archive, it was
decided to go back to 1.3.40 (downgrade).
Regards,
Dmitrijs.
I suspect from the wchar_t reference that it has to do with the new code we
added for clucene2. This method does not need to be exposed via the bindings.
Is there some way to say "ignore this method"?
Greg Hellings wrote:
>$ apt-cache showpkg swig
>Package: swigVersions: 2.0.4+really1.3.40-3ub
$ apt-cache showpkg swig
Package: swigVersions: 2.0.4+really1.3.40-3ubuntu4
I have no idea what that really means. My guess is that in the change
from 1.3.x (which was actually present in Natty and earlier to swig 2
in Oneiric there were changed/removed macros. It seems to just be a
macro or two r
On Wed, 2011-11-23 at 23:13 -0600, Greg Hellings wrote:
> Yeah, trying to build it myself jogged my memory. I haven't rebuilt
> the bindings in a little while but was just getting myself setup with
> Ubuntu 11.10 on my laptop. Seems to be changes in SWIG that caused it,
> not on our end. I'll see w
Yeah, trying to build it myself jogged my memory. I haven't rebuilt
the bindings in a little while but was just getting myself setup with
Ubuntu 11.10 on my laptop. Seems to be changes in SWIG that caused it,
not on our end. I'll see what I can do, but I know very little about
SWIG, so no promises!
On Wed, 2011-11-23 at 00:42 -0600, Greg Hellings wrote:
> Guys,
>
> Looks like the SWIG Python bindings (and, based on the error, I would
> assume the Perl bindings as well) are broken
Thanks. Yes, the Perl bindings are broken. I reported this a couple of
weeks ago.
Peter
Guys,
Looks like the SWIG Python bindings (and, based on the error, I would
assume the Perl bindings as well) are broken when trying to build in
Ubuntu 11.10. Seems to be a missing macro definition in the newest
version of SWIG included in Ubuntu. I'll see what I can do to sort it
out, as I know
On 23/10/11 08:04, Greg Hellings wrote:
> Peter,
>
> The Python output you include doesn't actually have any errors in it.
That is true, but it ends in an error, no? Is gcc set to make warnings
fatal errors?
Anyway I only included the Python binding problem to raise interest in
my problem with P
Peter,
The Python output you include doesn't actually have any errors in it.
Based on the errors I'm seeing at the top of the Perl output, it looks
like the files are not locating the SWIG headers properly or some such
thing. I'm in the midst of tracking down clucene0/2 compatibility in
BibleTime
Both Perl and Python bindings are currently not building. (ubuntu 11.10)
This is the error message I got on Perl bindings build
Sword.cxx: In function ‘void
_wrap_SWBuf_append__SWIG_5(PerlInterpreter*, CV*)’:
Sword.cxx:4345:33: error: ‘SWIG_AsVal_wchar_t’ was not declared in this
scope
Sword.cxx:
Thanks!
On Oct 5, 2010, at 5:33 PM, Greg Hellings wrote:
> On Tue, Oct 5, 2010 at 6:45 PM, Peter von Kaehne wrote:
>> On 05/10/10 17:30, Caleb Barr wrote:
>>> Hi all,
>>>
>>> Brand new here -- I'd like to get at some of this data, but I don't know
>>> C++. I heard rumors that there was a way
On Tue, Oct 5, 2010 at 6:45 PM, Peter von Kaehne wrote:
> On 05/10/10 17:30, Caleb Barr wrote:
>> Hi all,
>>
>> Brand new here -- I'd like to get at some of this data, but I don't know
>> C++. I heard rumors that there was a way to do it with Python?
>
> There are bindings.
Here's a sample of h
On 05/10/10 17:30, Caleb Barr wrote:
> Hi all,
>
> Brand new here -- I'd like to get at some of this data, but I don't know C++.
> I heard rumors that there was a way to do it with Python?
There are bindings.
Peter
___
sword-devel mailing list: swor
Hi all,
Brand new here -- I'd like to get at some of this data, but I don't know C++.
I heard rumors that there was a way to do it with Python?
Cheers,
Caleb
___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/lis
The primary (and officially supported) way to access SWORD modules
from Python is the SWIG wrappers, located in sword/bindings/swig in
the SWORD source. BPBible uses them (afaik), but there should be some
more self-contained examples...
Not finding any good examples, a few years ago I went off, fi
Dear all,
I see that the page
http://www.crosswire.org/wiki/DevTools:Code_Examples has a heading for
"Python" but no sample code there, and a site search for Python didn't
find anything helpful.
It seems from emails flashing by that Python bindings for SWORD are
available??? Is ther
Matthew Talbert wrote:
> I think there is some confusion here.
>
> The only SWIG bindings that actually work are the Python bindings. The
> others would need some work to even compile. It has been this way for
> some time.
>
> swordweb uses the CORBA bindings, which are unrelated.
You are right
> We have had the occasional bug in SWIG that has been worked around
> (particularly in SWIG's iteration over STL types, which has the
> unpleasant side effect of occasionally causing access violations).
> It's also worth considering the overhead of converting types like
> SWBuf to native Python ty
I think there is some confusion here.
The only SWIG bindings that actually work are the Python bindings. The
others would need some work to even compile. It has been this way for
some time.
swordweb uses the CORBA bindings, which are unrelated.
Matthew
__
Jonathan Morgan wrote:
> On Sat, Nov 28, 2009 at 5:55 PM, Troy Melhase wrote:
>>> We probably could replace SWIG with SIP, but it is unlikely we would
>>> do it soon just because BPBible works and works now with what is
>>> there. The changes you describe would be far more likely to benefit
>>> t
On Sat, Nov 28, 2009 at 5:55 PM, Troy Melhase wrote:
>> We probably could replace SWIG with SIP, but it is unlikely we would
>> do it soon just because BPBible works and works now with what is
>> there. The changes you describe would be far more likely to benefit
>> the Python programmer working
> We probably could replace SWIG with SIP, but it is unlikely we would
> do it soon just because BPBible works and works now with what is
> there. The changes you describe would be far more likely to benefit
> the Python programmer working with the SWORD API directly than they
> would be to benefi
On Sat, Nov 28, 2009 at 3:37 PM, Troy Melhase wrote:
> Greetings,
>
> I've created a Python binding for libsword via SIP[1]. The code is here:
>
> http://github.com/natural/sword-sip
>
> The binding is mostly complete, certainly the larger classes and
> methods. I'd like it if folks who use t
Greetings,
I've created a Python binding for libsword via SIP[1]. The code is here:
http://github.com/natural/sword-sip
The binding is mostly complete, certainly the larger classes and
methods. I'd like it if folks who use the SWIG bindings could also
try to build this binding with SIP and
Mattias Põldaru wrote:
Greetings
I was wondering if anyone has implemented a pure python program for
reading sword modules.
If your question aims at a Python programme using the existing sword
library written in C++ - there are several:
There is BpBible, a client mostly for Windows, but com
Greetings
I was wondering if anyone has implemented a pure python program for
reading sword modules.
Mattias
___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/chan
A pure-python zText reader was done here:
http://github.com/kcarnold/pysword
However, this has only a fraction of the module support Sword has, and is
also quite a bit slower. The bindings are superior (if available for use, of
course)
God Bless,
Ben
--
For building the Python swig bindings, I ran ./autogen.sh,
./configure, make pythonswig, and make python_make, basically as it
says in bindings/swig/README.
However, in that README, it says to use make python_swig, instead of
pythonswig, which works. The docs should be consistent with the
makefile
Thanks Pierre and David, this is fantastic help :)
On Fri, Oct 31, 2008 at 11:07 PM, David Haslam <[EMAIL PROTECTED]>wrote:
>
> Link to Rapier added in
> http://www.crosswire.org/wiki/index.php/Main_Page#SWORD_Frontends
>
> -- David
>
> Pierre Amadio-2 wrote:
> >
> > Hi there.
> >
> > On Fri, Oct
Link to Rapier added in
http://www.crosswire.org/wiki/index.php/Main_Page#SWORD_Frontends
-- David
Pierre Amadio-2 wrote:
>
> Hi there.
>
> On Fri, Oct 31, 2008 at 10:39:14PM +1100, Kyle Howland-Rose wrote:
>
> There are some notes and examples here:
>
> http://hurdygurdy.dyndns.org/maemoswo
Hi there.
On Fri, Oct 31, 2008 at 10:39:14PM +1100, Kyle Howland-Rose wrote:
> Hi all,
>
> Can anyone point me to some python examples? I have installed the API but
> my attempts to replicate various c++ code just lead to segmentation faults
> :(
>
> I am just trying to get started - I thought
Hi all,
Can anyone point me to some python examples? I have installed the API but
my attempts to replicate various c++ code just lead to segmentation faults
:(
I am just trying to get started - I thought iterating through John (YLT)
would be a good start but no luck so far.
Any help appreciated
Hi there.
Thanks for the feedback.
I think the first problem i had (overriding the swig version available
in the build environment) is solved, but i am still experiencing the second
issue i reported here (non-default constructor in class without a
constructor).
On Wed, Jun 18, 2008 at 09:49:30A
Hmmm...
The problem occurs because SWIG cannot handle nested classes properly, so I
have to have an outer class to do it. This means that swig needs to see one
version so it will generate the correct bindings, and the c++ compiler needs
to see what really is happening.
The setup.py script currentl
Hi there.
I'm trying to compile sword 1.5.11 as well as the python binding for the
maemo platform. Things were working smoothly with 1.5.10, but i run into
troubles when trying to compile this with the sword 1.5.11.
Somes details about what happened are available here:
http://lists.maemo.org/pip
On Wednesday 19 March 2008 23:47:02 Ben Morgan wrote:
> Hi,
>
> Step 2 can be done using
> VerseKey.castTo(swkey)
Thanks! I had guessed that .castTo might help me, but I couldn't work
out how to use it.
Cheers,
Luke
--
I never hated a man enough to give him his diamonds back. (Zsa Zsa
Gabor
Hi,
Step 2 can be done using
VerseKey.castTo(swkey)
castTo will return None if it cannot cast to it (it uses dynamic cast).
This will happen if (for example) the range is Genesis 1:1, in which
case it seems to just return a SWKey.
Most of the wrapped classes have castTo for them.
If you want to
Hi,
I've been trying to use Sword with Python bindings to simply get a
list of verses with a reference like "Genesis 1:1-10". All the
example code I can find, including code I have written in the past,
uses a dynamic cast:
1) VerseKey::ParseVerseList() is used, which returns a ListKey*
2) A d
Awesome! That did it. :)
Thanks!
Jon Brisbin
http://jbrisbin.com
On Feb 7, 2008, at 4:43 PM, Ben Morgan wrote:
> Hi,
>
> Try this:
> filtermgr = Sword.MarkupFilterMgr(Sword.FMT_OSIS)
> filtermgr.thisown = False
>
> instead of just this:
> filtermgr = Sword.MarkupFilterMgr(Sword.FMT_OSIS)
>
>
Hi,
Try this:
filtermgr = Sword.MarkupFilterMgr(Sword.FMT_OSIS)
filtermgr.thisown = False
instead of just this:
filtermgr = Sword.MarkupFilterMgr(Sword.FMT_OSIS)
When you pass it in, SWORD will delete it in the SWMgr destructor,
which is where the segfault has happened. However, SWIG will alread
I'm experimenting with the Python SWIG interface built from 1.5.10
source on OS X 10.5.1. If I do things from the command line,
interactively, all seems well. But if I run the following script, it
segfaults Python with the following stack trace:
SCRIPT:
#!/usr/bin/python
import Sword
from F
This is probably why I get a crash when I exit my python shell after
testing the Sword module from the command line.
Now I'm trying to figure out how to best use modules. I think, for the
time being, I'll use the same methodology that MacSword uses, which is
to place the ".swd" modules insi
Hi,
Instead of:
>>> from Sword import *
>>> mf = MarkupFilterMgr(FMT_WEBIF)
>>> mgr = SWMgr(mf)
Try
>>> from Sword import *
>>> mf = MarkupFilterMgr(FMT_WEBIF)
>>> mf.thisown = False
>>> mgr = SWMgr(mf)
mf.thisown = False tells swig not to GC the sword object.
This may or may not help. I have
I've got my _Sword.so module to compile and I statically linked
libsword.a and libclucene.a into it. So far, I'm able to create the
objects fine, but when I try to get my modules, Python crashes with
the following trace:
Process: Python [3639]
Path:/System/Library/Framew
Hi there.
On Tue, Feb 13, 2007 at 11:07:58AM -0700, Troy A. Griffitts wrote:
> Pierre,
> Almost, >= 0 is a regex search (this was for backward compatabiility,
> as we used to pass regex flags here before we added a 'flags' parameter)
> clucene searching is '-4'.
>
> Hope this help
> * searchType - type of search to perform
> * >=0 - regex
> * -1 - phrase
> * -2 - multiword
> * -3 - entryAttrib (eg.
> * Word//Lemma
Hi there.
Thanks to you, i have resolved my main python sword issue and am now
able to access sword module in the python2.5 that comes with maemo.
So, i have a nice little GUI application:
http://hurdygurdy.dyndns.org/maemosword/
Now, the search feature is really time consuming. It tooks someth
Hello Jason,
On 2/1/07, Jason Turner <[EMAIL PROTECTED]> wrote:
> I recently worked on the swig bindings themselves, but I agree the
> build process is pretty broken. I modified the .i files, but left the
> build process how it was, focusing instead on the visual studio
> related files for buildin
I recently worked on the swig bindings themselves, but I agree the
build process is pretty broken. I modified the .i files, but left the
build process how it was, focusing instead on the visual studio
related files for building the bindings with VS.net.
If anyone is interested in cleaning up the b
Hi there
On Tue, Jan 30, 2007 at 10:27:27AM +1100, Ben Morgan wrote:
>
> To get all book names and chapter counts in old and new testaments:
Thanks a lot, things are much more clear now :)
___
sword-devel mailing list: sword-devel@crosswire.org
http:/
Hi,
For a start, using help isn't all that useful. Output for help of Versekey
is contained in attached help.txt. Using dir will usually be just as much
use. If I want to know how something works, I look at the c++ source code
(which is quite an opaque mess, I think :) If you have doxygen generat
Hi there.
On Sun, Jan 28, 2007 at 07:18:31PM +1100, Ben Morgan wrote:
>
> If you have any specific questions on how to do something, just email me.
I m copying the list as well as the answer may be interesting to have on
the archive of the list.
I do not understand how to get a list of book tha
Hello.
On Sun, Jan 28, 2007 at 07:18:31PM +1100, Ben Morgan wrote:
> Hi.
>
> Glad you got it to build.
>
Thanks a lot for your examples, they help a lot.
Next step is to repackage my .deb as i used _Sword.o as the module
python, and i should have used Sword.o (otherwise it loads, but there
are
Hi.
Glad you got it to build.
Examples:
For example, to output the text of a verse from the ESV
import Sword
markup=Sword.MarkupFilterMgr(Sword.FMT_HTMLHREF) #Html markup
markup.thisown=False #Tell SWIG not to bother cleaning this up
mgr=Sword.SWMgr(markup) #new mgr
mod=mgr.getModule("ESV") #
Hi there.
After chatting a bit on #maemo, i installed a version of python2.5
(instead of 2.3) on the scratchbox environment.
I was happy to realise the sword python module was working with this
version of python: the import _Sword did not complain.
However, in this specific version of python, t
On 1/26/07, Pierre Amadio <[EMAIL PROTECTED]> wrote:
> Hi there.
>
> Thanks to Bill and Ben for your feedback, it did help.
>
> I did not manage to create the module following one of the method but i
> did gather enough information from your input to be nearer my target :)
>
> Some words about the
Hi there.
Thanks to Bill and Ben for your feedback, it did help.
I did not manage to create the module following one of the method but i
did gather enough information from your input to be nearer my target :)
Some words about the background: yes, i m building stuff under linux.
I build things in
Hello,
I too had issues attempting to use SWIG. See below ...
On 1/24/07, Pierre Amadio <[EMAIL PROTECTED]> wrote:
> Hello.
>
> I am afraid i do not understand how to use the python bindings the
> README in the source talk about.
>
> I have compiled sword with --with-python option and was expect
Hi.
I have been working with python + SWORD for quite a while, but under
windows.
However, I have also tried to build with MSYS (which I have done with a
little tweaking).
What I think you need to do (presuming you are under linux), is go to
bindings/swig/oldmake, and pull out makefile.am. Put t
Hello.
I am afraid i do not understand how to use the python bindings the
README in the source talk about.
I have compiled sword with --with-python option and was expecting some
python module to be autmatically build.
The bindings/swig directory does not seem to have been changed, nor
anything c
Oops...I already have quite a bit of code written. Actually, though,
I don't really need very much help...just a few quirks, but that's to
be expected with such a project. I will do my best to keep it in the
standard Framework though, so that it runs on Mono and such too.
On 8/17/06, J H Stovall
Python is closer to Java than C# and runs on
Mono as well as .Net. I will help all I can
if you go this route.
--- [EMAIL PROTECTED] wrote:
> I have started to port Sword (actually JSword) to
> the .NET Framework.
>
> I have so far ported org.crosswire.common.history,
> o.cw.common.activate, an
Hi,
> cd sword-1.5.7/bindings/swig/package/
I tried the same commands with Sword's current CVS - it worked fine. I test
the "import Sword" command.
Make sure to configure the Sword library with ./usrinst.sh --enable-shared and
then configure the Swig bindings.
I think the bindings got some fix
I have compiled sword on both Solaris and Linux, and get the same results in
trying to compile the python bindings.
cd sword-1.5.7/bindings/swig/package/
./autogen (cp -a is not portable to Solaris, BTW)
./configure
make pythonswig python_make
su
cd python
python setup.py install
Everything seems
owner-sword-
> [EMAIL PROTECTED]] On Behalf Of David Overcash
> Sent: Wednesday, June 27, 2001 6:45 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [sword-devel] Python api?
>
> I know that there are quite a few mIRC bots scripted in PERL that can
> reference bible verses, so possibly
PERL script, or at least tell us how they referenced the module
through PERL...
-Dave
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Bryan L. Fordham
Sent: Monday, June 25, 2001 9:45 AM
To: [EMAIL PROTECTED]
Subject: Re: [sword-devel] Python api?
Martin
Daniel Glassey wrote:
>
> I can't remember if anyone else has done anything, but Chris Little's
> diatheke command-line program and cgi script are around in the
> sword source.
Source code! w00t! Thanks for the pointer, I'll look into it.
--
Bryan L. Fordham
"There is such a fine line betwee
I can't remember if anyone else has done anything, but Chris Little's
diatheke command-line program and cgi script are around in the
sword source.
I tried playing with swig (www.swig.org) to make a python interface
a fair while back but it was a bit messy. I've had a quick look and
swig has i
Jesse Jacobsen wrote:
> This would be most excellent from my POV. For personal use, I've
> written a Python Bible search and extraction utility that makes use of
> exported Bible Works databases. (I'm no longer running Windows.)
> I'm currently extending it with a module that knows the date of
On 06/25/01, Bryan L. Fordham wrote:
> Martin Gruner wrote:
> >
> > I don't think there is one yet.
> > Do you think it would be useful?
>
> Heh yeah, well, I think so. 8)
This would be most excellent from my POV. For personal use, I've
written a Python Bible search and extraction utility that
Martin Gruner wrote:
>
> I don't think there is one yet.
> Do you think it would be useful?
Heh yeah, well, I think so. 8)
But maybe I don't need it. Here's what I want to do: create a web
interface to sword. For me, using modpython or a python cgi is the
quickest way to do it, so that's why
I don't think there is one yet.
Do you think it would be useful?
Martin
> Does a python interface to the sword API currently exist? I seem to
> recall seeing mention of one; Paul Gear said he had heard of a perl
> interface, so perhaps that's what I'm thinking of.
>
> At any rate, any ideas?
>
Does a python interface to the sword API currently exist? I seem to
recall seeing mention of one; Paul Gear said he had heard of a perl
interface, so perhaps that's what I'm thinking of.
At any rate, any ideas?
Thanks,
--B
--
Bryan L. Fordham
"There is such a fine line between genius and stup
97 matches
Mail list logo