Skip to main content

A reimplementation of pywin32 that is pure python (uses ctypes).

Project description

A reimplementation of pywin32 that is pure python (uses ctypes).

Example of usage:

# Equivalent to 'import win32api' from pywin32.
from win32ctypes import win32api

win32api.LoadLibraryEx(sys.executable, 0, win32api.LOAD_LIBRARY_AS_DATAFILE)

Note: this implements only a very small subset of pywin32, for internal needs at Enthought. We do welcome additional features, though.

Development setup

The following should be good enough:

pip install -r dev_requirements.txt
python setup.py develop

Note: because of the pywin32 dependency for tests, you most likely want to create a virtualenv with –system-site-packages if you use virtualenv.

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

pywin32-ctypes-0.0.1.tar.gz (6.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page