BSD Ports

lang/cython3 3.0.12 DragonFly

Compiler for Writing C Extensions for the Python Language

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
APACHE20
Categories
lang, python
Package size
2884.1 KiB, 14632.1 KiB installed

Description

Cython is a Python compiler that makes writing C extensions for Python as easy as Python itself. Cython is based on Pyrex, but supports more cutting edge functionality and optimizations.

Cython translates Python code to C/C++ code, but additionally supports calling C functions and declaring C types on variables and class attributes. This allows the compiler to generate very efficient C code from Cython code.

This makes Cython the ideal language for wrapping external C libraries, and for fast C modules that speed up the execution of Python code.

Install

Binary package:

pkg install py39-cython3

From DPorts:

cd /usr/dports/lang/cython3 && make install clean

Dependencies

Run dependencies 1
Required by 1

Configuration

No options to configure.

Service scripts
none
Flavors
py310-cython3-3.0.12, py311-cython3-3.0.12