Skip to main content

Python bindings for the Chromium Embedded Framework

Project description

CEF Python is an open source project founded by Czarek Tomczak in 2012 to provide python bindings for the Chromium Embedded Framework. Examples of embedding CEF browser are available for many popular GUI toolkits including: wxPython, PyGTK, PyQt, PySide, Kivy, Panda3D and PyWin32.

Some use cases for CEF:

  • Embed a web browser control with great HTML5 support (based on Chromium)

  • Use it to create a HTML5 based GUI in an application. This can act as a replacement for GUI toolkits like wxWidgets/Qt/Gtk. For native communication between javascript and python use javascript bindings. Another option is to run an internal python web server and use websockets/XMLHttpRequest for js<>python communication. This way you can write a desktop app in the same way you write web apps.

  • Render web content off-screen in applications that use custom drawing frameworks. See the Kivy and Panda3D examples.

  • Use it for automated testing of existing web applications. Use it for web scraping, or as a web crawler or other kind of internet bots.

Supported Python versions and platforms:

  • Supported Python versions: 2.7 (Python 3.4 will be supported soon, see Issue 121)

  • Supported platforms: Windows, Linux, Mac (both 32bit and 64bit binaries are available for all platforms)

Windows/Mac: to run some examples go to the examples/ directory that is inside the cefpython3 package. Type “pip show cefpython3” to see where the cefpython3 package was installed. It is recommended to run the wxpython.py example which presents the most features.

Linux packages on PyPI are yet experimental, only latest beta v53+ versions are supported. For Linux stable v31 downloads see: https://github.com/cztomczak/cefpython/wiki/Download_CEF3_Linux

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

cefpython3-31.2-cp27-none-win_amd64.whl (32.1 MB view hashes)

Uploaded CPython 2.7 Windows x86-64

cefpython3-31.2-cp27-none-win32.whl (27.3 MB view hashes)

Uploaded CPython 2.7 Windows x86

cefpython3-31.2-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (55.2 MB view hashes)

Uploaded CPython 2.7 macOS 10.10+ intel macOS 10.10+ x86-64 macOS 10.6+ intel macOS 10.9+ intel macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page