pybindcef
High-performance Python bindings for Chromium Embedded Framework (CEF)
Build Instructions
Building libcef_dll_wrapper
-
Linux
Download cef minimal build for your system architecture via https://cef-builds.spotifycdn.com
mkdir -p ~/Downloads/cef_binary wget https://cef-builds.spotifycdn.com/cef_binary_146.0.9%2Bg3ca6a87%2Bchromium-146.0.7680.165_linux64_minimal.tar.bz2 -O ~/Downloads/cef_binary.tar.bz2 tar -xjf ~/Downloads/cef_binary.tar.bz2 -C ~/Downloads/cef_binary --strip-components=1
Now build the libcef_dll_wrapper
mkdir ~/Downloads/cef_binary/build cd ~/Downloads/cef_binary/build cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_POSITION_INDEPENDENT_CODE=ON make -j$(nproc)
-
Confirm the build
ls ~/Downloads/cef_binary/build/libcef_dll_wrapper/A file named
libcef_dll_wrapper.awill be listed.
Building pybindcef extension
-
Linux
Clone this repository.
git clone https://github.com/Novfensec/pybindcef -b main --single-branch --depth 1
Now build the extension with
-DPython_EXECUTABLE="pythonexecutablewithversion"mkdir pybindcef/build cd pybindcef/build cmake .. -DPython_EXECUTABLE=/usr/bin/python make
Now build
cef_workermkdir pybindcef/cef_worker/build cd pybindcef/cef_worker/build cmake .. make
Extracting resources
Copy all files under cef_binary/Resources to cef_binary/Release
cp -r ~/Downloads/cef_binary/Resources/* ~/Downloads/cef_binary/Release/
Tests
Linux
-
Kivy
- Copy
pybindcefextension andcef_workerexecutable topybindcef/tests/kivy/. - Run main.py with the python executable version suitable for the extension.
python main.py - Copy
-
PyQt
- Copy
pybindcefextension andcef_workerexecutable topybindcef/tests/pyqt/. - Run main.py with the python executable version suitable for the extension.
python main.py - Copy
-
Tkinter
- Copy
pybindcefextension andcef_workerexecutable topybindcef/tests/tkinter/. - Run main.py with the python executable version suitable for the extension.
python main.py - Copy
Metadata
Release files for pybindcef 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pybindcef-0.1.0-cp313-cp313-manylinux_2_39_x86_64.whl | CPython 3.13 | CPython 3.13 | Linux glibc 2.39+ x86-64 | Details for pybindcef-0.1.0-cp313-cp313-manylinux_2_39_x86_64.whl |
Release files / pybindcef-0.1.0-cp313-cp313-manylinux_2_39_x86_64.whl
| Download URL | pybindcef-0.1.0-cp313-cp313-manylinux_2_39_x86_64.whl |
|---|---|
| Size | 260.3 kB |
| Tags | CPython 3.13 Linux glibc 2.39+ x86-64 |
|
SHA-256 checksum How to use checksums |
90ea7e429e95060ab633f409037e56f1fe00543c68f40628d43e3b983620edef
|
|
BLAKE2b-256 checksum How to use checksums |
b4befe9afe5e5864ad191fc740ca62af7fd077b84aed1ff8733ba45fc60d8233
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Security for pybindcef 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.