Skip to main content

ctypespec

ctypespec is a Python utility that parses C language type definitions and automatically generates equivalent ctypes structures. It is useful when integrating C libraries into Python projects through the ctypes module.

Features

  • Parses C type definitions, including structs and typedefs.
  • Converts C declarations to Python ctypes classes.
  • Utilizes AST parsing and Clang tooling for accurate analysis.

Installation

Install from source using pip:

pip install ctypespec

Metadata

Release files for ctypespec 0.1.11

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

Source distribution (sdist)

Source distribution for ctypespec 0.1.11
File Size Uploaded Provenance Actions
ctypespec-0.1.11.tar.gz 14.0 kB With provenance Details for ctypespec-0.1.11.tar.gz

Built distribution (wheel)

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

Total release size: 27.7 kB

Release files / ctypespec-0.1.11.tar.gz

Download URL ctypespec-0.1.11.tar.gz
Size 14.0 kB
Tags Source
SHA-256 checksum
How to use checksums
14bc8a5f7d26fc580650c71237b1dbc4baa4336c8ef3b0e62ac7d6f601853a05
BLAKE2b-256 checksum
How to use checksums
9561d56531fb49dadc543403840bfc78a0864daf26c8927c997ba0b76ad0fbb5
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 30, 2026.

Transparency log

Release files / ctypespec-0.1.11-py3-none-any.whl

Download URL ctypespec-0.1.11-py3-none-any.whl
Size 13.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb203f7253e075ef685a507c3071ac096f8aeb70666a4c34887f6c78329f7f98
BLAKE2b-256 checksum
How to use checksums
4c6b44630a57dc660f3fb4b75dc3f2bd144058f82de64c66f6ef3d3c08b8b0c4
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 30, 2026.

Transparency log

Security for ctypespec 0.1.11

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 ctypespec-0.1.11.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 30, 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