descriptionwin32 api bindings written in pure python with ctypes
ownermadewokherd@gmail.com
last changeSat, 25 Jul 2009 21:54:02 +0000 (25 16:54 -0500)
content tags
add:
readme
Pywinlite is a set of bindings for the Windows API written in pure Python.

As of right now, it's very incomplete; I am hoping it will become more complete as I start to use it (and, of course, implement the things I need).

If this project is useful or potentially useful to you, drop me a line. I'm currently going by the assumption that no one much cares except me.

I'm working based on these guidelines:
* Try to put logical groups of constants, types, and functions in a single module. MSDN is often a good guide for this but is not perfect.
* Export functions similar to those used in the C API. If it's easy, raise exceptions when errors occur and transform out parameters into return values.
* Wrap ANSI/Unicode functions generically so that one or the other can be selected at runtime. As of right now, this selection can be made one time at the start of a program, and it defaults to Unicode (no automatic ANSI fall-back just yet). ANSI functions can be used by calling winlitecfg.set_ansi(). Do not export A- or W-suffixed functions.
* If the API can be made less awkward by wrapping things in a Python type, do it. Otherwise, don't. Windows are wrapped (because making window classes can be awkward), but cursors are not.
* Release things even if they are only slightly useful, and mark the bits that are incomplete.

Enjoy.

Vincent Povirk
madewokherd@gmail.com
shortlog
2009-07-25 Vincent Povirkadd skeleton for variant type supportmaster
2009-07-25 Vincent Povirkadd process.py
2009-05-22 Vincent Povirkadd gdiplus.py
2009-05-04 Vincent Povirkadd property set support
2009-04-21 Vincent Povirkadd olepicture
2009-04-20 Vincent Povirkadd structured storage bindings
2009-04-20 Vincent Povirkvarious COM support improvements
2009-04-09 Vincent Povirkadd basic COM interface support
2009-01-14 Vincent Povirkwinlitecfg.py: fall back to A functions when W function...
2009-01-10 Vincent Povirkwndclass.py: work around the metaclass syntax differenc...
2009-01-10 Vincent Povirkwndclass.py: fix thread import for python 3.0
2009-01-10 Vincent Povirkwndclass.py: syntax fixes for python 3.0
2008-11-30 Vincent Povirkadd globalmem.py
2008-11-30 Vincent Povirkwndclass.txt: document the new window creation process
2008-11-29 Vincent Povirkwndclass.py: revamp so that system-defined classes...
2008-11-29 Vincent Povirkwndclass.py: fix an acquire() without a release()
...
heads
14 years ago master
15 years ago mob