[melbourne-pug] melbourne-pug Digest, Vol 91, Issue 19

Mike Dewhirst miked at dewhirst.com.au
Thu Jan 30 07:17:39 CET 2014


On 30/01/2014 4:26pm, Noon Silk wrote:
>  > +1 to MoinMoin.
>  > I use it myself as a personal wiki.
>  > From a hack-ability perspective, it is straightforward to hack and
> create your macros.
>  > Templates and Access Control Lists come out of the box.
>
> Cheers yeah, I also found it really easy to do that. I was concerned it
> didn't have a way to query it's list of pages though; but indeed it
> does. I've not tried it out, but it at least looks acceptable (i.e. not
> as bad as walking the filesystem to find them all). I'm just not sure
> how well it would support looking easily for particular bits of the
> pages; but maybe I can store it as metadata somehow; I don't know, but
> at least is looking a bit promising.

Check out pss. It apparently does all its work in a library with an API.

http://eli.thegreenplace.net/2011/10/14/announcing-pss-a-tool-for-searching-inside-source-code/



>
>
>
>
> On Thu, Jan 30, 2014 at 3:35 PM, Kiran Busi <kiran.busi at gmail.com
> <mailto:kiran.busi at gmail.com>> wrote:
>
>     +1 to MoinMoin.
>     I use it myself as a personal wiki.
>      From a hack-ability perspective, it is straightforward to hack and
>     create your macros.
>     Templates and Access Control Lists come out of the box.
>
>
>
>
>     On Thu, Jan 30, 2014 at 3:11 PM, <melbourne-pug-request at python.org
>     <mailto:melbourne-pug-request at python.org>> wrote:
>
>         Send melbourne-pug mailing list submissions to
>         melbourne-pug at python.org <mailto:melbourne-pug at python.org>
>
>         To subscribe or unsubscribe via the World Wide Web, visit
>         https://mail.python.org/mailman/listinfo/melbourne-pug
>         or, via email, send a message with subject or body 'help' to
>         melbourne-pug-request at python.org
>         <mailto:melbourne-pug-request at python.org>
>
>         You can reach the person managing the list at
>         melbourne-pug-owner at python.org
>         <mailto:melbourne-pug-owner at python.org>
>
>         When replying, please edit your Subject line so it is more specific
>         than "Re: Contents of melbourne-pug digest..."
>
>
>         Today's Topics:
>
>             1. Re: python-based wiki with nice   query-/template-ability?
>                (Noon Silk)
>             2. Re: python-based wiki with nice   query-/template-ability?
>                (Anthony Briggs)
>
>
>         ----------------------------------------------------------------------
>
>         Message: 1
>         Date: Thu, 30 Jan 2014 14:53:20 +1100
>         From: Noon Silk <noonslists at gmail.com <mailto:noonslists at gmail.com>>
>         To: Melbourne Python Users Group <melbourne-pug at python.org
>         <mailto:melbourne-pug at python.org>>
>         Subject: Re: [melbourne-pug] python-based wiki with nice
>                  query-/template-ability?
>         Message-ID:
>
>         <CADt_azb8M9eBdeoq2L8UuWHvNj8hcxaaE+4tKGe+RaDXTQsi6w at mail.gmail.com
>         <mailto:CADt_azb8M9eBdeoq2L8UuWHvNj8hcxaaE%2B4tKGe%2BRaDXTQsi6w at mail.gmail.com>>
>         Content-Type: text/plain; charset="iso-8859-1"
>
>          > It might help if you gave us some more detail about what
>         you're trying to
>          > do, rather than a list of features. eg. The iPython notebook
>         will let you
>          > execute arbitrary code, but I don't know whether it can
>         introspect and
>          > pull bits of other pages in the same notebook.
>
>         I want a Wiki - community editable, versionable, trivial setup,
>         with some
>         customisability to query the pages that the wiki has, and obtain
>         bits of
>         the pages - say I create a template page and it always contains
>         sections
>         "Description, Example, Json" and then I want to obtain each
>         "Example" from
>         each "page" that I have queried and do things with it; like
>         perhaps create
>         a graph.
>
>         Something very similar to FindStat.org, really -
>         http://www.findstat.org/(which uses MoinMoin). Note that while this
>         looks like it makes a lot of
>         use of MoinMoin, infact almost all the work is done through MoinMoin
>         "macros", written in Python. I want to re-use as much of the wiki as
>         possible.
>
>
>
>         On Thu, Jan 30, 2014 at 2:23 PM, Anthony Briggs
>         <anthony.briggs at gmail.com <mailto:anthony.briggs at gmail.com>>wrote:
>
>          > Trac is pretty painful to set up, from memory.
>          >
>          > It might help if you gave us some more detail about what
>         you're trying to
>          > do, rather than a list of features. eg. The iPython notebook
>         will let you
>          > execute arbitrary code, but I don't know whether it can
>         introspect and pull
>          > bits of other pages in the same notebook.
>          >
>          > Failling that, it might be relatively easy to roll your own,
>         either with
>          > Django or some combination of Flask/Peewee/Jinja/similar.
>          >
>          > Anthony
>          >
>          >
>          >
>          > On 30 January 2014 13:36, Noon Silk <noonslists at gmail.com
>         <mailto:noonslists at gmail.com>> wrote:
>          >
>          >> > There is Django snippets ... https://djangosnippets.org
>          >> > and Pastebin ... http://pastebin.com/
>          >>
>          >> ..., these are both websites. I'm looking for something to
>         customise
>          >> myself.
>          >>
>          >>
>          >> > Also, have you looked at the Trac wiki? Most people would
>         use it for
>          >> > the ticketing but it also has useful wiki with markup
>         permitting code.
>          >>
>          >> I hadn't considered Trac for this, thanks for reminding me
>         about it. I'm
>          >> not sure it's right, though.
>          >>
>          >>
>          >>
>          >> On Thu, Jan 30, 2014 at 12:17 PM, Mike Dewhirst
>         <miked at dewhirst.com.au <mailto:miked at dewhirst.com.au>>wrote:
>          >>
>          >>> On 30/01/2014 11:56am, Noon Silk wrote:
>          >>>
>          >>>> Hello,
>          >>>>
>          >>>>    So I'm interested in a python-based wiki that I can
>         write arbitrary
>          >>>> python code in; perhaps with a view to:
>          >>>>    1) Creating specific templates,
>          >>>>    2) Arbitrarily querying the list of pages,
>          >>>>    3) Obtaining specific "bits" of pages (Perhaps I mark a
>         section in
>          >>>> the template as "json", then I'd want to grab the json
>         from pages A, B,
>          >>>> X, Y
>          >>>>
>          >>>>    Anyone know of something out there that does this?
>          >>>>
>          >>>
>          >>> There is Django snippets ... https://djangosnippets.org
>          >>> and Pastebin ... http://pastebin.com/
>          >>>
>          >>> Also, have you looked at the Trac wiki? Most people would
>         use it for the
>          >>> ticketing but it also has useful wiki with markup
>         permitting code.
>          >>>
>          >>> Mike
>          >>>
>          >>> At the moment all
>          >>>
>          >>>> I can think of is MoinMoin [1].
>          >>>>
>          >>>> [1] http://moinmo.in/MoinMoinWiki
>          >>>> --
>          >>>> Noon Silk
>          >>>>
>          >>>> Fancy a quantum lunch?
>         https://sites.google.com/site/quantumlunch/
>          >>>>
>          >>>> "Every morning when I wake up, I experience an exquisite
>         joy -- the joy
>          >>>> of being this signature."
>          >>>>
>          >>>>
>          >>>> _______________________________________________
>          >>>> melbourne-pug mailing list
>          >>>> melbourne-pug at python.org <mailto:melbourne-pug at python.org>
>          >>>> https://mail.python.org/mailman/listinfo/melbourne-pug
>          >>>>
>          >>>>
>          >>> _______________________________________________
>          >>> melbourne-pug mailing list
>          >>> melbourne-pug at python.org <mailto:melbourne-pug at python.org>
>          >>> https://mail.python.org/mailman/listinfo/melbourne-pug
>          >>>
>          >>
>          >>
>          >>
>          >> --
>          >> Noon Silk
>          >>
>          >> Fancy a quantum lunch?
>         https://sites.google.com/site/quantumlunch/
>          >>
>          >> "Every morning when I wake up, I experience an exquisite joy
>         -- the joy
>          >> of being this signature."
>          >>
>          >> _______________________________________________
>          >> melbourne-pug mailing list
>          >> melbourne-pug at python.org <mailto:melbourne-pug at python.org>
>          >> https://mail.python.org/mailman/listinfo/melbourne-pug
>          >>
>          >>
>          >
>          > _______________________________________________
>          > melbourne-pug mailing list
>          > melbourne-pug at python.org <mailto:melbourne-pug at python.org>
>          > https://mail.python.org/mailman/listinfo/melbourne-pug
>          >
>          >
>
>
>         --
>         Noon Silk
>
>         Fancy a quantum lunch? https://sites.google.com/site/quantumlunch/
>
>         "Every morning when I wake up, I experience an exquisite joy --
>         the joy
>         of being this signature."
>         -------------- next part --------------
>         An HTML attachment was scrubbed...
>         URL:
>         <http://mail.python.org/pipermail/melbourne-pug/attachments/20140130/619b8947/attachment-0001.html>
>
>         ------------------------------
>
>         Message: 2
>         Date: Thu, 30 Jan 2014 15:11:37 +1100
>         From: Anthony Briggs <anthony.briggs at gmail.com
>         <mailto:anthony.briggs at gmail.com>>
>         To: Melbourne Python Users Group <melbourne-pug at python.org
>         <mailto:melbourne-pug at python.org>>
>         Subject: Re: [melbourne-pug] python-based wiki with nice
>                  query-/template-ability?
>         Message-ID:
>
>         <CAO4-38_ea+ass4aeochGy6UgogXN70g5L5YBwrGoWCuw+yhLHQ at mail.gmail.com
>         <mailto:CAO4-38_ea%2Bass4aeochGy6UgogXN70g5L5YBwrGoWCuw%2ByhLHQ at mail.gmail.com>>
>         Content-Type: text/plain; charset="iso-8859-1"
>
>         I don't know of anything like that off of the top of my head,
>         but from a
>         quick search there are a few lightweight wikis around which might be
>         possible to hack on, eg. https://pypi.python.org/pypi/djiki and
>         https://pypi.python.org/pypi/valet. Perhaps they might get you
>         further than
>         MoinMoin?
>
>
>         On 30 January 2014 14:53, Noon Silk <noonslists at gmail.com
>         <mailto:noonslists at gmail.com>> wrote:
>
>          > > It might help if you gave us some more detail about what
>         you're trying
>          > to
>          > > do, rather than a list of features. eg. The iPython
>         notebook will let
>          > you
>          > > execute arbitrary code, but I don't know whether it can
>         introspect and
>          > > pull bits of other pages in the same notebook.
>          >
>          > I want a Wiki - community editable, versionable, trivial
>         setup, with some
>          > customisability to query the pages that the wiki has, and
>         obtain bits of
>          > the pages - say I create a template page and it always
>         contains sections
>          > "Description, Example, Json" and then I want to obtain each
>         "Example" from
>          > each "page" that I have queried and do things with it; like
>         perhaps create
>          > a graph.
>          >
>          > Something very similar to FindStat.org, really -
>         http://www.findstat.org/(which uses MoinMoin). Note that while
>         this looks like it makes a lot of
>          > use of MoinMoin, infact almost all the work is done through
>         MoinMoin
>          > "macros", written in Python. I want to re-use as much of the
>         wiki as
>          > possible.
>          >
>          >
>          >
>          > On Thu, Jan 30, 2014 at 2:23 PM, Anthony Briggs
>         <anthony.briggs at gmail.com <mailto:anthony.briggs at gmail.com>>wrote:
>          >
>          >> Trac is pretty painful to set up, from memory.
>          >>
>          >> It might help if you gave us some more detail about what
>         you're trying to
>          >> do, rather than a list of features. eg. The iPython notebook
>         will let you
>          >> execute arbitrary code, but I don't know whether it can
>         introspect and pull
>          >> bits of other pages in the same notebook.
>          >>
>          >> Failling that, it might be relatively easy to roll your own,
>         either with
>          >> Django or some combination of Flask/Peewee/Jinja/similar.
>          >>
>          >> Anthony
>          >>
>          >>
>          >>
>          >> On 30 January 2014 13:36, Noon Silk <noonslists at gmail.com
>         <mailto:noonslists at gmail.com>> wrote:
>          >>
>          >>> > There is Django snippets ... https://djangosnippets.org
>          >>> > and Pastebin ... http://pastebin.com/
>          >>>
>          >>> ..., these are both websites. I'm looking for something to
>         customise
>          >>> myself.
>          >>>
>          >>>
>          >>> > Also, have you looked at the Trac wiki? Most people would
>         use it for
>          >>> > the ticketing but it also has useful wiki with markup
>         permitting code.
>          >>>
>          >>> I hadn't considered Trac for this, thanks for reminding me
>         about it. I'm
>          >>> not sure it's right, though.
>          >>>
>          >>>
>          >>>
>          >>> On Thu, Jan 30, 2014 at 12:17 PM, Mike Dewhirst
>         <miked at dewhirst.com.au <mailto:miked at dewhirst.com.au>>wrote:
>          >>>
>          >>>> On 30/01/2014 11:56am, Noon Silk wrote:
>          >>>>
>          >>>>> Hello,
>          >>>>>
>          >>>>>    So I'm interested in a python-based wiki that I can
>         write arbitrary
>          >>>>> python code in; perhaps with a view to:
>          >>>>>    1) Creating specific templates,
>          >>>>>    2) Arbitrarily querying the list of pages,
>          >>>>>    3) Obtaining specific "bits" of pages (Perhaps I mark
>         a section in
>          >>>>> the template as "json", then I'd want to grab the json
>         from pages A,
>          >>>>> B, X, Y
>          >>>>>
>          >>>>>    Anyone know of something out there that does this?
>          >>>>>
>          >>>>
>          >>>> There is Django snippets ... https://djangosnippets.org
>          >>>> and Pastebin ... http://pastebin.com/
>          >>>>
>          >>>> Also, have you looked at the Trac wiki? Most people would
>         use it for
>          >>>> the ticketing but it also has useful wiki with markup
>         permitting code.
>          >>>>
>          >>>> Mike
>          >>>>
>          >>>> At the moment all
>          >>>>
>          >>>>> I can think of is MoinMoin [1].
>          >>>>>
>          >>>>> [1] http://moinmo.in/MoinMoinWiki
>          >>>>> --
>          >>>>> Noon Silk
>          >>>>>
>          >>>>> Fancy a quantum lunch?
>         https://sites.google.com/site/quantumlunch/
>          >>>>>
>          >>>>> "Every morning when I wake up, I experience an exquisite
>         joy -- the joy
>          >>>>> of being this signature."
>          >>>>>
>          >>>>>
>          >>>>> _______________________________________________
>          >>>>> melbourne-pug mailing list
>          >>>>> melbourne-pug at python.org <mailto:melbourne-pug at python.org>
>          >>>>> https://mail.python.org/mailman/listinfo/melbourne-pug
>          >>>>>
>          >>>>>
>          >>>> _______________________________________________
>          >>>> melbourne-pug mailing list
>          >>>> melbourne-pug at python.org <mailto:melbourne-pug at python.org>
>          >>>> https://mail.python.org/mailman/listinfo/melbourne-pug
>          >>>>
>          >>>
>          >>>
>          >>>
>          >>> --
>          >>> Noon Silk
>          >>>
>          >>> Fancy a quantum lunch?
>         https://sites.google.com/site/quantumlunch/
>          >>>
>          >>> "Every morning when I wake up, I experience an exquisite
>         joy -- the joy
>          >>> of being this signature."
>          >>>
>          >>> _______________________________________________
>          >>> melbourne-pug mailing list
>          >>> melbourne-pug at python.org <mailto:melbourne-pug at python.org>
>          >>> https://mail.python.org/mailman/listinfo/melbourne-pug
>          >>>
>          >>>
>          >>
>          >> _______________________________________________
>          >> melbourne-pug mailing list
>          >> melbourne-pug at python.org <mailto:melbourne-pug at python.org>
>          >> https://mail.python.org/mailman/listinfo/melbourne-pug
>          >>
>          >>
>          >
>          >
>          > --
>          > Noon Silk
>          >
>          > Fancy a quantum lunch?
>         https://sites.google.com/site/quantumlunch/
>          >
>          > "Every morning when I wake up, I experience an exquisite joy
>         -- the joy
>          > of being this signature."
>          >
>          > _______________________________________________
>          > melbourne-pug mailing list
>          > melbourne-pug at python.org <mailto:melbourne-pug at python.org>
>          > https://mail.python.org/mailman/listinfo/melbourne-pug
>          >
>          >
>         -------------- next part --------------
>         An HTML attachment was scrubbed...
>         URL:
>         <http://mail.python.org/pipermail/melbourne-pug/attachments/20140130/a667f201/attachment.html>
>
>         ------------------------------
>
>         Subject: Digest Footer
>
>         _______________________________________________
>         melbourne-pug mailing list
>         melbourne-pug at python.org <mailto:melbourne-pug at python.org>
>         https://mail.python.org/mailman/listinfo/melbourne-pug
>
>
>         ------------------------------
>
>         End of melbourne-pug Digest, Vol 91, Issue 19
>         *********************************************
>
>
>
>     _______________________________________________
>     melbourne-pug mailing list
>     melbourne-pug at python.org <mailto:melbourne-pug at python.org>
>     https://mail.python.org/mailman/listinfo/melbourne-pug
>
>
>
>
> --
> Noon Silk
>
> Fancy a quantum lunch? https://sites.google.com/site/quantumlunch/
>
> "Every morning when I wake up, I experience an exquisite joy — the joy
> of being this signature."
>
>
> _______________________________________________
> melbourne-pug mailing list
> melbourne-pug at python.org
> https://mail.python.org/mailman/listinfo/melbourne-pug
>



More information about the melbourne-pug mailing list