Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> python >> python3-reentry
nabia  ] [  aramo  ]
[ 原始碼: reentry  ]

套件: python3-reentry (1.3.1-1)

plugin manager based on setuptools entry points (Python 3)

Setuptool's entry point system is convenient to use for plugin based Python applications. It allows separate Python packages to act as plugins to a host package, making it easy for the host to find and iterate over the relevant data structures from plugins.

However simply importing setuptools scales badly with the number of installed distributions and can be very slow for moderately complex environments (~ 0.5 s). Finding and loading of plugins on the other hand is time-critical in cases like commandline tools loading subcommands, where 100 ms are a noticeable delay.

Setuptools's pkg_resources is slow, because it verifies dependencies are installed correctly for all distributions present in the environment on import. This allows entry points to have additional requirements.

Reentry forgoes this dependency check for entry points without such 'extras' dependencies and thereby manages to be fast and scale better, with the amount of installed plugins, not installed Python packages in general.

This package installs the library for Python 3.

其他與 python3-reentry 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-click
    Wrapper around optparse for command line utilities - Python 3.x
  • dep: python3-pkg-resources
    Package Discovery and Resource Access using pkg_resources
  • dep: python3-six
    Python 2 and 3 compatibility library (Python 3 interface)

下載 python3-reentry

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 15.6 kB76 kB [文件列表]