I have a python package, opstrat which can be used for visualization of option payoffs as well as implementing BSM model for option pricing.
I hope you will find this package interesting.
Please do check out the package and let me know your feedback.
Here is the PYPI link:
It would be great if you could suggest me new features to be added in the package.