What's Changed
This update to `py2sambvca` includes _significant_ quality of life improvements for the codebase, as well as a complete backend re-write to enable the addition of a multitude of useful functions:
- README now contains better examples
- All functions interfacing with the output of `py2sambvca` now use a single internal `get_regex` function
- Tests now cover __96%__ of the codebase
- `import` has been dramatically simplified
- All results from _SambVca_ are readily accessible through getters and class attributes.
This minor version maintains complete backwards compatibility with previous versions of `py2sambvca`.
New Functions
Running is now simple with the single line `run()` function.
All values for the total complex, quadrants, and octants are available through getters:
Total Values:
- `get_free_volume()`
- `get_buried_volume()`
- `get_exact_volume()`
- `get_total_volume()`
- `get_percent_buried_volume()`
- `get_percent_free_volume()`
- `get_percent_total_volume()`
Quadrant Values:
- `get_quadrant_free_volume()`
- `get_quadrant_buried_volume()`
- `get_quadrant_total_volume()`
- `get_quadrant_percent_buried_volume()`
- `get_quadrant_percent_free_volume()`
Octant Values:
- `get_octant_free_volume()`
- `get_octant_buried_volume()`
- `get_octant_total_volume()`
- `get_octant_percent_buried_volume()`
- `get_octant_percent_free_volume()`
Results can also be accessed through a general getter method: `get()`, `get_quadrant_result()`, and `get_octant_result()`.
All results can also be directly accessed through dictionaries, returned from a call to `run()` or `parse_output()` and available through `p2s.total_results`, `p2s.quadrant_results`, and `p2s.octant_results`.
In case there is something else you are looking for, you can use a general purpose `get_regex()` function to return the line containing a pattern.
PR's and Changelog
* Quality of Life Improvements for `py2sambvca` by JacksonBurns in https://github.com/JacksonBurns/py2sambvca/pull/2
* get version from __init__ by JacksonBurns in https://github.com/JacksonBurns/py2sambvca/pull/3
**Full Changelog**: https://github.com/JacksonBurns/py2sambvca/compare/v1.1.0...v1.2.0