About 58 results
Open links in new tab
  1. Cython: C-Extensions for Python

    Cython is an optimising static compiler for both the Python programming language and the extended Cython programming language (based on Pyrex). It makes writing C extensions for Python as easy as …

  2. Welcome to Cython’s Documentation — Cython 3.3.0a0 documentation

    Welcome to Cython’s Documentation — Cython 3.3.0a0 documentation

  3. Tutorials — Cython 3.3.0a0 documentation

    Tutorials — Cython 3.3.0a0 documentation

  4. Cython - an overview — Cython 3.3.0a0 documentation

    Cython - an overview — Cython 3.3.0a0 documentation

  5. Getting Started — Cython 3.3.0a0 documentation

    Getting Started — Cython 3.3.0a0 documentation

  6. Pure Python Mode — Cython 3.3.0a0 documentation

    Static typing cython.declare declares a typed variable in the current scope, which can be used in place of the cdef type var [= value] construct. This has two forms, the first as an assignment (useful as it …

  7. Users Guide — Cython 3.3.0a0 documentation

    Comprehensive user guide for Cython, an optimizing static compiler for Python and Cython programming languages.

  8. Building Cython code — Cython 3.3.0a0 documentation

    from setuptools import setup from Cython.Build import cythonize setup( name='Hello world app', ext_modules=cythonize("hello.pyx"), )

  9. Faster code via static typing — Cython 3.3.0a0 documentation

    Therefore, Cython provides a way for declaring a C-style function, the Cython specific cdef statement, as well as the @cfunc decorator to declare C-style functions in Python syntax. Both approaches are …

  10. Cython for NumPy users — Cython 3.3.0a0 documentation

    import numpy as np import cython # We now need to fix a datatype for our arrays. I've used the variable # DTYPE for this, which is assigned to the usual NumPy runtime # type info object. DTYPE = np.intc # …