onehouse-python-sdk 0.3.0__tar.gz → 0.4.0__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 (33) hide show
  1. {onehouse_python_sdk-0.3.0 → onehouse_python_sdk-0.4.0}/PKG-INFO +2 -2
  2. {onehouse_python_sdk-0.3.0 → onehouse_python_sdk-0.4.0}/README.md +1 -1
  3. {onehouse_python_sdk-0.3.0 → onehouse_python_sdk-0.4.0}/pyproject.toml +1 -1
  4. {onehouse_python_sdk-0.3.0 → onehouse_python_sdk-0.4.0}/src/onehouse_python_sdk/__init__.py +1 -1
  5. {onehouse_python_sdk-0.3.0 → onehouse_python_sdk-0.4.0}/src/onehouse_python_sdk/resources/client.py +616 -12
  6. {onehouse_python_sdk-0.3.0 → onehouse_python_sdk-0.4.0}/src/onehouse_python_sdk/resources/sql/builder.py +8 -0
  7. {onehouse_python_sdk-0.3.0 → onehouse_python_sdk-0.4.0}/src/onehouse_python_sdk/resources/sql/commands.py +632 -19
  8. {onehouse_python_sdk-0.3.0 → onehouse_python_sdk-0.4.0}/src/onehouse_python_sdk/resources/transport.py +21 -7
  9. {onehouse_python_sdk-0.3.0 → onehouse_python_sdk-0.4.0}/.gitignore +0 -0
  10. {onehouse_python_sdk-0.3.0 → onehouse_python_sdk-0.4.0}/src/onehouse_python_sdk/_oauth.py +0 -0
  11. {onehouse_python_sdk-0.3.0 → onehouse_python_sdk-0.4.0}/src/onehouse_python_sdk/_session.py +0 -0
  12. {onehouse_python_sdk-0.3.0 → onehouse_python_sdk-0.4.0}/src/onehouse_python_sdk/ai_gateway/__init__.py +0 -0
  13. {onehouse_python_sdk-0.3.0 → onehouse_python_sdk-0.4.0}/src/onehouse_python_sdk/ai_gateway/discovery.py +0 -0
  14. {onehouse_python_sdk-0.3.0 → onehouse_python_sdk-0.4.0}/src/onehouse_python_sdk/ai_gateway/exceptions.py +0 -0
  15. {onehouse_python_sdk-0.3.0 → onehouse_python_sdk-0.4.0}/src/onehouse_python_sdk/ai_gateway/tokens.py +0 -0
  16. {onehouse_python_sdk-0.3.0 → onehouse_python_sdk-0.4.0}/src/onehouse_python_sdk/base.py +0 -0
  17. {onehouse_python_sdk-0.3.0 → onehouse_python_sdk-0.4.0}/src/onehouse_python_sdk/exceptions.py +0 -0
  18. {onehouse_python_sdk-0.3.0 → onehouse_python_sdk-0.4.0}/src/onehouse_python_sdk/lakebase/__init__.py +0 -0
  19. {onehouse_python_sdk-0.3.0 → onehouse_python_sdk-0.4.0}/src/onehouse_python_sdk/lakebase/auth/__init__.py +0 -0
  20. {onehouse_python_sdk-0.3.0 → onehouse_python_sdk-0.4.0}/src/onehouse_python_sdk/lakebase/auth/_ssl.py +0 -0
  21. {onehouse_python_sdk-0.3.0 → onehouse_python_sdk-0.4.0}/src/onehouse_python_sdk/lakebase/auth/azure_oauth.py +0 -0
  22. {onehouse_python_sdk-0.3.0 → onehouse_python_sdk-0.4.0}/src/onehouse_python_sdk/lakebase/auth/browser_auth.py +0 -0
  23. {onehouse_python_sdk-0.3.0 → onehouse_python_sdk-0.4.0}/src/onehouse_python_sdk/lakebase/auth/local_auth_server.py +0 -0
  24. {onehouse_python_sdk-0.3.0 → onehouse_python_sdk-0.4.0}/src/onehouse_python_sdk/lakebase/auth/oidc_device_flow.py +0 -0
  25. {onehouse_python_sdk-0.3.0 → onehouse_python_sdk-0.4.0}/src/onehouse_python_sdk/lakebase/auth/saml.py +0 -0
  26. {onehouse_python_sdk-0.3.0 → onehouse_python_sdk-0.4.0}/src/onehouse_python_sdk/lakebase/client.py +0 -0
  27. {onehouse_python_sdk-0.3.0 → onehouse_python_sdk-0.4.0}/src/onehouse_python_sdk/lakebase/connection.py +0 -0
  28. {onehouse_python_sdk-0.3.0 → onehouse_python_sdk-0.4.0}/src/onehouse_python_sdk/resources/__init__.py +0 -0
  29. {onehouse_python_sdk-0.3.0 → onehouse_python_sdk-0.4.0}/src/onehouse_python_sdk/resources/credentials.py +0 -0
  30. {onehouse_python_sdk-0.3.0 → onehouse_python_sdk-0.4.0}/src/onehouse_python_sdk/resources/exceptions.py +0 -0
  31. {onehouse_python_sdk-0.3.0 → onehouse_python_sdk-0.4.0}/src/onehouse_python_sdk/resources/oauth.py +0 -0
  32. {onehouse_python_sdk-0.3.0 → onehouse_python_sdk-0.4.0}/src/onehouse_python_sdk/resources/sql/__init__.py +0 -0
  33. {onehouse_python_sdk-0.3.0 → onehouse_python_sdk-0.4.0}/src/onehouse_python_sdk/resources/status.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: onehouse-python-sdk
