malachite icon indicating copy to clipboard operation
malachite copied to clipboard

Integration with PyO3

Open amamic1803 opened this issue 1 year ago • 1 comments

I think it would be useful for Natural and Integer to implement FromPyObject and ToPyObject for easier integration with Python using PyO3. Obviously, not many people need these implementations so they could be behind an optional feature flag. It seems relatively easy to implement so if you agree, I can try to do it myself.

amamic1803 avatar Jan 13 '24 23:01 amamic1803

I didn't know about this! It's a cool idea. Go for it, and let me know if you need help.

mhogrefe avatar Jan 13 '24 23:01 mhogrefe