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

Uploaded Source

File details

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

File metadata

  • Download URL: cython-package-example-0.1.4.tar.gz
  • Upload date:
  • Size: 80.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.5

File hashes

Hashes for cython-package-example-0.1.4.tar.gz
Algorithm Hash digest
SHA256 7eccaf9e671984f34c6ebda5cd251c686e4730f872d9c4347e2e278a36a66f10
MD5 05eef78f2c0c78d5b46f19325d402a3e
BLAKE2b-256 db4f1d5bf04081d18cc2df5b1f3a8bb488156b082b2ee2f277d7edb070424569

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