pyallel 1.2.3__tar.gz → 1.2.5__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.
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyallel
3
- Version: 1.2.3
3
+ Version: 1.2.5
4
4
  Summary: Run and handle the output of multiple executables in pyallel (as in parallel)
5
5
  Home-page: https://github.com/Danthewaann/pyallel
6
6
  License: MIT
7
7
  Keywords: parallel,command,runner,executable,shell,terminal
8
8
  Author: Daniel Black
9
9
  Author-email: danielcrblack@gmail.com
10
- Requires-Python: >=3.8,<3.13
10
+ Requires-Python: >=3.8,<3.14
11
11
  Classifier: Development Status :: 5 - Production/Stable
12
12
  Classifier: License :: OSI Approved :: MIT License
13
13
  Classifier: Operating System :: MacOS :: MacOS X
@@ -17,6 +17,8 @@ Classifier: Programming Language :: Python :: 3.8
17
17
  Classifier: Programming Language :: Python :: 3.9
18
18
  Classifier: Programming Language :: Python :: 3.10
19
19
  Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
20
22
  Project-URL: Repository, https://github.com/Danthewaann/pyallel
21
23
  Description-Content-Type: text/markdown
22
24
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pyallel"
3
- version = "1.2.3"
3
+ version = "1.2.5"
4
4
  description = "Run and handle the output of multiple executables in pyallel (as in parallel)"
5
5
  authors = ["Daniel Black <danielcrblack@gmail.com>"]
6
6
  license = "MIT"
@@ -20,12 +20,12 @@ classifiers = [
20
20
  pyallel = "pyallel.main:entry_point"
21
21
 
22
22
  [tool.poetry.dependencies]
23
- python = ">=3.8,<3.13"
23
+ python = ">=3.8,<3.14"
24
24
 
25
25
  [tool.poetry.group.dev.dependencies]
26
26
  pytest = "^7.4.3"
27
27
  mypy = "^1.7.0"
28
- pyinstaller = "6.4.0"
28
+ pyinstaller = "6.11.0"
29
29
 
30
30
  [tool.mypy]
31
31
  strict = true
@@ -1,5 +1,5 @@
1
- import os
2
1
  import re
2
+ import shutil
3
3
  import sys
4
4
 
5
5
  IN_TTY = sys.stdout.isatty()
@@ -10,10 +10,10 @@ ANSI_ESCAPE = re.compile(r"(\x9B|\x1B\[|\x1B\()[0-?]*[ -\/]*[@-~]")
10
10
  if IN_TTY:
11
11
 
12
12
  def COLUMNS() -> int:
13
- return os.get_terminal_size().columns
13
+ return shutil.get_terminal_size().columns
14
14
 
15
15
  def LINES() -> int:
16
- return os.get_terminal_size().lines
16
+ return shutil.get_terminal_size().lines
17
17
 
18
18
  else:
19
19
 
@@ -294,9 +294,8 @@ class ProcessGroup:
294
294
  p_output_lines = 0
295
295
  if p_output:
296
296
  if not all:
297
- p_output_lines = p_output.splitlines()[-self.process_lines[i - 1] :]
298
297
  p_output = ""
299
- for line in p_output_lines:
298
+ for line in p_output.splitlines()[-self.process_lines[i - 1] :]:
300
299
  if len(line) + 3 > constants.COLUMNS():
301
300
  p_output += f"{''.join(line[:constants.COLUMNS()-3])}\n"
302
301
  else:
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes