zebkit 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.
zebkit-0.4.0/PKG-INFO ADDED
@@ -0,0 +1,49 @@
1
+ Metadata-Version: 2.4
2
+ Name: zebkit
3
+ Version: 0.4.0
4
+ Summary: Chromium's engine as a library, from Python: web views, PDF, media, Playwright's API natively, and the libraries inside the engine
5
+ Keywords: chromium,browser,webview,pdf,playwright,automation
6
+ License-Expression: LGPL-2.1-or-later
7
+ Classifier: Operating System :: POSIX :: Linux
8
+ Classifier: Operating System :: MacOS
9
+ Classifier: Operating System :: Microsoft :: Windows
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Topic :: Internet :: WWW/HTTP :: Browsers
12
+ Requires-Python: >=3.8
13
+ Project-URL: Homepage, https://github.com/ikey4u/zebkit
14
+ Project-URL: Documentation, https://github.com/ikey4u/zebkit/blob/main/docs/API.md
15
+ Project-URL: Releases, https://github.com/ikey4u/zebkit/releases
16
+ Description-Content-Type: text/markdown
17
+
18
+ # zebkit for Python
19
+
20
+ Chromium's engine as a library: web views in your own windows or off-screen,
21
+ a full PDF API on PDFium, media, compression, crypto, Playwright's API run
22
+ inside the engine, and the C libraries inside it. Pure Python on `ctypes`,
23
+ nothing to compile.
24
+
25
+ ```python
26
+ import zebkit
27
+
28
+ def ready():
29
+ view = zebkit.View("https://example.com/")
30
+ view.on_load(lambda event, url: event == zebkit.LOAD_FINISHED and
31
+ view.evaluate("document.title", lambda title, error: print(title)))
32
+
33
+ zebkit.main(ready)
34
+ ```
35
+
36
+ The package is the binding; the engine is a separate download. Unpack the
37
+ archive for your system from the [releases](https://github.com/ikey4u/zebkit/releases)
38
+ of the same version (Linux x86-64, macOS on Apple silicon, Windows x64) and
39
+ point `ZEBKIT_DIR` at it:
40
+
41
+ ```sh
42
+ pip install zebkit
43
+ export ZEBKIT_DIR=/path/to/zebkit-<version>-<target>
44
+ ```
45
+
46
+ Everything the binding offers is in
47
+ [docs/API.md](https://github.com/ikey4u/zebkit/blob/main/docs/API.md), and
48
+ Playwright's API from Python (`zebkit.automation`) in
49
+ [docs/AUTOMATION.md](https://github.com/ikey4u/zebkit/blob/main/docs/AUTOMATION.md).
zebkit-0.4.0/README.md ADDED
@@ -0,0 +1,32 @@
1
+ # zebkit for Python
2
+
3
+ Chromium's engine as a library: web views in your own windows or off-screen,
4
+ a full PDF API on PDFium, media, compression, crypto, Playwright's API run
5
+ inside the engine, and the C libraries inside it. Pure Python on `ctypes`,
6
+ nothing to compile.
7
+
8
+ ```python
9
+ import zebkit
10
+
11
+ def ready():
12
+ view = zebkit.View("https://example.com/")
13
+ view.on_load(lambda event, url: event == zebkit.LOAD_FINISHED and
14
+ view.evaluate("document.title", lambda title, error: print(title)))
15
+
16
+ zebkit.main(ready)
17
+ ```
18
+
19
+ The package is the binding; the engine is a separate download. Unpack the
20
+ archive for your system from the [releases](https://github.com/ikey4u/zebkit/releases)
21
+ of the same version (Linux x86-64, macOS on Apple silicon, Windows x64) and
22
+ point `ZEBKIT_DIR` at it:
23
+
24
+ ```sh
25
+ pip install zebkit
26
+ export ZEBKIT_DIR=/path/to/zebkit-<version>-<target>
27
+ ```
28
+
29
+ Everything the binding offers is in
30
+ [docs/API.md](https://github.com/ikey4u/zebkit/blob/main/docs/API.md), and
31
+ Playwright's API from Python (`zebkit.automation`) in
32
+ [docs/AUTOMATION.md](https://github.com/ikey4u/zebkit/blob/main/docs/AUTOMATION.md).
@@ -0,0 +1,35 @@
1
+ [build-system]
2
+ requires = ["uv_build>=0.13,<0.14"]
3
+ build-backend = "uv_build"
4
+
5
+ [project]
6
+ name = "zebkit"
7
+ version = "0.4.0"
8
+ description = "Chromium's engine as a library, from Python: web views, PDF, media, Playwright's API natively, and the libraries inside the engine"
9
+ readme = "README.md"
10
+ license = "LGPL-2.1-or-later"
11
+ requires-python = ">=3.8"
12
+ keywords = [
13
+ "chromium",
14
+ "browser",
15
+ "webview",
16
+ "pdf",
17
+ "playwright",
18
+ "automation",
19
+ ]
20
+ classifiers = [
21
+ "Operating System :: POSIX :: Linux",
22
+ "Operating System :: MacOS",
23
+ "Operating System :: Microsoft :: Windows",
24
+ "Programming Language :: Python :: 3",
25
+ "Topic :: Internet :: WWW/HTTP :: Browsers",
26
+ ]
27
+
28
+ [project.urls]
29
+ Homepage = "https://github.com/ikey4u/zebkit"
30
+ Documentation = "https://github.com/ikey4u/zebkit/blob/main/docs/API.md"
31
+ Releases = "https://github.com/ikey4u/zebkit/releases"
32
+
33
+ [tool.uv.build-backend]
34
+ module-root = ""
35
+ module-name = "zebkit"
@@ -0,0 +1,29 @@
1
+ [build-system]
2
+ requires = ["uv_build>=0.13,<0.14"]
3
+ build-backend = "uv_build"
4
+
5
+ [project]
6
+ name = "zebkit"
7
+ # The engine's version (VERSION); scripts/publish-python.sh checks they agree.
8
+ version = "0.4.0"
9
+ description = "Chromium's engine as a library, from Python: web views, PDF, media, Playwright's API natively, and the libraries inside the engine"
10
+ readme = "README.md"
11
+ license = "LGPL-2.1-or-later"
12
+ requires-python = ">=3.8"
13
+ keywords = ["chromium", "browser", "webview", "pdf", "playwright", "automation"]
14
+ classifiers = [
15
+ "Operating System :: POSIX :: Linux",
16
+ "Operating System :: MacOS",
17
+ "Operating System :: Microsoft :: Windows",
18
+ "Programming Language :: Python :: 3",
19
+ "Topic :: Internet :: WWW/HTTP :: Browsers",
20
+ ]
21
+
22
+ [project.urls]
23
+ Homepage = "https://github.com/ikey4u/zebkit"
24
+ Documentation = "https://github.com/ikey4u/zebkit/blob/main/docs/API.md"
25
+ Releases = "https://github.com/ikey4u/zebkit/releases"
26
+
27
+ [tool.uv.build-backend]
28
+ module-root = ""
29
+ module-name = "zebkit"