List Info

Thread: which wiki-like text encoding?




which wiki-like text encoding?
user name
2006-08-01 14:41:05
Hi,

I'm looking for some "wiki-like"-language which
can be parsed in python
sufficiently fast. I was hinted to pytextile, but it looks
dead upstream
and isn't really fast (to say it nice . So, any
other hints for me?


Cheers,
Andi
-- 
  http://home.arcor
.de/andreas-barth/


-- 
To UNSUBSCRIBE, email to debian-python-REQUESTlists.debian.org
with a subject of "unsubscribe". Trouble?
Contact listmasterlists.debian.org

which wiki-like text encoding?
user name
2006-08-01 14:54:27
Le mar 1 août 2006 16:41, Andreas Barth a écrit :
> Hi,
>
> I'm looking for some "wiki-like"-language
which can be parsed in
> python sufficiently fast. I was hinted to pytextile,
but it looks
> dead upstream and isn't really fast (to say it nice
. So,
any other
> hints for me?

python people usually use restructured text. it depends what
you want to 
do exactly, and what the users of that syntax are likely to
be able to 
learn ;)
-- 
·O·  Pierre Habouzit
··O                                               
madcoderdebian.org
OOO                                                http://www.madism.org
which wiki-like text encoding?
user name
2006-08-01 15:06:02
On Tue, Aug 01, 2006 at 04:54:27PM +0200, Pierre Habouzit
wrote:
> Le mar 1 août 2006 16:41, Andreas Barth a écrit :
> > Hi,
> >
> > I'm looking for some
"wiki-like"-language which can be parsed in
> > python sufficiently fast. I was hinted to
pytextile, but it looks
> > dead upstream and isn't really fast (to say it
nice .
So, any other
> > hints for me?
> 
> python people usually use restructured text. it depends
what you want to 
> do exactly, and what the users of that syntax are
likely to be able to 
> learn ;)

Yes, ReST is nice, and can be parsed using python-docutils. 

-- 
Alexandre Fayolle                              LOGILAB,
Paris (France)
Formations Python, Zope, Plone, Debian:  http://www.logilab.f
r/formations
Développement logiciel sur mesure:       http://www.logilab.fr/
services
Informatique scientifique:               http://www.logilab.fr/s
cience
which wiki-like text encoding?
user name
2006-08-01 16:06:33
* Alexandre Fayolle (afayolledebian.org) [060801 17:06]:
> On Tue, Aug 01, 2006 at 04:54:27PM +0200, Pierre
Habouzit wrote:
> > Le mar 1 août 2006 16:41, Andreas Barth a écrit :
> > > Hi,
> > >
> > > I'm looking for some
"wiki-like"-language which can be parsed in
> > > python sufficiently fast. I was hinted to
pytextile, but it looks
> > > dead upstream and isn't really fast (to say
it nice . So, any
other
> > > hints for me?
> > 
> > python people usually use restructured text. it
depends what you want to 
> > do exactly, and what the users of that syntax are
likely to be able to 
> > learn ;)
> 
> Yes, ReST is nice, and can be parsed using
python-docutils. 

Thanks to all these answers. I have taken rst now (and
thanks to
Matthias who pointed out the "sample code" in
/usr/share/python-docutils/rst2html.py.


My next question is for now, is there some nice/easy way to
"hash"
contents of regular files in python (like python itself does
for
.py-files)? ("nice" means: supported by python -
I know how I could do
that myself with low-level utils, but I'm lazy ...)


Cheers,
Andi
-- 
  http://home.arcor
.de/andreas-barth/


-- 
To UNSUBSCRIBE, email to debian-python-REQUESTlists.debian.org
with a subject of "unsubscribe". Trouble?
Contact listmasterlists.debian.org

which wiki-like text encoding?
user name
2006-08-01 17:24:40
On Tue, Aug 01, 2006 at 06:06:33PM +0200, Andreas Barth
wrote:
> * Alexandre Fayolle (afayolledebian.org) [060801 17:06]:
> > On Tue, Aug 01, 2006 at 04:54:27PM +0200, Pierre
Habouzit wrote:
> > > Le mar 1 août 2006 16:41, Andreas Barth a
écrit :
> > > > Hi,
> > > >
> > > > I'm looking for some
"wiki-like"-language which can be parsed in
> > > > python sufficiently fast. I was hinted
to pytextile, but it looks
> > > > dead upstream and isn't really fast (to
say it nice . So, any
other
> > > > hints for me?
> > > 
> > > python people usually use restructured text.
it depends what you want to 
> > > do exactly, and what the users of that syntax
are likely to be able to 
> > > learn ;)
> > 
> > Yes, ReST is nice, and can be parsed using
python-docutils. 
> 
> Thanks to all these answers. I have taken rst now (and
thanks to
> Matthias who pointed out the "sample code"
in
> /usr/share/python-docutils/rst2html.py.
> 
> 
> My next question is for now, is there some nice/easy
way to "hash"
> contents of regular files in python (like python itself
does for
> .py-files)? ("nice" means: supported by
python - I know how I could do
> that myself with low-level utils, but I'm lazy ...)

I'm afraid this is getting off topic for this list (which
is about
the packaging of python module for debian).  I suggest that
you ask your
questions on a dedicated forum, such as comp.lang.python,
where people
are very friendly and will certainly answer your questions. 

BTW look at the sha and md5 modules in the standard library.


-- 
Alexandre Fayolle                              LOGILAB,
Paris (France)
Formations Python, Zope, Plone, Debian:  http://www.logilab.f
r/formations
Développement logiciel sur mesure:       http://www.logilab.fr/
services
Informatique scientifique:               http://www.logilab.fr/s
cience
[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )