Metadata-Version: 2.1
Name: screwhashesset
Version: 0.10
Summary: A set that handles all kinds of objects (hashable or not) and preserves the order of the elements
Home-page: https://github.com/hansalemaos/screwhashesset
Author: Johannes Fischer
Author-email: aulasparticularesdealemaosp@gmail.com
License: MIT
Keywords: set,hash,collections
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Description-Content-Type: text/markdown
License-File: LICENSE.rst


# A set that handles all kinds of objects (hashable or not) and preserves the order of the elements

## pip install screwhashesset

#### Tested against Windows 10 / Python 3.10 / Anaconda 

	
```python

from screwhashesset import ScrewHashesSet

s1 = ScrewHashesSet([[(43, 5), 1, 2], 3, {3, 4, 5, 6}, {2: 3, 3: 5}, {2: 3, 3: 6}])
s2 = ScrewHashesSet([(2, 3), [1, 2], 3, 4, {3, 4, 5}, {2: 3, 3: 5}, {1: 32}])
print(s1 - s2)
print(s2 - s1)
print(s2 | s1)
print(s2 & s1)

# str():  {[(43, 5), 1, 2], {3, 4, 5, 6}, {2: 3, 3: 6}}
# repr(): ScrewHashesSet([[(43, 5), 1, 2], {3, 4, 5, 6}, {2: 3, 3: 6}])

# str():  {(2, 3), [1, 2], 4, {3, 4, 5}, {1: 32}}
# repr(): ScrewHashesSet([(2, 3), [1, 2], 4, {3, 4, 5}, {1: 32}])

# str():  {(2, 3), [1, 2], 3, 4, {3, 4, 5}, {2: 3, 3: 5}, {1: 32}, [(43, 5), 1, 2], {3, 4, 5, 6}, {2: 3, 3: 6}}
# repr(): ScrewHashesSet([(2, 3), [1, 2], 3, 4, {3, 4, 5}, {2: 3, 3: 5}, {1: 32}, [(43, 5), 1, 2], {3, 4, 5, 6}, {2: 3, 3: 6}])

# str():  {3, {2: 3, 3: 5}}
# repr(): ScrewHashesSet([3, {2: 3, 3: 5}])
```
