Create and manipulate C data types from Python
python-ctypes is a python module to create and manipulate C data types in
Python, and to call functions in dynamic link libraries/shared dlls.
It allows wrapping these libraries in pure Python.
I added support to run ctypes from a CVS sandbox without the need to
install the package. This even works for different Python versions
on the same machine, or different machines sharing the same directory.
This behaviour is implemented by the _ctypes.py file in this
directory. When imported, it replaces itself in sys.modules by the
correct _ctypes.pyd / _ctypes.so file from the platform specifi
ctypes is a ffi (Foreign Function Interface) package for Python.
It allows to call functions exposed from dlls/shared libraries and
has extensive facilities to create, access and manipulate simpole
and complicated C data types transparently from Python - in other
words: wrap libraries in pure Python.
ctypes runs on Windows, Windows CE, MacOS X, Linux, Solaris,
2006-11-07 Thomas Heller <email@example.com>
* Fixed the _ctypes.py and _ctypes_test.py loader modules to work
independend of the cwd.
2006-10-20 Thomas Heller <firstname.lastname@example.org>
* Replaced the mechanism to run ctypes from the SVN sandbox: a
_ctypes.py file at top-level loads the _ctypes.pyd / _ctypes.so
extension module from the platform specific build directory
Copyright (c) 2000 - 2006 Thomas Heller
Permission is hereby granted, free of charge, to any
- Memory leak in the _pointer_type_cache dictionary since types are
Browse inside python-ctypes-1.0.2-3.el5.i386.rpm
Results 1 - 1 of 1Search over 15 billion files
© 1997-2017 FileWatcher.com