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

Uploaded Source

File details

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

File metadata

  • Download URL: cython-package-example-0.1.5.tar.gz
  • Upload date:
  • Size: 80.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for cython-package-example-0.1.5.tar.gz
Algorithm Hash digest
SHA256 e5f46d4113ba21fc88b3f4141a8a4014eedce525bf7235c61d23d8d216bf7feb
MD5 d6db437fe348315fbb0d9499a305a824
BLAKE2b-256 1c3446f8f9bd0c283dc463c9578967e239b718491ed4b42d554651f2dcb8c562

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