Parses output from Boa in Python! 👍
Note: This is not a Boa client! (I would have come up with a egregious snake pun had I made that).
Install using pip:
$ pip install bop
Using the data viewable here:
>>> import bop
>>> with open('boa-job-output.txt') as f:
... results = bop.parse(f, weighted=True)
...
>>> results
{'c#': '145', 'python': '127', 'php': '358', 'c': ...}
Copyright 2016 Eddie Antonio Santos
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.