c2pip
c2pip is Buildozer for C -> pip. It takes any C header or source file, automatically generates the CPython wrapper boilerplate (PyArg_ParseTuple, PyMethodDef), sets up a robust pyproject.toml with zero PyPI validation headaches, compiles native wheels, and uploads them straight to PyPI.
The 3-Step Flow
c2pip init _math.h --name dan-pyda --author "Sampath"
c2pip build
c2pip publish
Features
Automated C Parsing & Wrapper Generation: Scans C headers/functions and constructs _wrapper.c natively. PyPI Proofing: Enforces strict metadata formatting (license = {text="MIT"}, proper classifiers, URLs, and a mandatory README.md) so you never fight a PyPI validation error again. Buildozer Simplicity: One tool to initialize, compile binary wheels, and publish.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file c2pip-0.1.0.tar.gz.
File metadata
- Download URL: c2pip-0.1.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f3d598f4f4e6d2c97b67851731d3256ea6288a3685d503c4d0ece2985183cae
|
|
| MD5 |
83322364edb89019007dbeb6754d8086
|
|
| BLAKE2b-256 |
44ab28acb03ea5ea377fee44312690123c1037d579515a4c0074fbc9c9b0a30c
|