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.0.0.tar.gz (127.2 kB view details)

Uploaded Source

Built Distributions

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

Uploaded Python 3 Windows ARM64

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

Uploaded Python 3 Windows x86-64

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

Uploaded Python 3 Windows x86

File details

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

File metadata

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

File hashes

Hashes for ctwin32-2.0.0.tar.gz
Algorithm Hash digest
SHA256 42af7970d5fdb6362846f3f4ed237114d6fecb960dc3e3d639c85f42b25438fb
MD5 3ed36aafc809d7d5e49d281863e5cf09
BLAKE2b-256 5cc699ef2997664e56f1726a547cc5ed2b2b09200f34a79fcefeaae88f067ba0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ctwin32-2.0.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.0.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 9b01291c5e2313a377e2ddffb2d85143b01bd255f0a9ecde9ece4546e7b6cb74
MD5 84d56e1e2dfef35cf5e96622a196a63e
BLAKE2b-256 f22b1c8ea73f01bed919e85ede551d2847245c782530b7354dbad60bd4b9a8f8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ctwin32-2.0.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.0.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 ae39d1b19f3649be62d2dd78b0b89df3c06256d24a756d187a3994fb92049d87
MD5 4e524b7e6c721964e38483676423bcf8
BLAKE2b-256 978ff66e885b24210bd9e88fa5094d9e6026a23e4ff3a78a460cab195f90d4fc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ctwin32-2.0.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.0.0-py3-none-win32.whl
Algorithm Hash digest
SHA256 ae2b35e3e0b5191b5c8167f2f7a9070f4d24a5a400482a53ab6e2ca8372ebb24
MD5 95049f068b5dbeae675120d0cc115af5
BLAKE2b-256 5891f77c17bfa4fab5b34415cf1867bcd684ff1ba6e8205741e07cfdff4ed5e7

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