Skip to main content

Example of a package with Cython extensions

Project description

Cython package example

Purpose

The purpose of this package is to demonstrate how to organize a project developed using Cython. It shows a suitable folder structure according to the best practices, how to create extension modules with Cython, how to implement functions in C and make them available to Cython, how to include package data, how to write a setup.py script that allows users without Cython to install the package nonetheless.

Installation

From a repository checkout

make install

or

CYTHONIZE=1 pip install --user .

From PyPi

pip install --user cython-package-example

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cython-package-example-0.1.6.tar.gz (85.5 kB view hashes)

Uploaded Source

Built Distribution

cython_package_example-0.1.6-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl (119.9 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.5+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page