pbir-cli 0.9.2__py3-none-win_amd64.whl

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.
@@ -0,0 +1 @@
1
+ __all__ = []
@@ -0,0 +1,32 @@
1
+ from __future__ import annotations
2
+
3
+ import os
4
+ import stat
5
+ import subprocess
6
+ import sys
7
+ from importlib.resources import as_file, files
8
+ from pathlib import Path
9
+
10
+ _BINARY_NAME = 'pbir.exe'
11
+
12
+
13
+ def _ensure_executable(path: Path) -> None:
14
+ if os.name == "nt":
15
+ return
16
+ mode = path.stat().st_mode
17
+ path.chmod(mode | stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH)
18
+
19
+
20
+ def main() -> int:
21
+ resource = files("pbir_binary_wheel").joinpath("bin", _BINARY_NAME)
22
+ env = os.environ.copy()
23
+ env["PBIR_RUNTIME_PROFILE"] = "pypi"
24
+
25
+ with as_file(resource) as binary_path:
26
+ _ensure_executable(binary_path)
27
+ result = subprocess.run([str(binary_path), *sys.argv[1:]], env=env)
28
+ return int(result.returncode)
29
+
30
+
31
+ if __name__ == "__main__":
32
+ raise SystemExit(main())
@@ -0,0 +1,77 @@
1
+ Metadata-Version: 2.4
2
+ Name: pbir-cli
3
+ Version: 0.9.2
4
+ Summary: Proprietary binary-wheel distribution of the pbir CLI
5
+ Author: Kurt Buhler, Maxim Anatsko
6
+ License: Custom Non-Commercial License
7
+
8
+ Copyright (c) 2025 Kurt Buhler, Maxim Anatsko
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to use,
12
+ the Software for non-commercial purposes only, subject to the following conditions:
13
+
14
+ 1. The above copyright notice and this permission notice shall be included in
15
+ all copies or substantial portions of the Software.
16
+
17
+ 2. The Software may not be used for commercial purposes without prior written
18
+ permission from the copyright holders.
19
+
20
+ 3. Commercial purposes include, but are not limited to:
21
+ - Selling the Software or any derivative works
22
+ - Using the Software in a product or service that is sold
23
+ - Using the Software to provide paid consulting or development services
24
+
25
+ 4. For commercial licensing inquiries, contact the copyright holders.
26
+
27
+ 5. Creation of derivative works is expressly forbidden without explicit consent
28
+ of the authors. The software may not be copied, modified, or used in other
29
+ software, products, or services without express consent from the authors.
30
+
31
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
32
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
33
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
34
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
35
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
36
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
37
+ SOFTWARE.
38
+
39
+ Project-URL: Repository, https://github.com/data-goblin/pbir-cli
40
+ Project-URL: Issues, https://github.com/data-goblin/pbir-cli/issues
41
+ Keywords: power-bi,pbir,cli,binary
42
+ Classifier: Development Status :: 3 - Alpha
43
+ Classifier: Intended Audience :: Developers
44
+ Classifier: License :: Other/Proprietary License
45
+ Classifier: Programming Language :: Python :: 3
46
+ Classifier: Programming Language :: Python :: 3.10
47
+ Classifier: Programming Language :: Python :: 3.11
48
+ Classifier: Programming Language :: Python :: 3.12
49
+ Requires-Python: >=3.10
50
+ Description-Content-Type: text/markdown
51
+ License-File: LICENSE
52
+ Dynamic: license-file
53
+
54
+ # pbir-cli
55
+
56
+ Proprietary binary-wheel distribution of the `pbir` CLI for Power BI report manipulation.
57
+
58
+ ## Installation
59
+
60
+ ```bash
61
+ pip install pbir-cli
62
+ ```
63
+
64
+ The PyPI package installs a `pbir` launcher that runs a bundled platform-specific binary. This distribution:
65
+
66
+ - ships binary wheels only
67
+ - exposes declarative automation via `pbir batch`
68
+ - does not publish or install `pbir-object-model` as a separate public PyPI dependency
69
+
70
+ Supported public PyPI targets:
71
+
72
+ - Windows x64
73
+ - macOS arm64
74
+
75
+ ## License
76
+
77
+ Custom Non-Commercial License
@@ -0,0 +1,9 @@
1
+ pbir_cli-0.9.2.data/purelib/pbir_binary_wheel/__init__.py,sha256=Crwi32kssLxszYSIqf97G4l-LKdTzuM-mxKnWvlbLb8,14
2
+ pbir_cli-0.9.2.data/purelib/pbir_binary_wheel/launcher.py,sha256=HldnInhBGRBqFwRm6z8ohJ0Eo6aYSw5wQUFlSN7KE7Y,814
3
+ pbir_cli-0.9.2.data/purelib/pbir_binary_wheel/bin/pbir.exe,sha256=ABp7HoPMgnIUeWQCkiA2_Dd69rGuHebyqW1bJLk-x8Y,88284160
4
+ pbir_cli-0.9.2.dist-info/licenses/LICENSE,sha256=mgD9AadPWQra_C2JhmgUSw_uEX_99gK7NuUOUQ72ijE,1616
5
+ pbir_cli-0.9.2.dist-info/METADATA,sha256=MqCcR8f0p9LMT1ChfBMDDy__C8QUyFEC0bEM-xLaaKM,3224
6
+ pbir_cli-0.9.2.dist-info/WHEEL,sha256=GjDPPQwEcripVP6P2r3RxLa-h5Lb9ifGB7FYYtbLDT0,98
7
+ pbir_cli-0.9.2.dist-info/entry_points.txt,sha256=lzDfJxmHxnyiIxcN0p0tu7BUaus2DzqHLoocIOKeKxo,57
8
+ pbir_cli-0.9.2.dist-info/top_level.txt,sha256=WB-g4vUzxQ_Q76FERVOvEhSo20fMd-OIngD2Ka6Ga_Y,18
9
+ pbir_cli-0.9.2.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (82.0.1)
3
+ Root-Is-Purelib: false
4
+ Tag: py3-none-win_amd64
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ pbir = pbir_binary_wheel.launcher:main
@@ -0,0 +1,32 @@
1
+ Custom Non-Commercial License
2
+
3
+ Copyright (c) 2025 Kurt Buhler, Maxim Anatsko
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to use,
7
+ the Software for non-commercial purposes only, subject to the following conditions:
8
+
9
+ 1. The above copyright notice and this permission notice shall be included in
10
+ all copies or substantial portions of the Software.
11
+
12
+ 2. The Software may not be used for commercial purposes without prior written
13
+ permission from the copyright holders.
14
+
15
+ 3. Commercial purposes include, but are not limited to:
16
+ - Selling the Software or any derivative works
17
+ - Using the Software in a product or service that is sold
18
+ - Using the Software to provide paid consulting or development services
19
+
20
+ 4. For commercial licensing inquiries, contact the copyright holders.
21
+
22
+ 5. Creation of derivative works is expressly forbidden without explicit consent
23
+ of the authors. The software may not be copied, modified, or used in other
24
+ software, products, or services without express consent from the authors.
25
+
26
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
27
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
28
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
29
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
30
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
31
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
32
+ SOFTWARE.
@@ -0,0 +1 @@
1
+ pbir_binary_wheel