encommon 0.19.1__tar.gz → 0.20.0__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. {encommon-0.19.1/encommon.egg-info → encommon-0.20.0}/PKG-INFO +6 -4
  2. {encommon-0.19.1 → encommon-0.20.0}/README.md +3 -1
  3. {encommon-0.19.1 → encommon-0.20.0}/encommon/conftest.py +1 -1
  4. {encommon-0.19.1 → encommon-0.20.0}/encommon/parse/jinja2.py +1 -1
  5. {encommon-0.19.1 → encommon-0.20.0}/encommon/utils/stdout.py +4 -2
  6. encommon-0.20.0/encommon/version.txt +1 -0
  7. {encommon-0.19.1 → encommon-0.20.0/encommon.egg-info}/PKG-INFO +6 -4
  8. {encommon-0.19.1 → encommon-0.20.0}/pyproject.toml +3 -3
  9. {encommon-0.19.1 → encommon-0.20.0}/setup.cfg +1 -0
  10. encommon-0.19.1/encommon/version.txt +0 -1
  11. {encommon-0.19.1 → encommon-0.20.0}/LICENSE +0 -0
  12. {encommon-0.19.1 → encommon-0.20.0}/MANIFEST.in +0 -0
  13. {encommon-0.19.1 → encommon-0.20.0}/encommon/__init__.py +0 -0
  14. {encommon-0.19.1 → encommon-0.20.0}/encommon/colors/__init__.py +0 -0
  15. {encommon-0.19.1 → encommon-0.20.0}/encommon/colors/color.py +0 -0
  16. {encommon-0.19.1 → encommon-0.20.0}/encommon/colors/test/__init__.py +0 -0
  17. {encommon-0.19.1 → encommon-0.20.0}/encommon/colors/test/test_color.py +0 -0
  18. {encommon-0.19.1 → encommon-0.20.0}/encommon/config/__init__.py +0 -0
  19. {encommon-0.19.1 → encommon-0.20.0}/encommon/config/config.py +0 -0
  20. {encommon-0.19.1 → encommon-0.20.0}/encommon/config/files.py +0 -0
  21. {encommon-0.19.1 → encommon-0.20.0}/encommon/config/logger.py +0 -0
  22. {encommon-0.19.1 → encommon-0.20.0}/encommon/config/params.py +0 -0
  23. {encommon-0.19.1 → encommon-0.20.0}/encommon/config/paths.py +0 -0
  24. {encommon-0.19.1 → encommon-0.20.0}/encommon/config/test/__init__.py +0 -0
  25. {encommon-0.19.1 → encommon-0.20.0}/encommon/config/test/test_config.py +0 -0
  26. {encommon-0.19.1 → encommon-0.20.0}/encommon/config/test/test_files.py +0 -0
  27. {encommon-0.19.1 → encommon-0.20.0}/encommon/config/test/test_logger.py +0 -0
  28. {encommon-0.19.1 → encommon-0.20.0}/encommon/config/test/test_paths.py +0 -0
  29. {encommon-0.19.1 → encommon-0.20.0}/encommon/config/test/test_utils.py +0 -0
  30. {encommon-0.19.1 → encommon-0.20.0}/encommon/config/utils.py +0 -0
  31. {encommon-0.19.1 → encommon-0.20.0}/encommon/crypts/__init__.py +0 -0
  32. {encommon-0.19.1 → encommon-0.20.0}/encommon/crypts/crypts.py +0 -0
  33. {encommon-0.19.1 → encommon-0.20.0}/encommon/crypts/hashes.py +0 -0
  34. {encommon-0.19.1 → encommon-0.20.0}/encommon/crypts/params.py +0 -0
  35. {encommon-0.19.1 → encommon-0.20.0}/encommon/crypts/test/__init__.py +0 -0
  36. {encommon-0.19.1 → encommon-0.20.0}/encommon/crypts/test/test_crypts.py +0 -0
  37. {encommon-0.19.1 → encommon-0.20.0}/encommon/crypts/test/test_hashes.py +0 -0
  38. {encommon-0.19.1 → encommon-0.20.0}/encommon/parse/__init__.py +0 -0
  39. {encommon-0.19.1 → encommon-0.20.0}/encommon/parse/network.py +0 -0
  40. {encommon-0.19.1 → encommon-0.20.0}/encommon/parse/test/__init__.py +0 -0
  41. {encommon-0.19.1 → encommon-0.20.0}/encommon/parse/test/test_jinja2.py +0 -0
  42. {encommon-0.19.1 → encommon-0.20.0}/encommon/parse/test/test_network.py +0 -0
  43. {encommon-0.19.1 → encommon-0.20.0}/encommon/py.typed +0 -0
  44. {encommon-0.19.1 → encommon-0.20.0}/encommon/times/__init__.py +0 -0
  45. {encommon-0.19.1 → encommon-0.20.0}/encommon/times/common.py +0 -0
  46. {encommon-0.19.1 → encommon-0.20.0}/encommon/times/duration.py +0 -0
  47. {encommon-0.19.1 → encommon-0.20.0}/encommon/times/params.py +0 -0
  48. {encommon-0.19.1 → encommon-0.20.0}/encommon/times/parse.py +0 -0
  49. {encommon-0.19.1 → encommon-0.20.0}/encommon/times/test/__init__.py +0 -0
  50. {encommon-0.19.1 → encommon-0.20.0}/encommon/times/test/test_duration.py +0 -0
  51. {encommon-0.19.1 → encommon-0.20.0}/encommon/times/test/test_params.py +0 -0
  52. {encommon-0.19.1 → encommon-0.20.0}/encommon/times/test/test_parse.py +0 -0
  53. {encommon-0.19.1 → encommon-0.20.0}/encommon/times/test/test_time.py +0 -0
  54. {encommon-0.19.1 → encommon-0.20.0}/encommon/times/test/test_timer.py +0 -0
  55. {encommon-0.19.1 → encommon-0.20.0}/encommon/times/test/test_timers.py +0 -0
  56. {encommon-0.19.1 → encommon-0.20.0}/encommon/times/test/test_unitime.py +0 -0
  57. {encommon-0.19.1 → encommon-0.20.0}/encommon/times/test/test_utils.py +0 -0
  58. {encommon-0.19.1 → encommon-0.20.0}/encommon/times/test/test_window.py +0 -0
  59. {encommon-0.19.1 → encommon-0.20.0}/encommon/times/test/test_windows.py +0 -0
  60. {encommon-0.19.1 → encommon-0.20.0}/encommon/times/time.py +0 -0
  61. {encommon-0.19.1 → encommon-0.20.0}/encommon/times/timer.py +0 -0
  62. {encommon-0.19.1 → encommon-0.20.0}/encommon/times/timers.py +0 -0
  63. {encommon-0.19.1 → encommon-0.20.0}/encommon/times/unitime.py +0 -0
  64. {encommon-0.19.1 → encommon-0.20.0}/encommon/times/utils.py +0 -0
  65. {encommon-0.19.1 → encommon-0.20.0}/encommon/times/window.py +0 -0
  66. {encommon-0.19.1 → encommon-0.20.0}/encommon/times/windows.py +0 -0
  67. {encommon-0.19.1 → encommon-0.20.0}/encommon/types/__init__.py +0 -0
  68. {encommon-0.19.1 → encommon-0.20.0}/encommon/types/classes.py +0 -0
  69. {encommon-0.19.1 → encommon-0.20.0}/encommon/types/dicts.py +0 -0
  70. {encommon-0.19.1 → encommon-0.20.0}/encommon/types/empty.py +0 -0
  71. {encommon-0.19.1 → encommon-0.20.0}/encommon/types/lists.py +0 -0
  72. {encommon-0.19.1 → encommon-0.20.0}/encommon/types/notate.py +0 -0
  73. {encommon-0.19.1 → encommon-0.20.0}/encommon/types/strings.py +0 -0
  74. {encommon-0.19.1 → encommon-0.20.0}/encommon/types/test/__init__.py +0 -0
  75. {encommon-0.19.1 → encommon-0.20.0}/encommon/types/test/test_classes.py +0 -0
  76. {encommon-0.19.1 → encommon-0.20.0}/encommon/types/test/test_dicts.py +0 -0
  77. {encommon-0.19.1 → encommon-0.20.0}/encommon/types/test/test_empty.py +0 -0
  78. {encommon-0.19.1 → encommon-0.20.0}/encommon/types/test/test_lists.py +0 -0
  79. {encommon-0.19.1 → encommon-0.20.0}/encommon/types/test/test_notate.py +0 -0
  80. {encommon-0.19.1 → encommon-0.20.0}/encommon/types/test/test_strings.py +0 -0
  81. {encommon-0.19.1 → encommon-0.20.0}/encommon/types/types.py +0 -0
  82. {encommon-0.19.1 → encommon-0.20.0}/encommon/utils/__init__.py +0 -0
  83. {encommon-0.19.1 → encommon-0.20.0}/encommon/utils/common.py +0 -0
  84. {encommon-0.19.1 → encommon-0.20.0}/encommon/utils/files.py +0 -0
  85. {encommon-0.19.1 → encommon-0.20.0}/encommon/utils/match.py +0 -0
  86. {encommon-0.19.1 → encommon-0.20.0}/encommon/utils/paths.py +0 -0
  87. {encommon-0.19.1 → encommon-0.20.0}/encommon/utils/sample.py +0 -0
  88. {encommon-0.19.1 → encommon-0.20.0}/encommon/utils/test/__init__.py +0 -0
  89. {encommon-0.19.1 → encommon-0.20.0}/encommon/utils/test/test_files.py +0 -0
  90. {encommon-0.19.1 → encommon-0.20.0}/encommon/utils/test/test_match.py +0 -0
  91. {encommon-0.19.1 → encommon-0.20.0}/encommon/utils/test/test_paths.py +0 -0
  92. {encommon-0.19.1 → encommon-0.20.0}/encommon/utils/test/test_sample.py +0 -0
  93. {encommon-0.19.1 → encommon-0.20.0}/encommon/utils/test/test_stdout.py +0 -0
  94. {encommon-0.19.1 → encommon-0.20.0}/encommon.egg-info/SOURCES.txt +0 -0
  95. {encommon-0.19.1 → encommon-0.20.0}/encommon.egg-info/dependency_links.txt +0 -0
  96. {encommon-0.19.1 → encommon-0.20.0}/encommon.egg-info/requires.txt +0 -0
  97. {encommon-0.19.1 → encommon-0.20.0}/encommon.egg-info/top_level.txt +0 -0
  98. {encommon-0.19.1 → encommon-0.20.0}/reqs-install.txt +0 -0
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: encommon
3
- Version: 0.19.1
3
+ Version: 0.20.0
4
4
  Summary: Enasis Network Common Library
