python313-apipkg
Namespace control and lazy-import mechanism


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 CPython 2.7 and 3.4+, Jython and PyPy. It co-operates well with Python's help() system, custom importers (PEP302) and common command line completion tools. Usage is very simple: you can require 'apipkg' as a dependency or you can copy paste the ~200 lines of code into your project.

MIT

cloud_download Downloads

Please select a product to see the available package versions:
Loading...
Loading package downloads...