The quick summary is that once boolean.py has done the heavy lifting of simplifying my boolean expression, I want to export the objects into my own data structure. (I understand that the docs suggest to do this by subclassing Symbol, NOT, AND and OR functions, but this feels unnecessarily awkward to me.)
The urgency on my end is pretty low, as I am only using this in a standalone project for now, but I suspect other folks might benefit from the code. If this seems like a worthwhile extension, I can probably submit a PR.
Hello, I recently wrote the following code for a project I am working on:
https://github.com/showell/boolean-py-export-example includes that code, and I describe my use case in a little more detail.
The quick summary is that once boolean.py has done the heavy lifting of simplifying my boolean expression, I want to export the objects into my own data structure. (I understand that the docs suggest to do this by subclassing Symbol, NOT, AND and OR functions, but this feels unnecessarily awkward to me.)
The urgency on my end is pretty low, as I am only using this in a standalone project for now, but I suspect other folks might benefit from the code. If this seems like a worthwhile extension, I can probably submit a PR.