msdev-kit 0.2.0__tar.gz → 0.2.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 (23) hide show
  1. {msdev_kit-0.2.0 → msdev_kit-0.2.2}/PKG-INFO +20 -4
  2. {msdev_kit-0.2.0 → msdev_kit-0.2.2}/README.md +18 -1
  3. {msdev_kit-0.2.0 → msdev_kit-0.2.2}/msdev_kit/__init__.py +1 -1
  4. {msdev_kit-0.2.0 → msdev_kit-0.2.2}/pyproject.toml +2 -3
  5. {msdev_kit-0.2.0 → msdev_kit-0.2.2}/LICENSE +0 -0
  6. {msdev_kit-0.2.0 → msdev_kit-0.2.2}/msdev_kit/auth.py +0 -0
  7. {msdev_kit-0.2.0 → msdev_kit-0.2.2}/msdev_kit/fabric/__init__.py +0 -0
  8. {msdev_kit-0.2.0 → msdev_kit-0.2.2}/msdev_kit/fabric/admin.py +0 -0
  9. {msdev_kit-0.2.0 → msdev_kit-0.2.2}/msdev_kit/fabric/capacity.py +0 -0
  10. {msdev_kit-0.2.0 → msdev_kit-0.2.2}/msdev_kit/fabric/database.py +0 -0
  11. {msdev_kit-0.2.0 → msdev_kit-0.2.2}/msdev_kit/fabric/dataflow.py +0 -0
  12. {msdev_kit-0.2.0 → msdev_kit-0.2.2}/msdev_kit/fabric/dataset.py +0 -0
  13. {msdev_kit-0.2.0 → msdev_kit-0.2.2}/msdev_kit/fabric/kql.py +0 -0
  14. {msdev_kit-0.2.0 → msdev_kit-0.2.2}/msdev_kit/fabric/notebook.py +0 -0
  15. {msdev_kit-0.2.0 → msdev_kit-0.2.2}/msdev_kit/fabric/operations.py +0 -0
  16. {msdev_kit-0.2.0 → msdev_kit-0.2.2}/msdev_kit/fabric/pipeline.py +0 -0
  17. {msdev_kit-0.2.0 → msdev_kit-0.2.2}/msdev_kit/fabric/report.py +0 -0
  18. {msdev_kit-0.2.0 → msdev_kit-0.2.2}/msdev_kit/fabric/utilities.py +0 -0
  19. {msdev_kit-0.2.0 → msdev_kit-0.2.2}/msdev_kit/fabric/workspace.py +0 -0
  20. {msdev_kit-0.2.0 → msdev_kit-0.2.2}/msdev_kit/graph/__init__.py +0 -0
  21. {msdev_kit-0.2.0 → msdev_kit-0.2.2}/msdev_kit/graph/client.py +0 -0
  22. {msdev_kit-0.2.0 → msdev_kit-0.2.2}/msdev_kit/sharepoint/__init__.py +0 -0
  23. {msdev_kit-0.2.0 → msdev_kit-0.2.2}/msdev_kit/sharepoint/client.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: msdev-kit
3
- Version: 0.2.0
3
+ Version: 0.2.2
4
4
  Summary: Microsoft developer toolkit: Fabric, MS Graph, and SharePoint
5
5
  License: MIT
6
6
  License-File: LICENSE
@@ -15,8 +15,7 @@ Classifier: Programming Language :: Python :: 3.12
15
15
  Classifier: Programming Language :: Python :: 3.13
16
16
  Classifier: Programming Language :: Python :: 3.14
17
17
  Requires-Dist: azure-identity (>=1.25.3,<2)
18
- Requires-Dist: azure-kusto-data (>=6.0.3,<7.0.0)
19
- Requires-Dist: cryptography (>=48.0.1,<49.0.0)
18
+ Requires-Dist: azure-kusto-data (>=6.0.4,<7.0.0)
20
19
  Requires-Dist: ipykernel (>=7.3.0,<8.0.0)
21
20
  Requires-Dist: numpy (==2.1.3)
22
21
  Requires-Dist: openpyxl (==3.1.5)
