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 and 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

USE_CYTHON=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.3.tar.gz (62.7 kB view details)

Uploaded Source

File details

Details for the file cython-package-example-0.1.3.tar.gz.

File metadata

  • Download URL: cython-package-example-0.1.3.tar.gz
  • Upload date:
  • Size: 62.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.5

File hashes

Hashes for cython-package-example-0.1.3.tar.gz
Algorithm Hash digest
SHA256 061e9cab806773b66bee7f279e7bd233c857c075cdf576706af339aec2913d1f
MD5 b19bd015f8abdd01da36f79d69bd406d
BLAKE2b-256 dca07ea7788f390c6c589bb5960b4d777f24877a4c2ff1da5d3f3925982afc75

See more details on using hashes here.

Supported by

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