py-enumerable
py-enumerable copied to clipboard
A Python module used for interacting with collections of objects using LINQ syntax
Current implementation of the `Enumerable` results in inconsistent results when calling methods such as `first()`. For example: ```Python e = Enumerable((x for x in range(0, 5))) e.first() # 0 e.first()...
Speed
First let me say that I really love this package that you've developed. I think using LINQ-style syntax is a lot more intuitive and easier to read/understand than using Python...
PR for #70 for your consideration
Adding type annotations to the library would be helpful for those into type checking. This can avoid type errors. I can create separate PRs for this as it is simple...
#38 Shows that performance tests are needed as part of build process in Azure Pipelines so that degradation in performance can be observed. Would be a good idea to also...
Need to add documentation for different classes used: Enumerable Grouping SortedEnumerable A folder /docs/api has been started
Enumerable.Any() failed to find 'None' values. I updated the function and updated unit tests to match.
- When running the command in Terminal: pip install -r requirements.dev.txt - Error shown: Collecting future=0.18.2 (from py-linq==1.4.0->-r requirements.dev.txt (line 7)) Downloading future-0.18.3.tar.gz (840 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 840.9/840.9 kB 3.3 MB/s...
aa = Enumerable([{'numbertag': 1, 'numberdesign': 1, 'notes': None, 'status': 128, 'plcstart': '2023-11-10 21:00:02', 'plcstop': '2023-11-10 21:01:04', 'groupuid': 'GROUP:3303', 'tagtype': 'CYCLETIME'},{'numbertag': 5, 'numberdesign': 5, 'notes': '', 'status': 0}, {'numbertag': 1, 'numberdesign':...
Hi, I'm a big fan of this library and have been using it for a while, however recently I ran into a problem for which I don't understand the reason....