apipkg-1.0 controling exported API + lazy importing

holger krekel holger at merlinux.eu
Thu Oct 14 01:13:11 CEST 2010


Hi, 

i just released apipkg-1.0, an around 100 LOC module for easy importing
of export-controled namespaces.  So far, it's successfully used in tox, pylib 
and a few other projects.  

With apipkg you can control the exported namespace of a Python package and
greatly reduce the number of imports for your users.  It is a `small pure python
module`_ that works on virtually all Python versions, including CPython2.3 to
Python3.1, Jython and PyPy.  It co-operates well with Python's ``help()``
system, custom importers (PEP302) and common command line completion tools.

Some more info on the PyPI project page:

    http://pypi.python.org/pypi/apipkg

have fun,
holger


More information about the Python-announce-list mailing list