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 details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for pywin32-ctypes-0.1.1.tar.gz
Algorithm Hash digest
SHA256 32f1c0943a37b2c3296779d9479861cdd2fd4ba306762c34c8bfd46c9aa69e3d
MD5 fb6845037c791c7183d3c13c27b6404e
BLAKE2b-256 fb12fd04d3a1556a6f8493bda861198b252001d258fb4312ee555f7d84544967

See more details on using hashes here.

Provenance

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