Access selected win32 APIs through ctypes
Project description
ctwin32
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.
While there is already another Python module that does something very similar to ctwin32 (pywin32-ctypes), it has a different purpose (namely to serve the internal needs of its creator).
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file ctwin32-2.7.1.tar.gz
.
File metadata
- Download URL: ctwin32-2.7.1.tar.gz
- Upload date:
- Size: 189.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ffe889d1ba9243e46e17c4bb2d9898ec096b068cf7f30e26385940f653d07db |
|
MD5 | 3ba74bc45ae006e54b0d37f745f54a7f |
|
BLAKE2b-256 | f83ec2121d1c48f5725b73e7f755148907b011ed37394e7e9ccafe1f3f7d9ade |
File details
Details for the file ctwin32-2.7.1-py3-none-win_arm64.whl
.
File metadata
- Download URL: ctwin32-2.7.1-py3-none-win_arm64.whl
- Upload date:
- Size: 162.3 kB
- Tags: Python 3, Windows ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 819967cdb6678a1b2b4df07b38de72c878742a3336e0efc71e77a511abeaa53c |
|
MD5 | 2352cfac10703d1595c22cb0bfff3ebb |
|
BLAKE2b-256 | d3a9140b7f897dae493e4a18dbed44ddfe92d17183d1f4a95d8ddc555c53c070 |
File details
Details for the file ctwin32-2.7.1-py3-none-win_amd64.whl
.
File metadata
- Download URL: ctwin32-2.7.1-py3-none-win_amd64.whl
- Upload date:
- Size: 162.3 kB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc8f23b710220f990d09870e189946ad8a2aae4ff80481e9c50e080017fe6913 |
|
MD5 | 0ca68cdf375e6e21c28d76b6a20caac4 |
|
BLAKE2b-256 | 823fd0aff2d59befe902fd2763764e0a5eb5ae6276d7b6628f15b05ef3fa8534 |
File details
Details for the file ctwin32-2.7.1-py3-none-win32.whl
.
File metadata
- Download URL: ctwin32-2.7.1-py3-none-win32.whl
- Upload date:
- Size: 162.3 kB
- Tags: Python 3, Windows x86
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18b23a5e3d3ba997a2791609d5323ac54dfaa4f0548feb1de299b970e04071f5 |
|
MD5 | b99e2439ae190c1a33148059886e1869 |
|
BLAKE2b-256 | 296b2eaf1592fb23a03b51a1012c517a41432fb97d2b0ba0cd4a7deabd404d5d |