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);")
Metadata
Release files for cpylib 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cpylib-0.2.0.tar.gz | 5.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cpylib-0.2.0-cp38-cp38-macosx_13_0_x86_64.whl | CPython 3.8 | CPython 3.8 | macOS 13.0+ x86-64 | Details |
Total release size: 12.1 kB
Release files / cpylib-0.2.0.tar.gz
| Download URL | cpylib-0.2.0.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a0c725c6210c1556c8f8084b37eacb65e312033a3dff3a334417761720dd814c
|
|
BLAKE2b-256 checksum How to use checksums |
d5e6ece0aa9da2427291fd224be0cee3b6d1816fa027a19b685fec7caaf39f61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / cpylib-0.2.0-cp38-cp38-macosx_13_0_x86_64.whl
| Download URL | cpylib-0.2.0-cp38-cp38-macosx_13_0_x86_64.whl |
|---|---|
| Size | 6.3 kB |
| Tags | CPython 3.8 macOS 13.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
ea5fff2641726ab3b3f70933aee39cc2f7732f6c135173e3bcd9de93da27dedd
|
|
BLAKE2b-256 checksum How to use checksums |
ec4cf8183555028e31d9232d9f859d1b3b63c5695c05659b309bbcf7d294141e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|