An open API service indexing awesome lists of open source software.

https://github.com/bsolomon1124/hello-c-extension

Showcase use and packaging of a C++ extension module
https://github.com/bsolomon1124/hello-c-extension

cpp python python3

Last synced: about 1 year ago
JSON representation

Showcase use and packaging of a C++ extension module

Awesome Lists containing this project

README

          

# hello-c-extension

Showcase use and packaging of a C++ extension module.

```bash
$ python -m pip install hello-c-extension
```

Use:

```python
>>> from cmod import CONSTANT, pymod, _cmod
>>> CONSTANT
10
>>> pymod.hello()
Hello from Python!
>>> _cmod.foo()
5
>>> pymod

>>> _cmod

```