Filewatcher File Search File Search
Content Search
» » » » »


compile native-code modules for python from python-like syntax

Pyrex lets you write code that mixes Python and C data types any way you want, and compiles it into a C extension for Python.

You can get very large speedups for tasks that don't need all the dynamic features of python, with very small differences in syntax and much less hassle than writing your modules from scratch in C.

Package version:


This example demonstrates how you can wrap a C API
that has a callback interface, so that you can
pass Python functions to it as callbacks.

The files cheesefinder.h and cheesefinder.c
represent the C library to be wrapped.

The file cheese.pyx is the Pyrex module
which wraps it.

The file demonstrates how to
call the wrapper.


This example demonstrates how Pyrex-generated code
can be called directly from a main program written in C.

In this example, the module's initialisation function
(called "initembedded", since the module is called
"embedded") is called explicitly. This is necessary
because the module is not being imported using the
normal Python import mechanism.

The Windows makefiles were contributed by
Duncan B


Welcome to Pyrex!

This is a development version of Pyrex, a language
for writing Python extension modules.

For more info, see:

    Doc/About.html for a description of the language
    INSTALL.txt    for installation instructions
    USAGE.txt      for usage instructions
    Demos          for usage examples

Comments, suggestions, bug reports, etc. are

Copyright stuf


<!DOCTYPE doctype PUBLIC "-//w3c//dtd html 4.0 transitional//en">
              <meta h


PYREXC(1)                                                  PYREXC(1)

       pyrexc - compile


pyrex ( unstable; urgency=low

  * Correct pyrex-mode emacsen-startup script: load python-


Bug fixes:

  - Fixed indentation problem in Pyrex.Distutils.build_ext.


DONE - Pointer-to-function types.

DONE - Nested declarators.

DONE - Varargs C func defs and calls.

Browse inside python-pyrex_0.9.4.1-2_all.deb

         [DIR]DEBIAN/ (4)  65535+ mirrors
         [DIR]usr/ (2)  65535+ mirrors

Download python-pyrex_0.9.4.1-2_all.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017