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

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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