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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cython-package-example-0.1.6.tar.gz.
File metadata
- Download URL: cython-package-example-0.1.6.tar.gz
- Upload date:
- Size: 85.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf013a75dee1e35ea47c52bba387225161712b59ba7632bda11a7f4fd668d318
|
|
| MD5 |
4087823dc27361ae338c0152de6aee4f
|
|
| BLAKE2b-256 |
eb97d851499ee4101c7c584f1ef17739f01ac5ec79f47a0dcc49765130d2a7c0
|
File details
Details for the file cython_package_example-0.1.6-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl.
File metadata
- Download URL: cython_package_example-0.1.6-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 119.9 kB
- Tags: CPython 3.10, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
edf0220b9a295581be9fb74a2992faff621cc488e82de4b003bd3f9e6658c164
|
|
| MD5 |
0cb178cf080985412c732314788ddcfe
|
|
| BLAKE2b-256 |
ea72e2e4075bbd6ff8ae2cf49daa36e91156d66525ea21b5b4c92e5f6ea51248
|