Skip to content Skip to sidebar Skip to footer
Showing posts with the label Python C Api

How To Use Setuptools Packages And Ext_modules With The Same Name?

I got the following file structure for my Python C Extension project: . ├── setup.py ├── source   … Read more How To Use Setuptools Packages And Ext_modules With The Same Name?

How Do I Use The Correct Dll Files To Enable 3rd Party C Libraries In A Cython C Extension?

I have a C function that involves decompressing data using zstd. I am attempting to call that funct… Read more How Do I Use The Correct Dll Files To Enable 3rd Party C Libraries In A Cython C Extension?

Python C-api Object Allocation

I want to use the new and delete operators for creating and destroying my objects. The problem is p… Read more Python C-api Object Allocation

How To Package A Python C Extension Such That It Is A Submodule Of A Normal Python Module?

I wrote a python library with two parts: A Python C extension A Python wrapper for the Python C ex… Read more How To Package A Python C Extension Such That It Is A Submodule Of A Normal Python Module?

Python C Api Crashes On 'import Numpy' When Initilizing Multiple Times

While working with the Python C API, I found that the python interpreter crashes when initializing … Read more Python C Api Crashes On 'import Numpy' When Initilizing Multiple Times

Python Ctypes: How To Pass Row Outputs From A C Function Into A Pandas Dataframe?

My question is how to parse tab-delimited output from a C function into a pandas DataFrame via ctyp… Read more Python Ctypes: How To Pass Row Outputs From A C Function Into A Pandas Dataframe?