Apipkg

Latest version: v3.0.2

Safety actively analyzes 688724 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

1.5

----------------------------------------

- switch to setuptools_scm
- move to github
- fix up python compat matrix
- avoid dict iteration (fixes issue on python3)
- preserve __package__ - ths gets us better pep 302 compliance

1.4

----------------------------------------

- revert the automated version gathering

1.3

----------------------------------------

- 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)

1.2

----------------------------------------

- Allow to import from Aliasmodules (thanks Ralf Schmitt)
- avoid loading __doc__ early, so ApiModule is now fully lazy

1.1

----------------------------------------

- copy __doc__ and introduce a new argument to initpkg()
(thanks Ralf Schmitt)

- don't use a "0" default for __version__

1.0

----------------------------------------

- make apipkg memorize the absolute path where a package starts
importing so that subsequent chdir + imports won't break.

- allow to alias modules

- allow to use dotted names in alias specifications (thanks Ralf
Schmitt).

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.