hubble-sdk-python 0.0.2__tar.gz → 0.0.3__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 (51) hide show
  1. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/CHANGELOG.md +21 -0
  2. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/PKG-INFO +2 -2
  3. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/README.md +1 -1
  4. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_hubble.py +1 -1
  5. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/pyproject.toml +1 -1
  6. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/tests/test_hubble.py +1 -1
  7. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/.gitignore +0 -0
  8. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/LICENSE +0 -0
  9. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/config.yaml +0 -0
  10. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/__init__.py +0 -0
  11. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/__init__.py +0 -0
  12. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/api/__init__.py +0 -0
  13. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/api/default/__init__.py +0 -0
  14. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/api/default/attach_client_authorization.py +0 -0
  15. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/api/default/create_consent_link.py +0 -0
  16. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/api/default/exchange_token.py +0 -0
  17. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/api/default/export_patient_pdf.py +0 -0
  18. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/api/default/get_consent.py +0 -0
  19. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/api/default/list_consents.py +0 -0
  20. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/api/default/read_fhir.py +0 -0
  21. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/api/default/revoke_consent.py +0 -0
  22. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/client.py +0 -0
  23. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/errors.py +0 -0
  24. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/__init__.py +0 -0
  25. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/api_error.py +0 -0
  26. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/attach_client_authorization_body.py +0 -0
  27. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/attach_client_authorization_response_201.py +0 -0
  28. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/attach_client_authorization_response_201_status.py +0 -0
  29. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/consent.py +0 -0
  30. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/consent_error.py +0 -0
  31. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/consent_link_request.py +0 -0
  32. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/consent_list.py +0 -0
  33. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/consent_source.py +0 -0
  34. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/consent_source_status.py +0 -0
  35. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/consent_source_type.py +0 -0
  36. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/consent_status.py +0 -0
  37. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/device_authorization_request.py +0 -0
  38. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/device_authorization_response.py +0 -0
  39. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/fhir_resource.py +0 -0
  40. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/o_auth_error.py +0 -0
  41. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/o_auth_error_error.py +0 -0
  42. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/operation_outcome.py +0 -0
  43. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/operation_outcome_issue_item.py +0 -0
  44. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/patient_address.py +0 -0
  45. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/patient_demographics.py +0 -0
  46. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/provider_seed.py +0 -0
  47. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/token_request.py +0 -0
  48. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/token_request_grant_type.py +0 -0
  49. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/token_response.py +0 -0
  50. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/types.py +0 -0
  51. {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/pydoc-markdown.yml +0 -0
@@ -1,5 +1,26 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.3](https://github.com/hubble-dot-ai/hubble-sdks/compare/hubble-sdk-python-v0.0.2...hubble-sdk-python-v0.0.3) (2026-08-23)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * default base URL to the real host (portal.hubble.ai) ([#33](https://github.com/hubble-dot-ai/hubble-sdks/issues/33)) ([c04c921](https://github.com/hubble-dot-ai/hubble-sdks/commit/c04c921fd42c7ed769fdffd86af5260b0f83fb2d))
9
+
10
+ ## [0.0.2](https://github.com/hubble-dot-ai/hubble-sdks/compare/hubble-sdk-python-v0.0.2...hubble-sdk-python-v0.0.2) (2026-08-23)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * default base URL to the real host (portal.hubble.ai) ([#33](https://github.com/hubble-dot-ai/hubble-sdks/issues/33)) ([c04c921](https://github.com/hubble-dot-ai/hubble-sdks/commit/c04c921fd42c7ed769fdffd86af5260b0f83fb2d))
16
+
17
+ ## [0.0.2](https://github.com/hubble-dot-ai/hubble-sdks/compare/hubble-sdk-python-v0.0.2...hubble-sdk-python-v0.0.2) (2026-08-23)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * default base URL to the real host (portal.hubble.ai) ([#33](https://github.com/hubble-dot-ai/hubble-sdks/issues/33)) ([c04c921](https://github.com/hubble-dot-ai/hubble-sdks/commit/c04c921fd42c7ed769fdffd86af5260b0f83fb2d))
23
+
3
24
  ## [0.0.2](https://github.com/hubble-dot-ai/hubble-sdks/compare/hubble-sdk-python-v0.0.1...hubble-sdk-python-v0.0.2) (2026-08-23)
4
25
 
5
26
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: hubble-sdk-python
3
- Version: 0.0.2
3
+ Version: 0.0.3
4
4
  Summary: Python client for the Hubble Patient Access API.
5
5
  Project-URL: Homepage, https://github.com/hubble-dot-ai/hubble-sdks
6
6
  Project-URL: Repository, https://github.com/hubble-dot-ai/hubble-sdks
@@ -68,7 +68,7 @@ hub.revoke_consent(session.consent_id)
68
68
  - **Auth per plane** — HTTP Basic (your app credentials) for consent management
69
69
  and the token endpoint; Bearer (the consent token) for FHIR reads. You never
70
70
  wire the schemes yourself.
71
- - **Default base URL** — `https://api.hubble.ai`. Override only with a trusted
71
+ - **Default base URL** — `https://portal.hubble.ai`. Override only with a trusted
72
72
  value; your access token is sent to it.
73
73
  - **Device-flow polling** — `wait_for_authorization` honors the server's
74
74
  `interval` and `slow_down`.
@@ -36,7 +36,7 @@ hub.revoke_consent(session.consent_id)
36
36
  - **Auth per plane** — HTTP Basic (your app credentials) for consent management
37
37
  and the token endpoint; Bearer (the consent token) for FHIR reads. You never
38
38
  wire the schemes yourself.
39
- - **Default base URL** — `https://api.hubble.ai`. Override only with a trusted
39
+ - **Default base URL** — `https://portal.hubble.ai`. Override only with a trusted
40
40
  value; your access token is sent to it.
41
41
  - **Device-flow polling** — `wait_for_authorization` honors the server's
42
42
  `interval` and `slow_down`.
@@ -39,7 +39,7 @@ from ._generated.models import (
39
39
  )
40
40
  from ._generated.types import UNSET
41
41
 
42
- DEFAULT_BASE_URL = "https://api.hubble.ai"
42
+ DEFAULT_BASE_URL = "https://portal.hubble.ai"
43
43
  _DEVICE_CODE_GRANT = TokenRequestGrantType("urn:ietf:params:oauth:grant-type:device_code")
44
44
  _REFRESH_GRANT = TokenRequestGrantType("refresh_token")
45
45
  _PENDING = {"authorization_pending", "slow_down"}
@@ -3,7 +3,7 @@
3
3
  # none); this file and the build config are not.
4
4
  [project]
5
5
  name = "hubble-sdk-python"
6
- version = "0.0.2"
6
+ version = "0.0.3"
7
7
  description = "Python client for the Hubble Patient Access API."
8
8
  readme = "README.md"
9
9
  requires-python = ">=3.11"
@@ -17,7 +17,7 @@ import respx
17
17
  from hubble_sdk import ConsentTimeout, Hubble, HubbleError, TokenSet
18
18
  from hubble_sdk._generated.models import DeviceAuthorizationResponse
19
19
 
20
- BASE = "https://api.hubble.ai"
20
+ BASE = "https://portal.hubble.ai"
21
21
  BASIC = "Basic " + base64.b64encode(b"id:sec").decode()
22
22
 
23
23
  LINK_DICT = {