Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for SymmetricDifference #283

Open
ykhaled opened this issue Aug 13, 2023 · 2 comments
Open

Support for SymmetricDifference #283

ykhaled opened this issue Aug 13, 2023 · 2 comments

Comments

@ykhaled
Copy link

ykhaled commented Aug 13, 2023

Fantastic and useful library. Is it possible to add SymmetricDifference method?
Its already part of python netaddr library:
from netaddr import *
subnet1= IPSet(IPNetwork("10.0.0.0/15"))
subnet2 = IPSet(IPNetwork("10.0.0.0/16"))
result = subnet1 ^ subnet2
print(result)

@ykhaled
Copy link
Author

ykhaled commented Sep 1, 2023

How about the difference? like subnet1 - subnet2 ?

@lduchosal
Copy link
Owner

PR Welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants