Skip to main content

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

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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for pywin32-ctypes-0.1.0.tar.gz
Algorithm Hash digest
SHA256 eac24c214627876e019034e15166a31952fc5519fa8fdb6448422321f1f86324
MD5 f5f40c08af08d4f5ce109a2a21f772df
BLAKE2b-256 ad9543d3ebf13cf1440e527f4669a7392f3aa70636cde670507af230581014af

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