Metadata-Version: 2.4
Name: cexec
Version: 1.0.4
Summary: The C Executor in Python. Compile and run C code in real-time
Author: Suleiman
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Classifier: Topic :: Software Development :: Compilers
Classifier: Intended Audience :: Developers
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: license
Dynamic: license-file
Dynamic: requires-python
Dynamic: summary

'# cexec — The C Executor in Python

**cexec** is a lightweight Python library that allows you to **compile and run C code on the fly** directly from Python.

## ✨ Features

*   **Zero Dependencies**: Uses only the Python standard library.
*   **On-the-fly Execution**: Compile and run C code in a single function call.
*   **Windows Support**: Optimized for 64-bit Windows systems.

## 🚀 Quick Start

Make sure you have Python 3.6+ installed on **Windows** (this package currently supports only Windows).

```python
import cexec

c_code = """
#include <stdio.h>

int main() {
    printf("Hello from C Executor!\\n");
    return 0;
}
"""

output = cexec.execute(c_code)
print(output)
```

⚠️ Important Notes

· Windows Only: This package uses tcc.exe, which is a Windows binary. It will not work on Linux, macOS, or Android.

📦 Installation

```bash
pip install cexec
```

📄 License

This project is distributed under the MIT License. See the LICENSE file for details.'
