How to use percevaler.py - lmichel/vo-grimoire GitHub Wiki
How to use percevaler.py
This module, allow you to print messages of an mbox repository, search a keyword, print the 5 first messages of the mbox
Methods
- getAllMessage(repo)
- getMessageCounterName(repo,nom)
- keyword(repo,keyword)
- first5messages(repo)
- printArray(arr)
- afficherPremiers(repo)
- countAllMessage(repo)
Inputs
You will have to already have a repository made by perceval on an mbox to use these methods The repository is the one that you will specify in the parameter
Output
All the results are printed in the console.
How to use it
Just call the methods and specify the repository in each one and maybe keywords or name for two ones