Entry points are a way for Python packages to advertise objects with some
common interface. The most common examples are console_scripts
entry points,
which define shell commands by identifying a Python function to run.
Groups of entry points, such as console_scripts
, point to objects with
similar interfaces. An application might use a group to find its plugins, or
multiple groups if it has different kinds of plugins.
The entrypoints module contains functions to find and load entry points.
You can install it from PyPI with pip install entrypoints
.
To advertise entry points when distributing a package, see entry_points in the Python Packaging User Guide.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。