Python bindings for the Chromium Embedded Framework (CEF)
OTHER License
Bot releases are hidden (Show)
Published by cztomczak over 3 years ago
You can install the pypi/cefpython3 package using the pip tool. You can also download packages for offline installation that are attached in this release. The command to install with pip is:
pip install cefpython3==66.1
OS | Py2 | Py3 | 32bit | 64bit | Requirements |
---|---|---|---|---|---|
Windows | 2.7 | 3.4 / 3.5 / 3.6 / 3.7 / 3.8 / 3.9 | Yes | Yes | Windows 7+ (Note that Python 3.9 supports Windows 8.1+) |
Thank you to Fivestars Loyalty, Inc. for sponsoring this release.
Published by cztomczak about 6 years ago
This is a special release only for Windows for legacy systems such as Windows XP and Vista. This release includes Chromium 49.0.2623.110 which is the latest Chromium version that supports WinXP/Vista.
You can install pypi/cefpython3 package using pip tool. You can also download packages for offline installation available on this GitHub Release page. Command to install with pip:
pip --no-cache-dir install cefpython3==49.0
Please note that if you were previously installing cefpython3 package it is required to use the --no-cache-dir
flag, otherwise pip will end up with error message No matching distribution found for cefpython3==49.0
. This happens because 49.0 release occured after 57.0 and 66.0 releases.
OS | Py2 | Py3 | 32bit | 64bit | Requirements |
---|---|---|---|---|---|
Windows | 2.7 | 3.4 | Yes | Yes | Windows XP+ |
Thanks to Fivestars Loyalty, Inc. for sponsoring this release. Please visit its website: https://www.fivestars.com/ .
cefpython49-winxp
branchcefpython49-winxp
branchhello_world.py
, gtk2.py
, qt.py pyqt4
, qt.py pyside
, tutorial.py
, screenshot.py
, tkinter_.py
and wxpython.py
(all except gtk3.py
which wasn't tested)screenshot.py
example to pass switches to disable GPU acceleration which is not supported in OSR mode and can cause issues if enabled. Also pass additional Chromium switches to enhance performance. (#463)WindowUtils
.OnSize function which can sometimes cause app hanging during window resize event. Call instead the new WindowUtils
.UpdateBrowserSize function. Except when you use the pywin32.py
example, in such case WindowUtils.OnSize
must be called. (#463)qt.py pyqt4
and gtk2.py
examples can sometimes hang app during window resize (rare, but happens from time to time)cefpython57
branch was used as a base for the cefpython49-winxp
branch and thus it comes with all the new build tools, fixes and new exampleswxpython.py
example. Enter key works fine when running the hello_world.py
example, so this is only an issue with wxPython. To resolve it create either a devtools.py
script or use remote debugging and open DevTools in a Google Chrome browser. The devtools.py
script is basically a hello_world.py
example with one change to url, set it to http://127.0.0.1:1234/
. In your wxpython app set ApplicationSettings.remote_debugging_port
to 1234
and open DevTools popup by executing subprocess.Popen([sys.executable, "devtools.py"])
. The "Developer Tools" from mouse context menu won't work, however you can implement a custom context menu in javascript.Published by cztomczak about 6 years ago
With these upstream CEF prebuilt binaries and libraries you can build CEF Python from sources in less than 10 minutes. See the Build instructions document for details.
Prebult binaries and libraries were created according to build instructions with the automate.py script by running the automate.py --prebuilt-cef
command.
Notes:
cefclient
and cefsimple
sample applications require Vista or later. It should be possible to build these to support XP as well, but it would require modifications to CEF's cmake/ninja configuration in the cef_binary
archives. If there are still issues on XP then see upstream Issue #1787.cef_binary
archives contain only Release mode binariesPublished by cztomczak about 6 years ago
You can install pypi/cefpython3 package using pip tool. On Linux pip 8.1+ is required. You can also download packages for offline installation that are attached to this GitHub release. Command to install with pip:
pip install cefpython3==66.0
OS | Py2 | Py3 | 32bit | 64bit | Requirements |
---|---|---|---|---|---|
Windows | 2.7 | 3.4 / 3.5 / 3.6 / 3.7 | Yes | Yes | Windows 7+ |
Linux | 2.7 | 3.4 / 3.5 / 3.6 / 3.7 | Yes | Yes | Debian 8+, Ubuntu 14.04+, Fedora 24+, openSUSE 13.3+ |
Mac | 2.7 | 3.4 / 3.5 / 3.6 / 3.7 | No | Yes | MacOS 10.9+ |
Many thanks to Lampix for sponsoring this release. Lampix is the first hardware and software solution that turns any surface into a smart, augmented reality or interactive surface. Please visit its website here: https://lampix.com/
Browser
.SetAccessibilityState for both windowed and OSR browsers. See AccessibilityHandler for OSR browsers. (#449)DisplayHandler
.OnLoadingProgressChange
cefpython
.LoadCrlSetsFile for loading the existing "Certificate Revocation Lists" file that is managed by Google ChromeRequestHandler
.CanGetCookies and CanSetCookie to allow or block cookies over network requestsBrowser
.GetImage method to get browser visible contents as image. Available only on Linux. (#427)Browser
.Invalidate to force frame to be painted in OSR modeCookieManager
.GetBlockingManager
CookieManager
.FlushStore to flush cookies to disk manuallyBrowserSettings
.inherit_client_handlers_for_popups option. This is enabled by default and makes client handlers/callbacks to be inherited by popup browsers created implicitilly e.g. via "window.open" in jsDpiAware
.Scale which is reliable with any DPI settings. The DpiAware.CalculateWindowSize
method is deprecated. Fix DpiAware.GetSystemDpi
. (#398)GetImage
, GetImageHotspot
, HasImage
(#251)Request.SetPostData
and GetPostData
not working. All strings are expected to be byte strings. (#228)setWantsLayer:YES
in the wxpython.py example (#371)cef.ExceptHook
(#382)RenderHandler
.OnTextSelectionChanged
Browser
.SetAutoResizeEnabled
DisplayHandler
.OnAutoResize
--enable-profiling
and --enable-linetracing
flags to build.py
tool to allow for profiling cefpython code with cProfile module (#424)--no-depot-tools
update flag to automate.py
to allow of building old unsupported versions of Chromium. Update build instructions, see for more details. (#428)Browser
.GetSetting
Browser
.HasDevTools
cefpython
.SetGlobalClientHandler
cefpython
.GetBrowserByIdentifier
cefpython
.GetDataUrl
RequestHandler.OnBeforeBrowse
has a new param 'user_gesture', see here
LifespanHandler.OnBeforePopup
is now called on UI thread, see here
DisplayHandler.OnConsoleMessage
has a new param 'level', see here
RequestHandler.GetCookieManager
not getting called in some cases, see here
cef.Request.Flags
changed, AllowCachedCredentials
was removed and others were added, see here
TID_DB
, TID_PROCESS_LAUNCHER
, TID_CACHE
, see here
BrowserSettings.javascript_open_windows_disallowed
option was removed, see here
Published by cztomczak over 6 years ago
This release will be updated with new binaries with time.
Master
branch is currently v66
. There is no cefpython66
branch at the moment.
With these upstream CEF prebuilt binaries and libraries you can build CEF Python from sources in less than 10 minutes. See the Build instructions document for details.
Built according to build instructions with the automate.py script. On Windows and Mac binaries from Spotify Automated Builds ("Standard distribution") were used and then ran automate.py --prebuilt-cef
. On Linux CEF was build from sources by running automate.py --build-cef
.
LINUX NOTE: Linux binaries were built on Ubuntu 14.04 64-bit. These binaries contain libcef.so with minimal symbols so that you can debug CEF with gdb and get a meaningful stack trace. Currently cefpython v54-v66 and later distribution packages on PyPI and on GH releases ship a stripped version of libcef.so with no symbols at all (Issue #262). Download archive from this release and switch libcef.so in your already installed package to allow for debugging CEF.
CEF Python 66.0:
Published by cztomczak about 7 years ago
This release fixes some issues on Windows, including High DPI support. Version v57.1 is released only for Windows. See also v57.0 release which is available for all platforms.
Installation
You can install pypi/cefpython3 package using pip tool. Command to install with pip:
pip install cefpython3==57.1
If you get an error when importing the cefpython3 package on Windows then see this section in the Knowledge Base document: ImportError: DLL load failed (Windows).
Support matrix
OS | Py2 | Py3 | 32bit | 64bit | Requirements |
---|---|---|---|---|---|
Windows | 2.7 | 3.4 / 3.5 / 3.6 | Yes | Yes | Windows 7+ |
Changes and notes for this release
Published by cztomczak over 7 years ago
Installation
You can install pypi/cefpython3 package using pip tool. On Linux pip 8.1+ is required. You can also download packages for offline installation that are attached to this GitHub release. Command to install with pip:
pip install cefpython3==57.0
If you get an error when importing the cefpython3 package on Windows then see this section in the Knowledge Base document: ImportError: DLL load failed (Windows).
Support matrix
OS | Py2 | Py3 | 32bit | 64bit | Requirements |
---|---|---|---|---|---|
Windows | 2.7 | 3.4 / 3.5 / 3.6 | Yes | Yes | Windows 7+ |
Linux | 2.7 | 3.4 / 3.5 / 3.6 | Yes | Yes | Debian 7+ / Ubuntu 12.04+ |
Mac | 2.7 | 3.4 / 3.5 / 3.6 | No | Yes | MacOS 10.9+ |
Changes and notes for this release
Notable changes in upstream CEF:
Published by cztomczak over 7 years ago
With these upstream CEF prebuilt binaries and libraries you can build CEF Python from sources in less than 10 minutes. See the Build instructions document for details.
Built according to build instructions with the automate.py script. On Windows and Mac binaries from Spotify Automated Builds ("Standard distribution") were used and then ran automate.py --prebuilt-cef
. On Linux CEF was build from sources by running automate.py --build-cef
.
LINUX NOTE: Linux binaries were built on Ubuntu 14.04 64-bit. These binaries contain libcef.so with minimal symbols so that you can debug CEF with gdb and get a meaningful stack trace. Currently cefpython v54 and later distribution packages on PyPI and on GH releases ship a stripped version of libcef.so with no symbols at all (Issue #262). Download archive from this release and switch libcef.so in your already installed package to allow for debugging CEF.
This release will be updated with new binaries with time.
CEF Python 57.0:
Published by cztomczak over 7 years ago
Installation
You can install with pip. On Linux pip 8.1+ is required. You can also download packages for offline installation that are attached to this GitHub release.
pip install cefpython3==56.2
Support matrix
OS | Py2 | Py3 | 32bit | 64bit | Requirements |
---|---|---|---|---|---|
Windows | 2.7 | 3.4 / 3.5 / 3.6 | Yes | Yes | Windows 7+ |
Linux | 2.7 | 3.4 / 3.5 / 3.6 | Yes | Yes | Debian 7+ / Ubuntu 12.04+ |
Mac | 2.7 | 3.4 / 3.5 / 3.6 | No | Yes | MacOS 10.9+ |
Changes and notes for this Release
Published by cztomczak over 7 years ago
Installation
You can install with pip. On Linux pip 8.1+ is required. You can also download packages for offline installation that are attached to this GitHub release.
pip install cefpython3==56.1
Support matrix
OS | Py2 | Py3 | 32bit | 64bit | Requirements |
---|---|---|---|---|---|
Windows | 2.7 | 3.4 / 3.5 / 3.6 | Yes | Yes | Windows 7+ |
Linux | 2.7 | 3.4 / 3.5 / 3.6 | Yes | Yes | Debian 7+ / Ubuntu 12.04+ |
Mac | 2.7 | 3.4 / 3.5 / 3.6 | No | Yes | MacOS 10.9+ |
Changes and notes for this Release
Published by cztomczak over 7 years ago
Many thanks to ClearChat Inc. for sponsoring this release.
This release was removed from PyPI due to cleanup in pip releases (#329). You can install it using files attached to this GitHub release.
Changes and notes for this Release:
Published by cztomczak over 7 years ago
Many thanks to ClearChat Inc. for sponsoring this release.
This release was removed from PyPI due to cleanup in pip releases (#329). You can install it using files attached to this GitHub release.
Changes and notes for this Release:
Published by cztomczak over 7 years ago
With these upstream CEF prebuilt binaries and libraries you can build CEF Python from sources in less than 10 minutes. See the Build instructions document for details.
Built according to build instructions with the automate.py script. On Windows and Mac binaries from Spotify Automated Builds ("Standard distribution") were used and then ran automate.py --prebuilt-cef
. On Linux CEF was build from sources by running automate.py --build-cef
.
LINUX NOTE: Linux binaries were built on Ubuntu 14.04 64-bit. These binaries contain libcef.so with minimal symbols so that you can debug CEF with gdb and get a meaningful stack trace. Currently cefpython v54 and later distribution packages on PyPI and on GH releases ship a stripped version of libcef.so with no symbols at all (Issue #262). Download archive from this release and switch libcef.so in your already installed package to allow for debugging CEF.
CEF Python 56.0 / 56.1 / 56.2:
Published by cztomczak over 7 years ago
Many thanks to ClearChat Inc. for sponsoring this release.
This release was removed from PyPI due to cleanup in pip releases (#329). You can install it using files attached to this GitHub release.
Changes in this Release:
Notes on examples:
Published by cztomczak over 7 years ago
Many thanks to ClearChat Inc. for sponsoring this release.
This release was removed from PyPI due to cleanup in pip releases (#329). You can install it using files attached to this GitHub release.
This release includes changes that break backward compatibility, see those marked with "BC break!" at the end.
Changes in this Release:
Changes that break backward compatibility:
Notes on examples:
Published by cztomczak almost 8 years ago
This release was removed from PyPI due to cleanup in pip releases (#329). You can install it using files attached to this GitHub release.
Changes in this Release:
Notes on examples:
Key changes in upstream CEF between commits a6c42a7...d7f087e (since CEF Python 55.1):
Published by cztomczak almost 8 years ago
This release was removed from PyPI due to cleanup in pip releases (#329). You can install it using files attached to this GitHub release.
Changes in this Release:
Notes on examples:
Key changes in upstream CEF between commits 7fe3d03...ffd843c (since CEF Python 54.0):
Published by cztomczak almost 8 years ago
This is Chrome beta channel.
This release was removed from PyPI due to cleanup in pip releases (#329). You can install it using files attached to this GitHub release.
Changes in this Release:
Notes on examples:
Published by cztomczak almost 8 years ago
Built according to docs/Build-instructions.md
with the tools/automate.py
script.
NOTE for Linux: Linux binaries were built on Ubuntu 14.04 64-bit. These binaries contain libcef.so with minimal symbols so that you can debug CEF with gdb and get a meaningful stack trace. Currently cefpython v54 and later distribution packages on PyPI and on GH releases ship a stripped version of libcef.so with no symbols at all (Issue #262). Download archive from this release and switch libcef.so in your already installed package to allow for debugging CEF.
CEF Python 55.1 - cef55_3.2883.1506.ga6c42a7_linux64.tar.gz (Linux, Chrome beta channel)
CEF Python 55.2 - cef55_3.2883.1539.gd7f087e_linux64.tar.gz (Linux, Chrome beta channel from Nov 30)
CEF Python 55.3 - cef55_3.2883.1554.gf984155_linux64.tar.gz (Linux, Chrome stable channel)
CEF Python 55.4 - cef55_3.2883.1553.g80bd606_win32.zip (Windows, Chrome stable channel)
Published by cztomczak about 8 years ago
This release was removed from PyPI due to cleanup in pip releases (#329). You can install it using files attached to this GitHub release.
Changes in this Release:
Notes on examples:
Changes in API that break backward compatibility: