ezKit 1.8.6__tar.gz → 1.8.7__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,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ezKit
3
- Version: 1.8.6
3
+ Version: 1.8.7
4
4
  Summary: Easy Kit
5
5
  Author: septvean
6
6
  Author-email: septvean@gmail.com
@@ -507,13 +507,18 @@ def list_print_by_step(
507
507
  """
508
508
  try:
509
509
 
510
- _data_list = list_split(data, number, debug=debug)
510
+ result: list = []
511
511
 
512
- if _data_list is None:
513
- return False
512
+ if len(data) <= number:
513
+ result.append(data)
514
+ else:
515
+ data_list = list_split(data, number, debug=debug)
516
+ if data_list is None or v_true(data_list, list) is False:
517
+ return False
518
+ result = data_list
514
519
 
515
- for _item in _data_list:
516
- print(*_item, sep=separator)
520
+ for item in result:
521
+ print(*item, sep=separator)
517
522
 
518
523
  return True
519
524
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ezKit
3
- Version: 1.8.6
3
+ Version: 1.8.7
4
4
  Summary: Easy Kit
5
5
  Author: septvean
6
6
  Author-email: septvean@gmail.com
@@ -3,7 +3,7 @@ from setuptools import find_packages, setup
3
3
 
4
4
  setup(
5
5
  name='ezKit',
6
- version='1.8.6',
6
+ version='1.8.7',
7
7
  author='septvean',
8
8
  author_email='septvean@gmail.com',
9
9
  description='Easy Kit',
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
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
File without changes
File without changes