aletk 0.1.4__py3-none-any.whl → 0.1.6__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/ResultMonad.py CHANGED
@@ -1,6 +1,6 @@
1
1
  from dataclasses import dataclass
2
2
  from logging import Logger
3
- from typing import Any, Callable, NamedTuple
3
+ from typing import Any, Callable
4
4
  from functools import wraps
5
5
 
6
6
 
@@ -29,10 +29,16 @@ class Err:
29
29
  A message describing the error.
30
30
  code : int
31
31
  A code that can be used to handle different error cases.
32
+ error_type : str, optional
33
+ A string describing the type of error that occurred.
34
+ error_trace : str, optional
35
+ A string describing the trace of the error that occurred.
32
36
  """
33
37
 
34
38
  message: str
35
39
  code: int
40
+ error_type: str | None = None
41
+ error_trace: str | None = None
36
42
 
37
43
 
38
44
  type TResult[T] = Ok[T] | Err
aletk/_version.py ADDED
@@ -0,0 +1,21 @@
1
+ # file generated by setuptools-scm
2
+ # don't change, don't track in version control
3
+
4
+ __all__ = ["__version__", "__version_tuple__", "version", "version_tuple"]
5
+
6
+ TYPE_CHECKING = False
7
+ if TYPE_CHECKING:
8
+ from typing import Tuple
9
+ from typing import Union
10
+
11
+ VERSION_TUPLE = Tuple[Union[int, str], ...]
12
+ else:
13
+ VERSION_TUPLE = object
14
+
15
+ version: str
16
+ __version__: str
17
+ __version_tuple__: VERSION_TUPLE
18
+ version_tuple: VERSION_TUPLE
19
+
20
+ __version__ = version = '0.1.6'
21
+ __version_tuple__ = version_tuple = (0, 1, 6)
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: aletk
3
- Version: 0.1.4
3
+ Version: 0.1.6
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
@@ -0,0 +1,11 @@
1
+ aletk/ResultMonad.py,sha256=PcEyLm5r1OFtbPuD_53_syEeK5wXEXA9kAGabb7IDt4,8060
2
+ aletk/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ aletk/_version.py,sha256=ESbJO0YD7TYfOUv_WDIJJgWELGepEWsoyhqVifEcXPA,511
4
+ aletk/adapters.py,sha256=9IYfIg1UYC0FbzWonMWdrUDgtVaV-q5NZKrRQubhBPw,659
5
+ aletk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
+ aletk/utils.py,sha256=nvG-fRt4qIr-hBOFcpLN27mC0EEp877k3sf72O1rBE0,3800
7
+ aletk-0.1.6.dist-info/LICENSE,sha256=hZFMbARrXo4zfuo80-Sg3-FT5_ceiSDf0QpjgJoUdGc,1085
8
+ aletk-0.1.6.dist-info/METADATA,sha256=mrIbglrstdqk4f5azxBh5HqSVpbdbTvpQgWhiKh_CAA,980
9
+ aletk-0.1.6.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
10
+ aletk-0.1.6.dist-info/top_level.txt,sha256=LYDb8QWbh4W4hIkF0TVg5ITKEsaj-pb_xcYQRGzLqUU,6
11
+ aletk-0.1.6.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.6.0)
2
+ Generator: setuptools (76.0.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,10 +0,0 @@
1
- aletk/ResultMonad.py,sha256=v6BSIl7AHDfSqHypfLb5mBAQXAJQhXDLudbN8n2pK2s,7813
2
- aletk/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- aletk/adapters.py,sha256=9IYfIg1UYC0FbzWonMWdrUDgtVaV-q5NZKrRQubhBPw,659
4
- aletk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
- aletk/utils.py,sha256=nvG-fRt4qIr-hBOFcpLN27mC0EEp877k3sf72O1rBE0,3800
6
- aletk-0.1.4.dist-info/LICENSE,sha256=hZFMbARrXo4zfuo80-Sg3-FT5_ceiSDf0QpjgJoUdGc,1085
7
- aletk-0.1.4.dist-info/METADATA,sha256=Y1F_7WwS2cezeU_LS9T5A2aDODU3EOJBgdr9Zo8aSmw,980
8
- aletk-0.1.4.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
9
- aletk-0.1.4.dist-info/top_level.txt,sha256=LYDb8QWbh4W4hIkF0TVg5ITKEsaj-pb_xcYQRGzLqUU,6
10
- aletk-0.1.4.dist-info/RECORD,,
File without changes