Skip to main content

PyClibrary

https://github.com/MatthieuDartiailh/pyclibrary/workflows/Continuous%20Integration/badge.svg https://github.com/MatthieuDartiailh/pyclibrary/workflows/Documentation%20building/badge.svg https://codecov.io/gh/MatthieuDartiailh/pyclibrary/branch/master/graph/badge.svg Documentation Status Latest Version Supported Python versions Wheel Status License

C parser and bindings automation for Python.

Fork of https://launchpad.net/pyclibrary.

PyCLibrary includes 1) a pure-python C parser and 2) an automation library that uses C header file definitions to simplify the use of c bindings. The C parser currently processes all macros, typedefs, structs, unions, enums, function prototypes, and global variable declarations, and can evaluate typedefs down to their fundamental C types + pointers/arrays/function signatures. Pyclibrary can automatically build c structs/unions and perform type conversions when calling functions via cdll/windll.

PyCLibrary tries to present a ffi agnostic API to allow using different bindings. For the time being only the ctypes based backend is implemented but a cffi backend should be possible to implement (the rational for it would be that the CParser can be used on raw header files which are not always well supported by the cffi parser).

However if you need to manipulate the C object coming back from the library which cannot simply be mapped to Python object your code will most likely not be backend independent so it is discouraged to try to switch between backends.

Metadata

Release files for pyclibrary 0.4.1

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

Source distribution (sdist)

Source distribution for pyclibrary 0.4.1
File Size Uploaded Provenance Actions
pyclibrary-0.4.1.tar.gz 584.0 kB With provenance Details for pyclibrary-0.4.1.tar.gz

Built distribution (wheel)

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

Total release size: 1.1 MB

Release files / pyclibrary-0.4.1.tar.gz

Download URL pyclibrary-0.4.1.tar.gz
Size 584.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5c33fd723d79b5f77f442c26fa0fb50786813622f037515864313caad9705760
BLAKE2b-256 checksum
How to use checksums
5f055b9bc976951ff6661b29b498768f6f056414f5c13c914e52d6749acb4b7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Release files / pyclibrary-0.4.1-py3-none-any.whl

Download URL pyclibrary-0.4.1-py3-none-any.whl
Size 563.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
79064104548ceab7b6182a9c12bd434f8b3ccbf29f901847969aaf6e4606d2a1
BLAKE2b-256 checksum
How to use checksums
1ddb53d3e59e7e4e86ce4760ebb71cb0754b6a94f353e9dba1a5ea591e721853
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Security for pyclibrary 0.4.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pyclibrary-0.4.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

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.

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