About 1,050,000 results
Open links in new tab
  1. Wrapping a C library in Python: C, Cython or ctypes?

    Dec 22, 2009 · With Cython, OTOH, you're completely free to make the wrapping and calling code as thin or thick as you want. You can start with simple calls into your C code from regular Python code, …

  2. python - Making an executable in Cython - Stack Overflow

    Been playing with cython. Normally program in Python, but used C in a previous life. I can't figure out how to make a free-standing executable. I've downloaded cython, and I can make a .pyx file ...

  3. Compile main Python program using Cython - Stack Overflow

    Feb 24, 2011 · Here is an extremely simple example. I am peforming this from a Debian Sid workstation, using python3 and cython3.. Make sure you have python-dev or python3-dev packages installed …

  4. python - Simple wrapping of C code with cython - Stack Overflow

    Jun 15, 2010 · For real examples of Cython wrapping C, look at .pyx files in just about any SciKit . See also: Cython for NumPy users and SO questions/tagged/cython . To unpack the following files, cut …

  5. python - Noob-Ready Cython Tutorials - Stack Overflow

    cython is good at two different things Interfacing with C language libraries Speeding up Python code It probably gets more exposure from 1. hence the emphasis on the tutorial materials you've found …

  6. Cython Hello World: Module Not Found; helloworld.pyd not created

    May 27, 2020 · The tutorial said the command should have created a file called helloworld.pyd, so I searched my entire computer for that file and found nothing. I'm using Python 3.7.3 on 64-bit Windows.

  7. cython tutorial 'using c libraries' is confusing - Stack Overflow

    Dec 21, 2019 · I kind of see why it's confusing though: the cdef functions are more used as a Cython interface than a C interface (but are not callable from Python). I think a lot of the time when the …

  8. How to use annotate=True on Cythonize () - Stack Overflow

    Jul 8, 2019 · All it says is: "Cython has a way to visualise where interaction with Python objects and Python’s C-API is taking place. For this, pass the annotate=True parameter to cythonize ().

  9. cython - Cannot cythonize C++ source if function isn't explicitly used ...

    May 6, 2024 · I was following the Cython tutorial on using C libraries and found out I can do the same for C++, and consulted the equivalent guide. Instead of a class, I wanted to start simple and import and …

  10. python - Cython C++ tutorial: Symbol not found - Stack Overflow

    May 12, 2021 · Cython C++ tutorial: Symbol not found Asked 4 years, 3 months ago Modified 4 years, 3 months ago Viewed 335 times