Hi,

PinkElephant is a name of a project for which we could not find a
suitable name ;-)

It was made for the Holding Pen, it provides the easy-to-use API for
manipulating the marc records and also to index them into the
HoldingPen/database. The BibFormat then manipulates the records for
display in the Holding pen. Have a look at the unittests (but a word
of warning: it was made in two weeks before my departure for CfA, so
it is crude)

Jan has taken it over, so maybe there is already a different branch somewhere...

Cheers,

roman


On Mon, Mar 26, 2012 at 2:24 PM, Samuele Kaplun <[email protected]> wrote:
> Hi!
>
> In data lunedì, 26 marzo 2012 13.22:24, Roman Chyla ha scritto:
>> +1 for decoupling the indexes
>
> this was also proposed since long time in the derived logical fields idea:
>
> (it's still on Savannah!)
>
> <https://savannah.cern.ch/task/?7572>
>
>> The HoldingPen branch has done something along these lines, the
>> PinkTable adds the ability to process records one by one (the indexes
>> must be created before, but that could be API'ed as well) - the
>> interface is exposed via PinkElephant
>>
>> pe = PinkElephant()
>> while x in range(100):
>>    pe.index(pe.get_record(x))
>> pe.commit()
>>
>> https://github.com/romanchyla/invenio/blob/pink-elephant/modules/pinkelephan
>> t/lib/pink_elephant.py
>
> What is PinkElephant? Were can we find more info about it?
>
> Cheers!
>        Sam
> --
> Samuele Kaplun
> Invenio Developer ** <http://invenio-software.org/>
>

Reply via email to