Skip to main content

Wrapper generator from C to scripting languages, currently supporting LuaJIT FFI only. It uses clang via c_api_extract for parsing and understanding C header files.

Installing

inclua is available on PyPI and may be installed using pip:

$ pip install inclua

Usage

On your shell:

$ inclua <input> [-m <module_name>] [-p <pattern>...] [-n <namespace>...] [-g] [-d <definitions_file> | --no-metatypes] [-- <clang_args>...]

Check out the help for more information on arguments:

$ inclua -h

It is recommended to pass -I <path to clang headers> to clang to correctly include some standard headers like stddef.h and stdbool.h.

Check out the examples folder for an example of usage.

Metadata

Release files for inclua 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for inclua 0.2.0
File Size Uploaded Provenance Actions
inclua-0.2.0.tar.gz 14.6 kB Without provenance Details for inclua-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for inclua 0.2.0
File Interpreter ABI Platform Actions
inclua-0.2.0-py3-none-any.whl Python 3 none any Details for inclua-0.2.0-py3-none-any.whl

Total release size: 42.6 kB

Release files / inclua-0.2.0.tar.gz

Download URL inclua-0.2.0.tar.gz
Size 14.6 kB
Tags Source
SHA-256 checksum
How to use checksums
62aa46b0955eb6d2596c7df63e6962164d3b7c6dd523ccf1116198265a9e6252
BLAKE2b-256 checksum
How to use checksums
fcb7af40cc4911e1d0eb72b46555f29693192ca16fc5b2adc96002aa496c2c2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

Release files / inclua-0.2.0-py3-none-any.whl

Download URL inclua-0.2.0-py3-none-any.whl
Size 28.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1bc0c08def661f244ea94e85a0303352d9b9d4f00ab17a7a50cc8c30635e42f4
BLAKE2b-256 checksum
How to use checksums
86f1ee34aefbc409c2b50a387e55109442cf6d3f0709a7a8669e4f93db767983
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

Security for inclua 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

0.1.3

0.1.0

0.0.3

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page