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.11+

  • 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 1.0.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 ctyped 1.0.0
File Size Uploaded Provenance Actions
ctyped-1.0.0.tar.gz 14.3 kB Without provenance Details for ctyped-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 30.9 kB

Release files / ctyped-1.0.0.tar.gz

Download URL ctyped-1.0.0.tar.gz
Size 14.3 kB
Tags Source
SHA-256 checksum
How to use checksums
54434313ee2fb7f26b21f076f89fff547147f57f8bea5312f8653280ab693a40
BLAKE2b-256 checksum
How to use checksums
5f8cd1fa652ebc1a8d347ccf11b124fc73190d17a180ebd580029c0472e59ac1
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-1.0.0-py3-none-any.whl

Download URL ctyped-1.0.0-py3-none-any.whl
Size 16.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
75ec508b5f1db68a3fde1c203dcd61e846ec85e7e74037cc78580ee083e434b4
BLAKE2b-256 checksum
How to use checksums
f25785ca429e05167a66d2cb30d077a35fd99e5ca00b10df17074d3c623135dd
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 1.0.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.

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