Skip to main content

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

Project description

https://travis-ci.org/enthought/pywin32-ctypes.png https://ci.appveyor.com/api/projects/status/62xqtrro26gw3l4x/branch/master?svg=true https://codecov.io/github/enthought/pywin32-ctypes/coverage.svg?branch=master Documentation Status

A reimplementation of pywin32 that is pure python. The default behaviour will try to use cffi (>= 1.3.0), if available, and fall back to using ctypes. Please note that there is no need to have a compiler available on installation or at runtime.

Usage

Example:

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

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

Development setup

The following should be good enough:

pip install -r dev_requirements.txt
python install -e

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

Uploaded Source

File details

Details for the file pywin32-ctypes-0.1.2.tar.gz.

File metadata

File hashes

Hashes for pywin32-ctypes-0.1.2.tar.gz
Algorithm Hash digest
SHA256 4820b830f42e6889d34142bcd07b3896018c3620d8c31f5e13b72caf1f4d1d0f
MD5 0752848e6311c59f27f9a473d12d5ede
BLAKE2b-256 3fffda0e68961128f36b5df94d2442fede4e7c0401488e41db0016278822b01c

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