semvec/pypi-packages huggingface dataset:
py2c 0.0.4
Tools to bridge python and C
License: mit

# py2c

Tools to bridge python and C.

To install:	```pip install py2c```

There's tools to generate Python wrappers for C code:

```python
    >>> c_filename = 'example.c'
    >>> generate_python_wrappers(c_filename)  # doctest: +SKIP
```

There's tools to generate C code from Python code:

```python
    >>> tree = ast.parse(source)  # doctest: +SKIP
    >>> codegen = CCodeGenerator()  # doctest: +SKIP
    >>> c_code = codegen.generate(tree)  # doctest: +SKIP
```