pipe21 1.0.12__tar.gz → 1.1.0__tar.gz
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.
- {pipe21-1.0.12 → pipe21-1.1.0}/PKG-INFO +1 -1
- {pipe21-1.0.12 → pipe21-1.1.0}/pipe21/__init__.py +1 -14
- {pipe21-1.0.12 → pipe21-1.1.0}/pipe21.egg-info/PKG-INFO +1 -1
- {pipe21-1.0.12 → pipe21-1.1.0}/setup.cfg +2 -2
- {pipe21-1.0.12 → pipe21-1.1.0}/README.md +0 -0
- {pipe21-1.0.12 → pipe21-1.1.0}/pipe21.egg-info/SOURCES.txt +0 -0
- {pipe21-1.0.12 → pipe21-1.1.0}/pipe21.egg-info/dependency_links.txt +0 -0
- {pipe21-1.0.12 → pipe21-1.1.0}/pipe21.egg-info/requires.txt +0 -0
- {pipe21-1.0.12 → pipe21-1.1.0}/pipe21.egg-info/top_level.txt +0 -0
- {pipe21-1.0.12 → pipe21-1.1.0}/setup.py +0 -0
- {pipe21-1.0.12 → pipe21-1.1.0}/tests/test_pipe.py +0 -0
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import concurrent.futures
|
|
2
1
|
import itertools
|
|
3
2
|
import operator
|
|
4
3
|
import re
|
|
@@ -6,7 +5,7 @@ import subprocess
|
|
|
6
5
|
from functools import partial
|
|
7
6
|
from functools import reduce
|
|
8
7
|
|
|
9
|
-
__version__ = '1.0
|
|
8
|
+
__version__ = '1.1.0'
|
|
10
9
|
|
|
11
10
|
|
|
12
11
|
class B:
|
|
@@ -66,15 +65,3 @@ class Apply(B):
|
|
|
66
65
|
class ForEach(B):
|
|
67
66
|
def __ror__(self, x):
|
|
68
67
|
for e in x: self.f(e)
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
class ThreadMap(B):
|
|
72
|
-
def __ror__(self, it):
|
|
73
|
-
with concurrent.futures.ThreadPoolExecutor() as pool:
|
|
74
|
-
return pool.map(self.f, it) | Pipe(tuple)
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
class ProcessMap(B):
|
|
78
|
-
def __ror__(self, it):
|
|
79
|
-
with concurrent.futures.ProcessPoolExecutor() as pool:
|
|
80
|
-
return pool.map(self.f, it) | Pipe(tuple)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[metadata]
|
|
2
2
|
name = pipe21
|
|
3
|
-
version = 1.0
|
|
3
|
+
version = 1.1.0
|
|
4
4
|
description = simple functional pipes
|
|
5
5
|
long_description = file: README.md
|
|
6
6
|
long_description_content_type = text/markdown
|
|
@@ -64,7 +64,7 @@ aggressive = 3
|
|
|
64
64
|
jobs = 8
|
|
65
65
|
|
|
66
66
|
[bumpver]
|
|
67
|
-
current_version = "v1.0
|
|
67
|
+
current_version = "v1.1.0"
|
|
68
68
|
version_pattern = "vMAJOR.MINOR.PATCH"
|
|
69
69
|
commit_message = "bump version {old_version} -> {new_version}"
|
|
70
70
|
commit = True
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|