Skip to content

eddieantonio/bop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boa Output Parser

Latest stable version number on Pypi Apache Licensed Read the docs Build status of the master branch on Mac/Linux

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

Install using pip:

$ pip install bop

Example

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': ...}

License

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.