PyBank
PyBank is a project which aims to utilize GObjectIntrospection to facilitate the creation of Python bindings.
It is not intended to immediately replace the whole stack of GNOME Python bindings. Instead if will coexist and extend it.
Code
PyBank has been moved to PyGObject, under the girepository directory.
It is available from GNOME git:
git clone git://git.gnome.org/pygobject
cgit link: http://git.gnome.org/cgit/pygobject/tree/
It depends on GObject-Introspection.
Other development branches
sivanderlinden (GSoC '09 student):
git clone git://git.vanderlinden.eu.org/pygobject
Status
PyBank can currently do:
- Load GIRepositories in a dynamic namespace
- GObject class hierarchy
- Methods and function objects
- Constants
- Interfaces
- Enums and flags
- Structures (partially)
- Input and/or output argument marshalling:
- boolean
- u?int(8|16|32|64)?
- u?long
- s?size
- float
- double
- filename
- string
- arrays (of integers, from/to Python tuples only)
- lists?
- structures
- closures
- generic values
- types
- boxed types
- Signal emission / callback connection
Tasklist
- Integrate PyGObject, (signals, properties, enum, flags gained for free)
- Improve metadata support in GObjectIntrospection
- Better de/marshalling
- Ownership transfers
- Structures with non-basic members
- Callbacks
- Hash tables
IRC
#pybank or #introspection