5
5
  License: MIT
6
6
  Classifier: Programming Language :: Python :: 3
7
- Classifier: Programming Language :: Python :: 3.10
8
7
  Classifier: Programming Language :: Python :: 3.11
9
- Requires-Python: >=3.10
8
+ Classifier: Programming Language :: Python :: 3.12
9
+ Requires-Python: >=3.11
10
10
  Description-Content-Type: text/markdown
11
11
  License-File: LICENSE
12
12
  Requires-Dist: croniter
@@ -39,6 +39,8 @@ Should you venture into the sections below you will be able to use the
39
39
  ## Projects using library
40
40
  - [Enasis Network Remote Connect](https://github.com/enasisnetwork/enconnect)
41
41
  - [Enasis Network Homie Automate](https://github.com/enasisnetwork/enhomie)
42
+ - [Enasis Network Chatting Robie](https://github.com/enasisnetwork/enrobie)
43
+ - [Enasis Network Orchestrations](https://github.com/enasisnetwork/orchestro)
42
44
 
43
45
  ## Installing the package
44
46
  Installing stable from the PyPi repository
@@ -77,7 +79,7 @@ make -s pytest
77
79
  ```
78
80
 
79
81
  ## Version management
80
- :warning: Ensure that no changes are pending.
82
+ > :warning: Ensure that no changes are pending.
81
83
 
82
84
  1. Rebuild the environment.
83
85
  ```
@@ -18,6 +18,8 @@ Should you venture into the sections below you will be able to use the
18
18
  ## Projects using library
19
19
  - [Enasis Network Remote Connect](https://github.com/enasisnetwork/enconnect)
20
20
  - [Enasis Network Homie Automate](https://github.com/enasisnetwork/enhomie)
21
+ - [Enasis Network Chatting Robie](https://github.com/enasisnetwork/enrobie)
22
+ - [Enasis Network Orchestrations](https://github.com/enasisnetwork/orchestro)
21
23
 
22
24
  ## Installing the package
23
25
  Installing stable from the PyPi repository
@@ -56,7 +58,7 @@ make -s pytest
56
58
  ```
57
59
 
58
60
  ## Version management
59
- :warning: Ensure that no changes are pending.
61
+ > :warning: Ensure that no changes are pending.
60
62
 
61
63
  1. Rebuild the environment.
62
64
  ```
@@ -43,7 +43,7 @@ def config_factory(
43
43
  default:
44
44
  phrase: phrase
45
45
 
46
- """) # noqa: LIT003
46
+ """)
47
47
 
48
48
  config_path = (
49
49
  tmp_path / 'config.yml')
@@ -107,7 +107,7 @@ class Jinja2:
107
107
  Example
108
108
  -------
109
109
  >>> jinja2 = Jinja2()
110
- >>> jinja2.parse('{{ 0 | Time}}')
110
+ >>> jinja2.parse('{{ 0 | Time }}')
111
111
  '1970-01-01T00:00:00.000000+0000'
112
112
 
113
113
  :param statics: Additional values available for parsing.
@@ -210,6 +210,8 @@ def array_ansi( # noqa: CFQ001, CFQ004
210
210
 
211
211
  repeat = f'<c{colors.other}>REPEAT<c0>'
212
212
 
213
+ space: str = ' '
214
+
213
215
 
214
216
  def _append(
215
217
  prefix: str,
@@ -319,7 +321,7 @@ def array_ansi( # noqa: CFQ001, CFQ004
319
321
  for key, value in items:
320
322
 
321
323
  prefix = (
322
- f'{" " * indent}'
324
+ f'{space * indent}'
323
325
  f'<c{colors.key}>{key}'
324
326
  f'<c{colors.colon}>:<c0>')
325
327
 
@@ -340,7 +342,7 @@ def array_ansi( # noqa: CFQ001, CFQ004
340
342
  for value in source:
341
343
 
342
344
  prefix = (
343
- f'{" " * indent}'
345
+ f'{space * indent}'
344
346
  f'<c{colors.hyphen}>-<c0>')
345
347
 
346
348
  _append(
@@ -0,0 +1 @@
1
+ 0.20.0
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: encommon
3
- Version: 0.19.1
3
+ Version: 0.20.0
4
4
  Summary: Enasis Network Common Library
5
5
  License: MIT
6
6
  Classifier: Programming Language :: Python :: 3
7
- Classifier: Programming Language :: Python :: 3.10
8
7
  Classifier: Programming Language :: Python :: 3.11
9
- Requires-Python: >=3.10
8
+ Classifier: Programming Language :: Python :: 3.12
9
+ Requires-Python: >=3.11
10
10
  Description-Content-Type: text/markdown
11
11
  License-File: LICENSE
12
12
  Requires-Dist: croniter
@@ -39,6 +39,8 @@ Should you venture into the sections below you will be able to use the
39
39
  ## Projects using library
40
40
  - [Enasis Network Remote Connect](https://github.com/enasisnetwork/enconnect)
41
41
  - [Enasis Network Homie Automate](https://github.com/enasisnetwork/enhomie)
42
+ - [Enasis Network Chatting Robie](https://github.com/enasisnetwork/enrobie)
43
+ - [Enasis Network Orchestrations](https://github.com/enasisnetwork/orchestro)
42
44
 
43
45
  ## Installing the package
44
46
  Installing stable from the PyPi repository
@@ -77,7 +79,7 @@ make -s pytest
77
79
  ```
78
80
 
79
81
  ## Version management
80
- :warning: Ensure that no changes are pending.
82
+ > :warning: Ensure that no changes are pending.
81
83
 
82
84
  1. Rebuild the environment.
83
85
  ```
@@ -12,10 +12,10 @@ license.text = "MIT"
12
12
 
13
13
  classifiers = [
14
14
  "Programming Language :: Python :: 3",
15
- "Programming Language :: Python :: 3.10",
16
- "Programming Language :: Python :: 3.11"]
15
+ "Programming Language :: Python :: 3.11",
16
+ "Programming Language :: Python :: 3.12"]
17
17
 
18
- requires-python = ">= 3.10"
18
+ requires-python = ">= 3.11"
19
19
 
20
20
  dynamic = ["version", "dependencies"]
21
21
 
@@ -10,6 +10,7 @@ ignore =
10
10
  SFS301,
11
11
  W503,
12
12
  per-file-ignores =
13
+ encommon/conftest.py:LIT003,
13
14
  encommon/crypts/hashes.py:S324,
14
15
  encommon/parse/jinja2.py:ANN401,S701,
15
16
  encommon/times/utils.py:DTZ001,
@@ -1 +0,0 @@
1
- 0.19.1
File without changes
File without changes
File without changes
File without changes