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.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
2.1.0-bp154.1.66 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
1.4-bp153.1.38 info | GA Release | 2021-03-05 | 15 SP3 |
|
|
1.4-bp152.3.16 info | GA Release | 2020-04-17 | 15 SP2 |
|
|
1.4-bp151.1.1 info | GA Release | 2019-07-17 | 15 SP1 |
|
|
1.4-bp150.1.2 info | GA Release | 2018-07-30 | 15 |
|
|