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.7.tar.gz (155.1 kB view details)

Uploaded Source

File details

Details for the file cython_package_example-0.1.7.tar.gz.

File metadata

  • Download URL: cython_package_example-0.1.7.tar.gz
  • Upload date:
  • Size: 155.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for cython_package_example-0.1.7.tar.gz
Algorithm Hash digest
SHA256 d4c0d33fdf0c909b913cd1c6bc7ceba6ec131444660533987db3b82def2f4e44
MD5 8abad952d71b026515ae1bd4b3a8970d
BLAKE2b-256 fee2dbdd5c94119b26fc317f93d56ebdee1da4175cf8777fb221a12aae405abd

See more details on using hashes here.

Supported by

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