Moved to http://github.com/ftrias/pyembedc

Python module to embed C/C++ code within Python source code and scripts. Automatically compile and dynamically link the code. Transparently allow native access to python data from C code and vice versa. Module provides all the "glue" to dynamically convert data types, arrays and structures.

Features

  • Embed C/C++ programs within Python source code
  • Automatically compile and dynamically link using GCC
  • Access and modify Python variables as C variables
  • Support arrays and strings
  • Support pre-compiling static code for faster load times
  • Uses c_types for maximum portability

Project Activity

See All Activity >

License

Artistic License 2.0

Follow Python Embed C++

Python Embed C++ Web Site

nel_h2
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Python Embed C++!

Additional Project Details

Operating Systems

Cygwin, Linux

Intended Audience

Developers

Programming Language

C, Python

Related Categories

Python Code Generators, Python Compilers, Python Cross Compilers, C Code Generators, C Compilers, C Cross Compilers

Registered

2010-02-10