Skip to main content

Access selected win32 APIs through ctypes

Project description

ctwin32

PyPI - Version PyPI - Python Version License - MIT


ctwin32 is a pure Python module, that wraps some Windows APIs (win32) by using ctypes. Since it is my personal playground, the selection of supported APIs and the way those are wrapped are solely dictated by my needs and preferences.

ctwin32 is definitely not a replacement for pywin32, although it serves that purpose for me (in conjunction with comtypes). Compared with pywin32 the coverage of ctwin32 is downright tiny.

See the samples directory for several instances of how ctwin32 can be used.


Note: Even though ctwin32 is a pure Python module, it can of course only be used on Windows. Therefore, the wheel packages provided are intentionally tagged with the x86, x64 and and arm64 Windows platform tags (in terms of content, those are the same). This is just to keep pip from installing them on a non-Windows OS.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ctwin32-2.1.0.tar.gz (146.4 kB view details)

Uploaded Source

Built Distributions

ctwin32-2.1.0-py3-none-win_arm64.whl (141.8 kB view details)

Uploaded Python 3 Windows ARM64

ctwin32-2.1.0-py3-none-win_amd64.whl (141.8 kB view details)

Uploaded Python 3 Windows x86-64

ctwin32-2.1.0-py3-none-win32.whl (141.8 kB view details)

Uploaded Python 3 Windows x86

File details

Details for the file ctwin32-2.1.0.tar.gz.

File metadata

  • Download URL: ctwin32-2.1.0.tar.gz
  • Upload date:
  • Size: 146.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for ctwin32-2.1.0.tar.gz
Algorithm Hash digest
SHA256 88dbbc961e2da9af14ee651d0dfebd8cf320700638ca5bacabfb443aa5f20600
MD5 5e64064d0aa55627b5f590abe0fc81a0
BLAKE2b-256 1dc278430eb045c9d80b21a7103b7202284523672cf7967a699c69c6c5a9f65e

See more details on using hashes here.

File details

Details for the file ctwin32-2.1.0-py3-none-win_arm64.whl.

File metadata

  • Download URL: ctwin32-2.1.0-py3-none-win_arm64.whl
  • Upload date:
  • Size: 141.8 kB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for ctwin32-2.1.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 07a776a102c117b6370d02bb1af4f264758935b12d7157b3f861c1c59b6a0260
MD5 e3ea6e244bac8fef094405fc25dcab34
BLAKE2b-256 aca64e3af86f9494986833ee5a3e2490626b7ba0f19a8b98f471063be650febe

See more details on using hashes here.

File details

Details for the file ctwin32-2.1.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: ctwin32-2.1.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 141.8 kB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for ctwin32-2.1.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 14a3daa464f2975785d9aecb69ed4c56f34025dfb4baede3baed1955fa289624
MD5 f10b66bbc9857b654d445ae962afff7d
BLAKE2b-256 c2ca89ffee9027547051d21ab84ab79fa73c503d4cc199241f5ccf5b49f1dbf6

See more details on using hashes here.

File details

Details for the file ctwin32-2.1.0-py3-none-win32.whl.

File metadata

  • Download URL: ctwin32-2.1.0-py3-none-win32.whl
  • Upload date:
  • Size: 141.8 kB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for ctwin32-2.1.0-py3-none-win32.whl
Algorithm Hash digest
SHA256 1665d66a10c73f7512e31814b4884f670718682f277b310f1fb2dae8b6669f78
MD5 5858d05e529c7ec83633321802358d94
BLAKE2b-256 b3bbaef1f6d3f741d1174448051ffe7c7be57d7f700812d387f12d29cd9da106

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page