Lnk2past/copperhead
An Inline C++ Extension Generator for Python
This is for Python developers who want to integrate C++ code directly into their Python projects for performance-critical sections. You provide C++ code as a string within Python, specifying function signatures, and it generates a callable Python function. This is ideal for quickly experimenting with C++ performance enhancements without setting up complex build systems.
No commits in the last 6 months. Available on PyPI.
Use this if you need to quickly prototype and test C++ code snippets for performance gains within a Python script, or to generate C++ extension modules with minimal boilerplate.
Not ideal if you are building production-grade C++ extensions where robust build systems, extensive error handling, and long-term maintainability are paramount, or if you require backward compatibility with older C++ standards.
Stars
11
Forks
1
Language
Python
License
MIT
Category
Last pushed
Oct 26, 2021
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/Lnk2past/copperhead"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
inducer/cgen
C/C++ source generation from an AST
vil02/puzzle_generator
Generates python code representing a puzzle
westandskif/convtools
convtools is a specialized Python library for dynamic, declarative data transformations with...
numen31337/copy_with_extension
Auto-generate `copyWith` methods for your Dart classes.
finsberg/gotranx
Next generation ODE translator