core-https 3.0.0__tar.gz → 3.0.1__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.
Files changed (28) hide show
  1. {core_https-3.0.0 → core_https-3.0.1}/PKG-INFO +1 -1
  2. {core_https-3.0.0 → core_https-3.0.1}/core_https/__init__.py +14 -2
  3. {core_https-3.0.0 → core_https-3.0.1}/core_https/requesters/aiohttp_.py +1 -1
  4. {core_https-3.0.0 → core_https-3.0.1}/core_https.egg-info/PKG-INFO +1 -1
  5. {core_https-3.0.0 → core_https-3.0.1}/pyproject.toml +1 -1
  6. {core_https-3.0.0 → core_https-3.0.1}/LICENSE +0 -0
  7. {core_https-3.0.0 → core_https-3.0.1}/README.rst +0 -0
  8. {core_https-3.0.0 → core_https-3.0.1}/core_https/exceptions.py +0 -0
  9. {core_https-3.0.0 → core_https-3.0.1}/core_https/py.typed +0 -0
  10. {core_https-3.0.0 → core_https-3.0.1}/core_https/requesters/__init__.py +0 -0
  11. {core_https-3.0.0 → core_https-3.0.1}/core_https/requesters/aiohttp_rate_limit.py +0 -0
  12. {core_https-3.0.0 → core_https-3.0.1}/core_https/requesters/aiohttp_throttle.py +0 -0
  13. {core_https-3.0.0 → core_https-3.0.1}/core_https/requesters/base.py +0 -0
  14. {core_https-3.0.0 → core_https-3.0.1}/core_https/requesters/requests_.py +0 -0
  15. {core_https-3.0.0 → core_https-3.0.1}/core_https/requesters/urllib3_.py +0 -0
  16. {core_https-3.0.0 → core_https-3.0.1}/core_https/tests/__init__.py +0 -0
  17. {core_https-3.0.0 → core_https-3.0.1}/core_https/tests/aiohttp_.py +0 -0
  18. {core_https-3.0.0 → core_https-3.0.1}/core_https/tests/base.py +0 -0
  19. {core_https-3.0.0 → core_https-3.0.1}/core_https/tests/decorators.py +0 -0
  20. {core_https-3.0.0 → core_https-3.0.1}/core_https/tests/requests_.py +0 -0
  21. {core_https-3.0.0 → core_https-3.0.1}/core_https/tests/urllib3_.py +0 -0
  22. {core_https-3.0.0 → core_https-3.0.1}/core_https/utils.py +0 -0
  23. {core_https-3.0.0 → core_https-3.0.1}/core_https.egg-info/SOURCES.txt +0 -0
  24. {core_https-3.0.0 → core_https-3.0.1}/core_https.egg-info/dependency_links.txt +0 -0
  25. {core_https-3.0.0 → core_https-3.0.1}/core_https.egg-info/requires.txt +0 -0
  26. {core_https-3.0.0 → core_https-3.0.1}/core_https.egg-info/top_level.txt +0 -0
  27. {core_https-3.0.0 → core_https-3.0.1}/setup.cfg +0 -0
  28. {core_https-3.0.0 → core_https-3.0.1}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: core-https
3
- Version: 3.0.0
3
+ Version: 3.0.1
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
@@ -1,8 +1,20 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
- """Public API for the core_https package: HTTP status codes and status info enum."""
3
+ """
4
+ Public API for the core_https package: HTTP status codes
5
+ and status info enum.
6
+ """
4
7
 
5
- from core_mixins import StrEnum
8
+ from importlib.metadata import PackageNotFoundError
9
+ from importlib.metadata import version
10
+
11
+ try:
12
+ __version__ = version("core-https")
13
+
14
+ except PackageNotFoundError:
15
+ __version__ = "unknown"
16
+
17
+ from core_mixins.compatibility import StrEnum
6
18
 
7
19
  try:
8
20
  from http import HTTPStatus as _HTTPStatus
@@ -17,7 +17,7 @@ from aiohttp import (
17
17
  ClientTimeout,
18
18
  TCPConnector,
19
19
  )
20
- from core_mixins import Self
20
+ from core_mixins.compatibility import Self
21
21
 
22
22
  from core_https.exceptions import RetryableException
23
23
  from .base import HTTPMethod
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: core-https
3
- Version: 3.0.0
3
+ Version: 3.0.1
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
@@ -9,7 +9,7 @@ build-backend = "setuptools.build_meta"
9
9
  [project]
10
10
  name = "core-https"
11
11
  description = "This project/library contains common elements related to HTTP & API services..."
12
- version = "3.0.0"
12
+ version = "3.0.1"
13
13
 
14
14
  authors = [
15
15
  {name = "Alejandro Cora González", email = "alek.cora.glez@gmail.com"}
File without changes
File without changes
File without changes
File without changes