@@ -44,6 +43,16 @@ Microsoft developer toolkit for Python: Fabric/Power BI, MS Graph (Entra), and S
44
43
  > history was squashed when the project was opened to the public, so commits
45
44
  > before that date are not preserved.
46
45
 
46
+ ## Supported OS
47
+
48
+ - Windows x64
49
+ - macOS Apple ARM
50
+ - Linux
51
+
52
+ ### Unsupported OS
53
+
54
+ - Currently, because of updates to `cryptography` package (`>=50.0.0`), `Windows 32-bit` and `macOS Intel` are not supported.
55
+
47
56
  ## Installation
48
57
 
49
58
  ```shell
@@ -117,7 +126,14 @@ graph_auth = Auth(tenant_id="...", client_id="spn-b", client_secret="...")
117
126
 
118
127
  ### Interactive user auth
119
128
 
120
- For scenarios requiring user context (e.g., RLS-enabled datasets):
129
+ For scenarios requiring user context (e.g., RLS-enabled datasets), omit the client-secret arguments to use browser authentication by default:
130
+
131
+ ```python
132
+ auth = Auth()
133
+ token = auth.get_token('fabric')
134
+ ```
135
+
136
+ You can also request a fresh user token from a service-principal `Auth` instance:
121
137
 
122
138
  ```python
123
139
  token = auth.get_token_for_user('pbi') # opens browser for login
@@ -10,6 +10,16 @@ Microsoft developer toolkit for Python: Fabric/Power BI, MS Graph (Entra), and S
10
10
  > history was squashed when the project was opened to the public, so commits
11
11
  > before that date are not preserved.
12
12
 
13
+ ## Supported OS
14
+
15
+ - Windows x64
16
+ - macOS Apple ARM
17
+ - Linux
18
+
19
+ ### Unsupported OS
20
+
21
+ - Currently, because of updates to `cryptography` package (`>=50.0.0`), `Windows 32-bit` and `macOS Intel` are not supported.
22
+
13
23
  ## Installation
14
24
 
15
25
  ```shell
@@ -83,7 +93,14 @@ graph_auth = Auth(tenant_id="...", client_id="spn-b", client_secret="...")
83
93
 
84
94
  ### Interactive user auth
85
95
 
86
- For scenarios requiring user context (e.g., RLS-enabled datasets):
96
+ For scenarios requiring user context (e.g., RLS-enabled datasets), omit the client-secret arguments to use browser authentication by default:
97
+
98
+ ```python
99
+ auth = Auth()
100
+ token = auth.get_token('fabric')
101
+ ```
102
+
103
+ You can also request a fresh user token from a service-principal `Auth` instance:
87
104
 
88
105
  ```python
89
106
  token = auth.get_token_for_user('pbi') # opens browser for login
@@ -1,4 +1,4 @@
1
1
  from .auth import Auth
2
2
 
3
- __version__ = "0.2.0"
3
+ __version__ = "0.2.2"
4
4
  __all__ = ["Auth"]
@@ -1,7 +1,7 @@
1
1
  [project]
2
2
  name = "msdev-kit"
3
3
  description = "Microsoft developer toolkit: Fabric, MS Graph, and SharePoint"
4
- version = "0.2.0"
4
+ version = "0.2.2"
5
5
  requires-python = ">=3.10"
6
6
  readme = "README.md"
7
7
  license = {text = "MIT"}
@@ -19,8 +19,7 @@ dependencies = [
19
19
  "pyodbc==5.2.0",
20
20
  "sqlalchemy==2.0.44",
21
21
  "pyyaml (>=6.0.3,<7.0.0)",
22
- "azure-kusto-data (>=6.0.3,<7.0.0)",
23
- "cryptography (>=48.0.1,<49.0.0)",
22
+ "azure-kusto-data (>=6.0.4,<7.0.0)",
24
23
  "pydantic (>=2.13.4,<3.0.0)",
25
24
  "pyjwt (>=2.13.0,<3.0.0)",
26
25
  "ipykernel (>=7.3.0,<8.0.0)",
File without changes
File without changes