https://github.com/rtsfred3/pyntegrate
Use of native C code in Python using C Extensions
https://github.com/rtsfred3/pyntegrate
c c-extensions c-python-extensions cpython python
Last synced: 6 months ago
JSON representation
Use of native C code in Python using C Extensions
- Host: GitHub
- URL: https://github.com/rtsfred3/pyntegrate
- Owner: rtsfred3
- License: apache-2.0
- Created: 2021-01-04T21:52:35.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2025-06-11T12:33:50.000Z (8 months ago)
- Last Synced: 2025-07-15T03:41:34.913Z (6 months ago)
- Topics: c, c-extensions, c-python-extensions, cpython, python
- Language: C
- Size: 189 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pyntegrate

[](https://badge.fury.io/py/pyntegrate)
[](https://badge.fury.io/py/pyntegrate)
[](https://badge.fury.io/py/pyntegrate)
[](https://badge.fury.io/py/pyntegrate)
Mirrored on [GitLab](https://gitlab.com/rtsfred3/pyntegrate)
## What are C Extensions in Python?
C Extensions allow for native C/C++ code (with a small penalty) to be used within Python. The documentation can be found [here](https://docs.python.org/3/extending/index.html), [here](https://docs.python.org/3/extending/extending.html), and [here](https://docs.python.org/3/c-api/index.html).
## Why use C Extensions?
The main benefit of using C Extensions would be the speed of C, with a slight penalty, when translating between C and Python.
## How to Build or Install
To build from source, use `python3 setup.py build`.
To install from source, use `python3 setup.py install`.
To install using pip, use `pip install pyntegrate`
## Installation
`git clone https://github.com/rtsfred3/pyntegrate.git`
`python3 setup.py install`
### License
```
Copyright 2021 Ryan Fredrickson
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```