Skip to main content

ctyped

https://github.com/idlesign/ctyped

release lic coverage

Description

Build ctypes interfaces for shared libraries with type hinting

Requires Python 3.10+

  • Less boilerplate;
  • Logical structuring;
  • Basic code generator (.so function -> ctyped function);
  • Useful helpers.
from ctyped.toolbox import Library

# Define library.
lib = Library('mylib.so')

@lib.structure
class Box:

    one: int
    two: str

# Type less with function names prefixes.
with lib.scope(prefix='mylib_'):

    # Describe function available in the library.
    @lib.function
    def some_func(title: str, year: int, box: Box) -> str:
        ...

Documentation

https://ctyped.readthedocs.io/

Metadata

Release files for ctyped 0.8.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 ctyped 0.8.1
File Size Uploaded Provenance Actions
ctyped-0.8.1.tar.gz 9.6 kB Without provenance Details for ctyped-0.8.1.tar.gz

Built distribution (wheel)

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

Total release size: 21.1 kB

Release files / ctyped-0.8.1.tar.gz

Download URL ctyped-0.8.1.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6c97038bc3a6e32b138a086c6b99a674636af2b98b70cbf8963bcfde314f4a9c
BLAKE2b-256 checksum
How to use checksums
6287ea7f1906a63b3fbf5c24d8ee91a26238172f24bfde72e82c580a0348b855
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / ctyped-0.8.1-py3-none-any.whl

Download URL ctyped-0.8.1-py3-none-any.whl
Size 11.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5eebd194ca3d1e3e8bb9c8e47a717dbd34f5168783be07b7b38f5c8f5a9099b0
BLAKE2b-256 checksum
How to use checksums
c481db64b1af1423113f07fe2f462acdb771d0c57680fca9c9521725f4732377
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for ctyped 0.8.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.

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.

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