Skip to content

Python bindings for the Chromium Embedded Framework

License

Notifications You must be signed in to change notification settings

avi9111/cefpython

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notes:

  • Repository rewritten on 2016-02-15 to reduce its size. Please clone it again.
  • There is an ongoing big refactoring with code and documentation cleanup. The last stable code is in the cefpython31 branch. Use documentation from the Wiki tab, the docs/ directory is still under works.

CEF Python

Table of contents:

Introduction

CEF Python is an open source project founded by Czarek Tomczak in 2012 to provide python bindings for the Chromium Embedded Framework. See the growing list of applications using CEF on wikipedia. 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)

Downloads

Help and documentation

  • See the Help and search wiki page
  • Documentation and API is available on Wiki Pages
  • Please do not use the Issue Tracker for asking questions. Use the Forum.

Support development

If you are interested in donating time to help with the CEF Python development please see the Internal development wiki page. If you would like to support general CEF Python development efforts by making a donation see the Donations page. At this time CEF Python is unable to accept donations that sponsor the development of specific features. If you are interested in sponsorship opportunities please contact Czarek directly.

Built a cool app?

Built a cool app using CEF Python and would like to share info with the community? Talk about it on the CEF Python Forum.

CEF bindings for other languages

The author of CEF Python is also working on CEF bindings for other languages such as PHP and Go. For PHP take a look at the PHP Desktop project. For Go see the CEF2go project on GitHub.

About

Python bindings for the Chromium Embedded Framework

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 35.1%
  • C++ 27.0%
  • JavaScript 26.7%
  • HTML 7.1%
  • C 1.6%
  • CSS 1.0%
  • Other 1.5%