aletk 0.1.7__py3-none-any.whl → 0.1.8__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.
aletk/_version.py CHANGED
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
28
28
  commit_id: COMMIT_ID
29
29
  __commit_id__: COMMIT_ID
30
30
 
31
- __version__ = version = '0.1.7'
32
- __version_tuple__ = version_tuple = (0, 1, 7)
31
+ __version__ = version = '0.1.8'
32
+ __version_tuple__ = version_tuple = (0, 1, 8)
33
33
 
34
34
  __commit_id__ = commit_id = None
aletk/utils.py CHANGED
@@ -39,11 +39,7 @@ def get_logger(name: str) -> logging.Logger:
39
39
  def remove_extra_whitespace(string: str) -> str:
40
40
  """
41
41
  Remove extra whitespace from a string. This version removes all newlines, tabs, carriage returns, trailing and leading whitespace, and multiple spaces in a row.
42
-
43
- If the input is None or not a string, a ValueError is raised.
44
42
  """
45
- if not string:
46
- raise ValueError("Utils::RemoveExtraWhiteSpace::Argument string has to be a non-empty string.")
47
43
 
48
44
  cleaned_string = " ".join(string.split()).strip()
49
45
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aletk
3
- Version: 0.1.7
3
+ Version: 0.1.8
4
4
  Summary: Collection of general purpose tools to work with Python
5
5
  Author-email: Luis Alejandro Bordo García <bgluiszz@gmail.com>
6
6
  License: MIT
@@ -20,6 +20,7 @@ Provides-Extra: dev
20
20
  Requires-Dist: mypy; extra == "dev"
21
21
  Requires-Dist: black; extra == "dev"
22
22
  Requires-Dist: pytest; extra == "dev"
23
+ Requires-Dist: autoflake; extra == "dev"
23
24
  Requires-Dist: jupyter; extra == "dev"
24
25
  Dynamic: license-file
25
26
 
@@ -0,0 +1,11 @@
1
+ aletk/ResultMonad.py,sha256=YGsCAPQ7yCmZhrUj7rKFJj3SImN66iOFKxGm9qo5TVk,8079
2
+ aletk/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ aletk/_version.py,sha256=Zaz3s9gl_rzsS46-ymJOALojMxviW77EJq_agE8knLk,704
4
+ aletk/adapters.py,sha256=9IYfIg1UYC0FbzWonMWdrUDgtVaV-q5NZKrRQubhBPw,659
5
+ aletk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
+ aletk/utils.py,sha256=52OarfFAzEGXVnZBr0iF3pOaHizqApkemH3OGbv56J8,3449
7
+ aletk-0.1.8.dist-info/licenses/LICENSE,sha256=hZFMbARrXo4zfuo80-Sg3-FT5_ceiSDf0QpjgJoUdGc,1085
8
+ aletk-0.1.8.dist-info/METADATA,sha256=Nl0t0Rme1QwT6gkKiXog6jN9poezdLiMtWcazh_uCnw,1937
9
+ aletk-0.1.8.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
10
+ aletk-0.1.8.dist-info/top_level.txt,sha256=LYDb8QWbh4W4hIkF0TVg5ITKEsaj-pb_xcYQRGzLqUU,6
11
+ aletk-0.1.8.dist-info/RECORD,,
@@ -1,11 +0,0 @@
1
- aletk/ResultMonad.py,sha256=YGsCAPQ7yCmZhrUj7rKFJj3SImN66iOFKxGm9qo5TVk,8079
2
- aletk/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- aletk/_version.py,sha256=szvPIs2C82UunpzuvVg3MbF4QhzbBYTsVJ8DmPfq6_E,704
4
- aletk/adapters.py,sha256=9IYfIg1UYC0FbzWonMWdrUDgtVaV-q5NZKrRQubhBPw,659
5
- aletk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
- aletk/utils.py,sha256=6d9jzephqICNKqlbbVAQqzrTgggbbU37QQRq-M2EWHY,3639
7
- aletk-0.1.7.dist-info/licenses/LICENSE,sha256=hZFMbARrXo4zfuo80-Sg3-FT5_ceiSDf0QpjgJoUdGc,1085
8
- aletk-0.1.7.dist-info/METADATA,sha256=fWFGPhLV9TyQfPzvOtNhuOJD5Yfv6fCyRKGjnNzUFLk,1896
9
- aletk-0.1.7.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
10
- aletk-0.1.7.dist-info/top_level.txt,sha256=LYDb8QWbh4W4hIkF0TVg5ITKEsaj-pb_xcYQRGzLqUU,6
11
- aletk-0.1.7.dist-info/RECORD,,
File without changes