Package Info

python-apipkg


Namespace control and lazy-import mechanism


Development/Languages/Python

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.


License: MIT
URL: https://github.com/pytest-dev/apipkg/

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
2.1.0-bp154.1.66 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python3-apipkg
1.4-bp153.1.38 info GA Release 2021-03-05 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-apipkg
  • python3-apipkg
1.4-bp152.3.16 info GA Release 2020-04-17 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-apipkg
  • python3-apipkg
1.4-bp151.1.1 info GA Release 2019-07-17 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-apipkg
  • python3-apipkg
1.4-bp150.1.2 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-apipkg
  • python3-apipkg