https://github.com/federicostra/cython-package-example
Example of a package with Cython extensions.
https://github.com/federicostra/cython-package-example
cython cython-library example example-project package python python3
Last synced: about 1 month ago
JSON representation
Example of a package with Cython extensions.
- Host: GitHub
- URL: https://github.com/federicostra/cython-package-example
- Owner: FedericoStra
- License: mit
- Created: 2019-11-08T16:46:26.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-09T16:22:20.000Z (over 3 years ago)
- Last Synced: 2025-03-23T20:43:45.714Z (2 months ago)
- Topics: cython, cython-library, example, example-project, package, python, python3
- Language: Python
- Homepage:
- Size: 28.3 KB
- Stars: 59
- Watchers: 2
- Forks: 8
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
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
```bash
make install
```
or
```bash
CYTHONIZE=1 pip install --user .
```### From PyPi
```bash
pip install --user cython-package-example
```