python-iterutils 0.2.5__py3-none-any.whl → 0.2.5.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
iterutils/__init__.py CHANGED
@@ -7,8 +7,9 @@ __all__ = [
7
7
  "Yield", "YieldFrom", "iterable", "async_iterable",
8
8
  "run_gen_step", "run_gen_step_iter", "as_gen_step",
9
9
  "as_gen_step_iter", "split_cm, ""with_iter_next",
10
- "map", "filter", "reduce", "zip", "chain", "chunked",
11
- "foreach", "async_foreach", "through", "async_through",
10
+ "map", "filter", "reduce", "zip", "chain",
11
+ "chain_from_iterable", "chunked", "foreach",
12
+ "async_foreach", "through", "async_through",
12
13
  "flatten", "async_flatten", "collect", "async_collect",
13
14
  "group_collect", "async_group_collect", "iter_unique",
14
15
  "async_iter_unique", "wrap_iter", "wrap_aiter", "acc_step",
@@ -533,6 +534,8 @@ def chain_from_iterable[T](
533
534
  return async_chain.from_iterable(iterables, threaded=threaded)
534
535
  return _chain.from_iterable(iterables) # type: ignore
535
536
 
537
+ setattr(chain, "from_iterable", chain_from_iterable)
538
+
536
539
 
537
540
  @overload
538
541
  def chunked[T](
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-iterutils
3
- Version: 0.2.5
3
+ Version: 0.2.5.1
4
4
  Summary: Python another itertools.
5
5
  Home-page: https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-iterutils
6
6
  License: MIT
@@ -0,0 +1,7 @@
1
+ LICENSE,sha256=o5242_N2TgDsWwFhPn7yr8YJNF7XsJM5NxUMtcT97bc,1100
2
+ iterutils/__init__.py,sha256=aoUmnRzgOHOAT4hzUXPJ9A3bvUepx0ueCtjWl4XPT3k,33354
3
+ iterutils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ python_iterutils-0.2.5.1.dist-info/LICENSE,sha256=o5242_N2TgDsWwFhPn7yr8YJNF7XsJM5NxUMtcT97bc,1100
5
+ python_iterutils-0.2.5.1.dist-info/METADATA,sha256=lp7fYBJQJTjPu5_nd262n54aUP_4k0-ngr_So_iSpbs,1429
6
+ python_iterutils-0.2.5.1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
7
+ python_iterutils-0.2.5.1.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- LICENSE,sha256=o5242_N2TgDsWwFhPn7yr8YJNF7XsJM5NxUMtcT97bc,1100
2
- iterutils/__init__.py,sha256=GJWB55mT2qVPXmSKIR0qfVQXiH2_7wZwpQTLVSNmqwg,33272
3
- iterutils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- python_iterutils-0.2.5.dist-info/LICENSE,sha256=o5242_N2TgDsWwFhPn7yr8YJNF7XsJM5NxUMtcT97bc,1100
5
- python_iterutils-0.2.5.dist-info/METADATA,sha256=boKzeiFl7sWgEEk0XU9MShqgHHzbUbqAn37UWikXmrE,1427
6
- python_iterutils-0.2.5.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
7
- python_iterutils-0.2.5.dist-info/RECORD,,