Skip to content

zabbix-byte/cefpythonX

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CEF Python

Table of contents:

Introduction

CEF Python X (cefpythonx) is a modern fork of the original CEF Python project, maintained by zabbix-byte.

It provides Python bindings for the Chromium Embedded Framework (CEF), enabling you to embed a web browser control based on Chromium with full HTML5 support in your applications.

Key Features of CEF Python X:

  • Modern Python Support: Extended compatibility for Python 3.10, 3.11, 3.12, and 3.13.
  • Cross-Platform: Supports Windows, Linux, and MacOS.
  • GUI Integration: Embeddable in many Python GUI frameworks like PyQt, wxPython, PyGTK, PyGObject, Tkinter, Kivy, Panda3D, PyGame, PyOpenGL, PyWin32, PySide, and PySDL2.

Use cases include:

  1. Modern GUI: Use HTML5/CSS/JS for your application's UI (Electron-like experience).
  2. Embedded Browser: Add a powerful web browser widget to legacy desktop apps (Qt, GTK, wxPython).
  3. Off-screen Rendering: Render web content programmatically for custom use cases.
  4. Automation: Advanced web automation and testing beyond Selenium's capabilities.
  5. Scraping: High-fidelity web scraping and crawling.

Install

Command to install with pip:

pip install cefpythonx

Hosted at pypi/cefpythonx. On Linux pip 8.1+ is required.

You can also download packages for offline installation available on the GitHub Releases pages.

Below is a table with supported platforms, python versions and architectures.

OS Py2 Py3 32bit 64bit Requirements
Windows 2.7 3.4 / 3.5 / 3.6 / 3.7 / 3.8 / 3.9 / 3.10 / 3.11 / 3.12 / 3.13 Yes Yes Windows 7+ (Note that Python 3.9+ supports Windows 8.1+)
Linux 2.7 3.4 / 3.5 / 3.6 / 3.7 / 3.8 / 3.9 / 3.10 / 3.11 / 3.12 / 3.13 Yes Yes Debian 8+, Ubuntu 14.04+,
Fedora 24+, openSUSE 13.3+
Mac 2.7 3.4 / 3.5 / 3.6 / 3.7 / 3.8 / 3.9 / 3.10 / 3.11 / 3.12 / 3.13 No Yes MacOS 10.9+

Examples

Support

Support

  • Issues: Report bugs or feature requests on the GitHub Issues page.
  • Legacy Forum: The original Google Group may contain historical information, but active development for cefpythonx happens here on GitHub.
  • Examples: Supported examples are listed in examples/README-examples.md.
  • Documentation: Located in the docs/ directory.

API

Modules

Settings

Classes and objects

Client handlers (interfaces)

Other interfaces

API index

About

Python bindings for the Chromium Embedded Framework (CEF)

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 53.6%
  • Python 14.7%
  • JavaScript 13.0%
  • Cython 10.8%
  • C 6.7%
  • Objective-C 0.3%
  • Other 0.9%