This repository is a ready-to-use template for creating Python extensions using C, ideal for developers who want to improve the performance of their Python projects with native code.
It includes a practical example: a method that sums a series of consecutive natural numbers. This example clearly demonstrates how to define functions in C and expose them for use in Python, serving as a starting point for creating your own native functions.
python setup.py install
python -m unittest tests/test_summation.py
Copyright 2025 Luis A. Ochoa
This project is licensed under the MIT license. See LICENSE for the full license text.