3
- Version: 0.3.0
3
+ Version: 0.4.0
4
4
  Summary: Onehouse Python SDK — modular data-plane clients for LakeBase and beyond
5
5
  Project-URL: Homepage, https://github.com/onehouseinc/onehouse-python-sdk
6
6
  Project-URL: Repository, https://github.com/onehouseinc/onehouse-python-sdk
@@ -388,7 +388,7 @@ Source-specific options and advanced configs are passed via the `options` dict.
388
388
  ```python
389
389
  ```
390
390
 
391
- ACL / privilege / role / group commands aren't exposed as typed helpers yet — use `client.execute("GRANT ...")` until they land in a future release.
391
+ Groups, grants, roles and access-control policies have typed helpers too, for example `client.create_group("data_eng")`, `client.grant_privilege("SELECT", on="TABLE", name="lake.db.table", principal_type="GROUP", principal="data_eng")`, `client.grant_member(on="GROUP", name="data_eng", principal_type="USER", principal="a@acme.com")` and `client.show_policies("my_catalog")`. Anything without a helper still works through `client.execute(...)`.
392
392
 
393
393
  #### `unsafe_raw` escape hatch
394
394
 
@@ -356,7 +356,7 @@ Source-specific options and advanced configs are passed via the `options` dict.
356
356
  ```python
357
357
  ```
358
358
 
359
- ACL / privilege / role / group commands aren't exposed as typed helpers yet — use `client.execute("GRANT ...")` until they land in a future release.
359
+ Groups, grants, roles and access-control policies have typed helpers too, for example `client.create_group("data_eng")`, `client.grant_privilege("SELECT", on="TABLE", name="lake.db.table", principal_type="GROUP", principal="data_eng")`, `client.grant_member(on="GROUP", name="data_eng", principal_type="USER", principal="a@acme.com")` and `client.show_policies("my_catalog")`. Anything without a helper still works through `client.execute(...)`.
360
360
 
361
361
  #### `unsafe_raw` escape hatch
362
362
 
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "onehouse-python-sdk"
7
- version = "0.3.0"
7
+ version = "0.4.0"
8
8
  description = "Onehouse Python SDK — modular data-plane clients for LakeBase and beyond"
9
9
  readme = "README.md"
10
10
  license = { text = "Proprietary" }
@@ -6,4 +6,4 @@ from .lakebase.client import LakebaseClient
6
6
  from .resources.client import OnehouseResources
7
7
 
8
8
  __all__ = ["SqlClient", "LakebaseClient", "OnehouseResources", "exceptions"]
9
- __version__ = "0.1.0"
9
+ __version__ = "0.4.0"