alfred-python 0.6.1__tar.gz → 0.6.2__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 (40) hide show
  1. {alfred_python-0.6.1 → alfred_python-0.6.2}/PKG-INFO +1 -1
  2. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred/base/constants.py +1 -1
  3. alfred_python-0.6.2/alfred/base/typed.py +4 -0
  4. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred/http/http_client.py +1 -0
  5. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred/http/typed.py +3 -6
  6. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred_python.egg-info/PKG-INFO +1 -1
  7. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred_python.egg-info/SOURCES.txt +1 -0
  8. {alfred_python-0.6.1 → alfred_python-0.6.2}/pyproject.toml +1 -1
  9. {alfred_python-0.6.1 → alfred_python-0.6.2}/LICENSE +0 -0
  10. {alfred_python-0.6.1 → alfred_python-0.6.2}/README.md +0 -0
  11. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred/__init__.py +0 -0
  12. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred/base/__init__.py +0 -0
  13. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred/base/config.py +0 -0
  14. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred/base/exceptions.py +0 -0
  15. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred/exceptions/__init__.py +0 -0
  16. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred/http/__init__.py +0 -0
  17. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred/realtime/__init__.py +0 -0
  18. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred/rest/__init__.py +0 -0
  19. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred/rest/data_points/__init__.py +0 -0
  20. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred/rest/data_points/base.py +0 -0
  21. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred/rest/data_points/v1.py +0 -0
  22. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred/rest/files/__init__.py +0 -0
  23. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred/rest/files/base.py +0 -0
  24. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred/rest/files/typed.py +0 -0
  25. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred/rest/files/v1.py +0 -0
  26. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred/rest/jobs/__init__.py +0 -0
  27. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred/rest/jobs/base.py +0 -0
  28. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred/rest/jobs/typed.py +0 -0
  29. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred/rest/jobs/v1.py +0 -0
  30. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred/rest/sessions/__init__.py +0 -0
  31. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred/rest/sessions/base.py +0 -0
  32. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred/rest/sessions/v1.py +0 -0
  33. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred/typings/__init__.py +0 -0
  34. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred/typings/misc.py +0 -0
  35. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred/utils/__init__.py +0 -0
  36. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred/utils/logging.py +0 -0
  37. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred_python.egg-info/dependency_links.txt +0 -0
  38. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred_python.egg-info/requires.txt +0 -0
  39. {alfred_python-0.6.1 → alfred_python-0.6.2}/alfred_python.egg-info/top_level.txt +0 -0
  40. {alfred_python-0.6.1 → alfred_python-0.6.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alfred-python
3
- Version: 0.6.1
3
+ Version: 0.6.2
4
4
  Summary: Python library designed to simplify and streamline interactions with the Alfred API
5
5
  Author-email: Tagshelf LLC <support@tagshelf.com>
6
6
  License: Copyright (c) 2018 The Python Packaging Authority
@@ -1,6 +1,6 @@
1
1
  from enum import Enum
2
2
 
3
- from alfred.http.typed import ResponseType
3
+ from alfred.base.typed import ResponseType
4
4
 
5
5
  # Response type/header mapping
6
6
  RESPONSE_TYPE_HEADER_MAPPING = {
@@ -0,0 +1,4 @@
1
+ class ResponseType:
2
+ JSON = "json"
3
+ TEXT = "text"
4
+ XML = "xml"
@@ -17,6 +17,7 @@ from urllib3.util.retry import Retry
17
17
 
18
18
  # Project imports
19
19
  from .typed import * # pylint: disable=W0401, W0614
20
+ from ..base.typed import ResponseType
20
21
  from ..base.constants import RESPONSE_TYPE_HEADER_MAPPING
21
22
  from ..base.exceptions import AlfredMissingAuthException
22
23
  from ..utils import logging
@@ -2,6 +2,9 @@
2
2
  from enum import Enum
3
3
  from typing import TypedDict, Optional, Text
4
4
 
5
+ # Project Imports
6
+ from alfred.base import ResponseType
7
+
5
8
 
6
9
  class HttpMethod(Enum):
7
10
  POST = "POST"
@@ -18,12 +21,6 @@ class AuthMethod(Enum):
18
21
  HMAC = ("hmac",)
19
22
 
20
23
 
21
- class ResponseType:
22
- JSON = "json"
23
- TEXT = "text"
24
- XML = "xml"
25
-
26
-
27
24
  class OAuthConfiguration(TypedDict):
28
25
  username: Text
29
26
  password: Text
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alfred-python
3
- Version: 0.6.1
3
+ Version: 0.6.2
4
4
  Summary: Python library designed to simplify and streamline interactions with the Alfred API
5
5
  Author-email: Tagshelf LLC <support@tagshelf.com>
6
6
  License: Copyright (c) 2018 The Python Packaging Authority
@@ -6,6 +6,7 @@ alfred/base/__init__.py
6
6
  alfred/base/config.py
7
7
  alfred/base/constants.py
8
8
  alfred/base/exceptions.py
9
+ alfred/base/typed.py
9
10
  alfred/exceptions/__init__.py
10
11
  alfred/http/__init__.py
11
12
  alfred/http/http_client.py
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "alfred-python"
7
- version = "0.6.1"
7
+ version = "0.6.2"
8
8
  authors = [{ name = "Tagshelf LLC", email = "support@tagshelf.com" }]
9
9
  description = "Python library designed to simplify and streamline interactions with the Alfred API"
10
10
  readme = "README.md"
File without changes
File without changes
File without changes