Skip to main content
Help us improve Python packaging – donate today!

Ctypes made easy.

Project Description

Simple function-wrapping API with ctypes.


Replace this:

prototype = ctypes.WINFUNCTYPE(wintypes.HANDLE, wintypes.UINT, wintypes.HANDLE)
paramflags = (1, "uFormat"), (1, "hMem")
SetClipboardData = prototype(("SetClipboardData", user32), paramflags)
SetClipboardData.errcheck = null_errcheck

With this:

SetClipboardData = pywrap.wrap_winapi(name="SetClipboardData",
                                            Parameter("uFormat", wintypes.UINT),
                                            Parameter("hMem", wintypes.HANDLE)

Release history Release notifications

This version
History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pywrap-0.1.0-py2.py3-none-any.whl (3.0 kB) Copy SHA256 hash SHA256 Wheel 2.7 Dec 21, 2014 (4.5 kB) Copy SHA256 hash SHA256 Source None Dec 21, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page