bop - parses results from Boa's less than helpful text output
Project description
Parses output from Boa in Python! :thumbsup:
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.