python3-apipkg - Namespace control and lazy-import mechanism

Property Value
Distribution openSUSE Tumbleweed
Repository openSUSE Oss all
Package filename python3-apipkg-1.5-2.1.noarch.rpm
Package name python3-apipkg
Package version 1.5
Package release 2.1
Package architecture noarch
Package type rpm
Category Development/Languages/Python
License MIT
Maintainer -
Download size 19.43 KB
Installed size 29.74 KB
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.
Usage is very simple: you can require 'apipkg' as a dependency or you
can copy paste the <100 Lines of code into your project.


Package Version Architecture Repository
python3-apipkg - - -


Name Value
python(abi) = 3.7


Name Value
python3-apipkg = 1.5-2.1


Type URL
Binary Package python3-apipkg-1.5-2.1.noarch.rpm
Source Package python-apipkg-1.5-2.1.src.rpm

Install Howto

Install python3-apipkg rpm package:

# zypper install python3-apipkg




2019-02-12 - Tomá? Chvátal <>
- Add patch to fix build with pytest newer than 4:
* pytest4.patch
2018-08-05 -
- update to 1.5
- fixed dependencies
* switch to setuptools_scm
* avoid dict iteration (fixes issue on python3)
* preserve __package__ - ths gets us better pep 302 compliance
2017-04-27 -
- Fixed source URL
2017-04-21 -
- Converted to single-spec
- Enabled tests
2016-03-11 -
- update to 1.4:
- revert the automated version gathering
- fix issue2 - adapt tests on Jython
- handle jython __pkgpath__ missabstraction when running python from jar files
- alias modules pointing to unimportable modules will return None for
all their attributes instead of raising ImportError.  This addresses
python3.4 where any call to getframeinfo() can choke on sys.modules
contents if pytest is not installed (because py.test.* imports it).
- introduce apipkg.distribution_version(name) as helper to
obtain the current version number of a package from install metadata
its used by default with the package name
- add an eagerloading option and eagerload automatically
if bpython is used (workaround for their monkeypatching)
- Switch to use .tar.gz sdist instead of zip
- Install LICENSE
- BuildRequires python-setuptools
2012-11-20 -
- Initial version

See Also

Package Description
python3-apparmor-2.13.2-8.1.i586.rpm Python 3 interface for libapparmor functions
python3-apparmor-2.13.2-8.1.x86_64.rpm Python 3 interface for libapparmor functions
python3-appdirs-1.4.3-4.2.noarch.rpm A small Python module for determining platform-specific dirs
python3-applicationinsights-0.11.6-1.2.noarch.rpm Microsoft Application Insights for Python
python3-apptools-4.4.0-1.2.noarch.rpm Application tools in Python
python3-apsw-3.9.2_r1-1.5.i586.rpm Another Python SQLite Wrapper
python3-apsw-3.9.2_r1-1.5.x86_64.rpm Another Python SQLite Wrapper
python3-arabic-reshaper-2.0.14-3.2.noarch.rpm Python module for formatting Arabic sentences
python3-argcomplete-1.9.5-1.1.noarch.rpm Bash tab completion for argparse
python3-argh-0.26.2-1.1.noarch.rpm An argparse wrapper
python3-argon2-cffi-19.1.0-2.1.i586.rpm The Argon2 password hashing algorithm for Python
python3-argon2-cffi-19.1.0-2.1.x86_64.rpm The Argon2 password hashing algorithm for Python
python3-argparse-manpage-1.1-1.2.i586.rpm Build manual page from python's ArgumentParser object
python3-argparse-manpage-1.1-1.2.x86_64.rpm Build manual page from python's ArgumentParser object
python3-args-0.1.0-2.2.noarch.rpm Python command argument interface