A Python package for executing C code
Project description
My C Library
My C Library is a Python package that allows you to execute C code from within Python. It uses a C extension to provide fast execution of C code, making it suitable for performance-critical applications. Url code: https://github.com/hqmdokkai/cpylib.git
Features
- Execute arbitrary C code from Python.
- Lightweight and easy to use.
- Fast execution due to native C performance.
Installation
You can install the package using pip:
pip install cpylib
Usage Here's a quick example of how to use the library:
import cpylib
#Execute C code to print the sum of 5 and 1
cpylib.c("printf(\"%d\\n\", 5 + 1);")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cpylib-0.2.0.tar.gz.
File metadata
- Download URL: cpylib-0.2.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0c725c6210c1556c8f8084b37eacb65e312033a3dff3a334417761720dd814c
|
|
| MD5 |
bee6ecb0153332cd985d7e6c84a83f1b
|
|
| BLAKE2b-256 |
d5e6ece0aa9da2427291fd224be0cee3b6d1816fa027a19b685fec7caaf39f61
|
File details
Details for the file cpylib-0.2.0-cp38-cp38-macosx_13_0_x86_64.whl.
File metadata
- Download URL: cpylib-0.2.0-cp38-cp38-macosx_13_0_x86_64.whl
- Upload date:
- Size: 6.3 kB
- Tags: CPython 3.8, macOS 13.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea5fff2641726ab3b3f70933aee39cc2f7732f6c135173e3bcd9de93da27dedd
|
|
| MD5 |
4cbd47321212a55fff34c42ee3a769fe
|
|
| BLAKE2b-256 |
ec4cf8183555028e31d9232d9f859d1b3b63c5695c05659b309bbcf7d294141e
|