Shayne,
Thanks for the compliment. RE: shared code ... anything that makes sense
I am up for. I am currently fleshing out CitConn (renamed from
CitServer), which represents a connection to a citadel server, and
includes API for each of the 110 commands in the protocol.
Here is CitConn:
https://www.zetadev.com/svn/public/citlib/trunk/site-packages/citlib/CitConn.py
And here is a Python session illustrating its usage:
[EMAIL PROTECTED]: python
Python 2.4.1 (#1, Sep 26 2005, 11:00:55)
[GCC 3.4.4 20041224 (prerelease) [FreeBSD]] on freebsd4
Type "help", "copyright", "credits" or "license" for more information.
>>> from citlib.CitConn import CitConn
>>> cit = CitConn()
>>> cit.USER('test')
>>> cit.PASS('testing')
('test', '6', '148', '0', '15888', '2', '1128355704')
>>> cit.LFLR()
(('0', 'Main Floor', '17'),)
>>> cit.LOUT()
>>> cit.QUIT()
>>>
As you can see it is pretty wooden. A further abstraction layer will
come later.
chad