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.
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/CHANGELOG.md +21 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/PKG-INFO +2 -2
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/README.md +1 -1
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_hubble.py +1 -1
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/pyproject.toml +1 -1
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/tests/test_hubble.py +1 -1
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/.gitignore +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/LICENSE +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/config.yaml +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/__init__.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/__init__.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/api/__init__.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/api/default/__init__.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/api/default/attach_client_authorization.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/api/default/create_consent_link.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/api/default/exchange_token.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/api/default/export_patient_pdf.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/api/default/get_consent.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/api/default/list_consents.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/api/default/read_fhir.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/api/default/revoke_consent.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/client.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/errors.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/__init__.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/api_error.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/attach_client_authorization_body.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/attach_client_authorization_response_201.py +0 -0
- {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
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/consent.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/consent_error.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/consent_link_request.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/consent_list.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/consent_source.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/consent_source_status.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/consent_source_type.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/consent_status.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/device_authorization_request.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/device_authorization_response.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/fhir_resource.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/o_auth_error.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/o_auth_error_error.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/operation_outcome.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/operation_outcome_issue_item.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/patient_address.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/patient_demographics.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/provider_seed.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/token_request.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/token_request_grant_type.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/token_response.py +0 -0
- {hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/types.py +0 -0
- {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.
|
|
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://
|
|
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://
|
|
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://
|
|
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"}
|
|
@@ -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://
|
|
20
|
+
BASE = "https://portal.hubble.ai"
|
|
21
21
|
BASIC = "Basic " + base64.b64encode(b"id:sec").decode()
|
|
22
22
|
|
|
23
23
|
LINK_DICT = {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/api/default/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/api/default/get_consent.py
RENAMED
|
File without changes
|
|
File without changes
|
{hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/api/default/read_fhir.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/__init__.py
RENAMED
|
File without changes
|
{hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/api_error.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/consent_error.py
RENAMED
|
File without changes
|
|
File without changes
|
{hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/consent_list.py
RENAMED
|
File without changes
|
{hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/consent_source.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/consent_status.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/fhir_resource.py
RENAMED
|
File without changes
|
{hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/o_auth_error.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/patient_address.py
RENAMED
|
File without changes
|
|
File without changes
|
{hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/provider_seed.py
RENAMED
|
File without changes
|
{hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/token_request.py
RENAMED
|
File without changes
|
|
File without changes
|
{hubble_sdk_python-0.0.2 → hubble_sdk_python-0.0.3}/hubble_sdk/_generated/models/token_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|