core-https 3.0.1__py3-none-any.whl → 3.1.0__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.
core_https/__init__.py CHANGED
@@ -8,12 +8,6 @@ and status info enum.
8
8
  from importlib.metadata import PackageNotFoundError
9
9
  from importlib.metadata import version
10
10
 
11
- try:
12
- __version__ = version("core-https")
13
-
14
- except PackageNotFoundError:
15
- __version__ = "unknown"
16
-
17
11
  from core_mixins.compatibility import StrEnum
18
12
 
19
13
  try:
@@ -23,10 +17,11 @@ except ImportError:
23
17
  from .utils import HTTPStatus as _HTTPStatus
24
18
 
25
19
 
26
- __all__ = [
27
- "HTTPStatus",
28
- "StatusInfo"
29
- ]
20
+ try:
21
+ __version__ = version("core-https")
22
+
23
+ except PackageNotFoundError:
24
+ __version__ = "unknown"
30
25
 
31
26
 
32
27
  # Type alias that works with both standard library
@@ -47,3 +42,10 @@ class StatusInfo(StrEnum):
47
42
  SUCCESS = "success"
48
43
  ERROR = "error"
49
44
  FAILURE = "failure"
45
+
46
+
47
+ __all__ = [
48
+ "__version__",
49
+ "HTTPStatus",
50
+ "StatusInfo"
51
+ ]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: core-https
3
- Version: 3.0.1
3
+ Version: 3.1.0
4
4
  Summary: This project/library contains common elements related to HTTP & API services...
5
5
  Author-email: Alejandro Cora González <alek.cora.glez@gmail.com>
6
6
  Maintainer: Alejandro Cora González
@@ -27,13 +27,13 @@ Requires-Python: >=3.9
27
27
  Description-Content-Type: text/x-rst
28
28
  License-File: LICENSE
29
29
  Requires-Dist: aiohttp<4.0.0,>=3.12.0
30
- Requires-Dist: core-mixins>=3.0.1
30
+ Requires-Dist: core-mixins>=3.2.0
31
31
  Requires-Dist: requests<3.0.0,>=2.32.3
32
32
  Requires-Dist: urllib3<3.0.0,>=2.2.3
33
33
  Provides-Extra: dev
34
34
  Requires-Dist: aiolimiter<2.0.0,>=1.2.1; extra == "dev"
35
- Requires-Dist: core-dev-tools>=1.2.1; extra == "dev"
36
- Requires-Dist: core-tests>=2.0.5; extra == "dev"
35
+ Requires-Dist: core-dev-tools>=2.0.0; extra == "dev"
36
+ Requires-Dist: core-tests>=2.1.0; extra == "dev"
37
37
  Requires-Dist: types-requests>=2.32.0.20250602; extra == "dev"
38
38
  Provides-Extra: extras
39
39
  Requires-Dist: aiolimiter<2.0.0,>=1.2.1; extra == "extras"
@@ -1,4 +1,4 @@
1
- core_https/__init__.py,sha256=hc9GShxIeLa0txghXE4Uwe2lkOrbzrXK2d111c_baXE,1018
1
+ core_https/__init__.py,sha256=-7M1Xlzb68X8hc9Mw24gTBkXybc_MfekBwg6CDwCmGc,1038
2
2
  core_https/exceptions.py,sha256=l0NKIGi5NeJ2Aw-231txK24CIv-tgceKBvP2_u2i3jw,4961
3
3
  core_https/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  core_https/utils.py,sha256=PJbKgOFAXAMTfwcuIFMK2zKwdqFIPh8ixJDgpzdhmFA,12262
@@ -15,8 +15,8 @@ core_https/tests/base.py,sha256=Nx_nLR7927F1UShva3YJ5gkqtKQaU6g2rpkO__Ph5qg,3436
15
15
  core_https/tests/decorators.py,sha256=9wa_omtkJ7ImUDOyy69vYRt-Ulzkah4H2UT7gjAhtxQ,12947
16
16
  core_https/tests/requests_.py,sha256=Wja7zI_zkOH8DNnY3RJCJQSPghkVS36-WGZSee4ZSmE,8294
17
17
  core_https/tests/urllib3_.py,sha256=zKYroybSItnWa7BU1bGG4HSh0O7H1jNn6JKDLUPx5Nc,13210
18
- core_https-3.0.1.dist-info/licenses/LICENSE,sha256=dj8Wz7OWOIOTyLJzaYLn8RFz_W5uYWSGR2xS5lHNAl4,1082
19
- core_https-3.0.1.dist-info/METADATA,sha256=fN2SMJFdQ-qNnPFx5D3lQyvaLn5L0DrzkqDmdWLHAco,6978
20
- core_https-3.0.1.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
21
- core_https-3.0.1.dist-info/top_level.txt,sha256=Ufm6w6dLS6hyTPwMUXt4O6klJfLyKpkaG6csd2kmaDw,11
22
- core_https-3.0.1.dist-info/RECORD,,
18
+ core_https-3.1.0.dist-info/licenses/LICENSE,sha256=dj8Wz7OWOIOTyLJzaYLn8RFz_W5uYWSGR2xS5lHNAl4,1082
19
+ core_https-3.1.0.dist-info/METADATA,sha256=jZTPFoO6w5484n8LaUwRMNKI_9MxLqA3vNPzne4-SpU,6978
20
+ core_https-3.1.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
21
+ core_https-3.1.0.dist-info/top_level.txt,sha256=Ufm6w6dLS6hyTPwMUXt4O6klJfLyKpkaG6csd2kmaDw,11
22
+ core_https-3.1.0.dist-info/RECORD,,