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

Uploaded source

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