Linqex

Latest version: v1.6.2

Safety actively analyzes 623883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.6.2

Edited ExceptKey in all class. Minor bug fixes.
Added
* Added `ExceptKey` method in the `EnumerableDict` class

Edited
* Edited ExceptKey in all class.

1.6.1

Added abstract classes. Minor bug fixes.
Added
* Added `ToItem` property in the `EnumerableList`, `EnumerableDict` and `EnumerableItem` class
Fixed
* Fixed minor bugs in magic methods of all classes.

1.6

Added abstract classes. Minor bug fixes.
Added
* Added `abc.iterablebase.py` file. Added `AbstractEnumerableBase` class inside the file.
* Added `abc.iterable.py` file. Added `AbstractEnumerable` class inside the file.
* Added abstract classes for `Enumerable` and `EnumerableBase` classes.
* The magic method `__str__` has been added to inherited classes in all `Abstract IEnumerable` and `Abstract Enumerable Base` classes. (output: `Enumerable([...])`)
Edited
* By default, `orderByFunc` parameters of `OrderBy` and `ThenBy` methods in all classes are assigned `lambda key, value: value` for dict classes and `lambda value: value` for list classes.
* By default, `conditionFunc` parameters of `Any` and `All` methods in all classes are assigned `lambda key, value: value` for dict classes and `lambda value: value` for list classes.
Fixed
* Fixed minor bugs in magic methods of all classes.

1.5

New `EnumerableItem`.
Added
* Added `EnumerableItemBase` and `EnumerableItem` classes.
Edited
* Calling the `EnumerableBase` class will now return the `EnumerableItemBase` class instead of the `EnumerableListBase`.
* Calling the `Enumerable` class will now return the `EnumerableItem` class instead of the `EnumerableList`.

Fixed
* Fixed minor bugs in `OrderBy` method in all classes.

1.4

Added classes generic structure
Added
* Added `EnumerableBase` and `Enumerable` classes generic structure.
* Added `EnumerableBase(iterable).Accumulate`, `EnumerableBase(iterable).RemoveAll` and `EnumerableBase.Dict(iterdict).OfTypeByKey` methods into the `Enumerable Base` class
* Added `Enumerable(iterable).Accumulate`, `Enumerable(iterable).RemoveAll` and `Enumerable.Dict(iterdict).OfTypeByKey` methods in the `Enumerable` class
Edited
* Methods in class `EnumerableBase(iterable)` in file `build.py` have been split into structures `build/iterlist.py` `EnumerableListBase(iterlist)` and `build/iterdict.py` `EnumerableDictBase(iterdict)`.
* Methods in class `Enumerable(iterable)` in file `build.py` have been split into structures `build/iterlist.py` and `build/iterdict.py`.
Deleted
* Deleted `Enumerable(iterable).Map` methods in the `Enumerable` class

1.3

Most methods found in the C Linq framework have been transferred to the python-linqex project and additional modifications have been made to the classes. (build.py and linq.py edited, newly added methods tested)
Added
* Added data type fixation to 'Enumerable' class. [Enumerable(iterable) -> Enumerable(iterable, const-type)]
* Added 'Take', 'TakeLast', 'Skip', 'SkipLast', 'Select', 'Distinct', 'Except', 'Join', 'OrderBy', 'Reverse', 'Zip', 'SequenceEqual', 'Aggregate', 'Prepent', 'Insert', 'Concat', 'Map', 'ContainsByKey', 'Contains' and 'Loop' methods into the 'Enumerable Base' class
* Added 'Take', 'TakeLast', 'Skip', 'SkipLast', 'Select', 'Distinct', 'Except', 'Join', 'OrderBy', 'ThenBy', 'Reverse', 'Zip', 'SequenceEqual', 'Aggregate', 'Prepent', 'Insert', 'Concat', 'Map', 'ContainsByKey', 'Contains' and 'Loop' methods in the 'Enumerable' class
* Added 'Range' and 'Repeat' static methods into the 'Enumerable' class
Edited
* PascalCase is used to name the methods inside the 'Enumerable' class and the 'build.py' file.
* The methods in the 'build.py' file are imported into the 'EnumerableBase(iterable)' class in the 'build.py' file.
* The names of the 'insets' -> 'Select' and 'insets' -> 'Map' methods in the 'EnumerateBase' class have been changed.
* The names of the 'insets' -> 'Select', 'insets' -> 'Map', 'inKey' -> 'ContainsByKey' and 'inValue' -> 'Contains' methods in the 'Enumerate' class have been changed.
Deleted
* Deleted 'ingets' and 'insets' methods from 'Enumerable' class and 'build.py' file.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.