Skip to content

Investigate entrypoints instead of pkgutils.itermodules() #2

@Carreau

Description

@Carreau

https://pypi.org/project/entrypoints/ was written by Thomas Kluyver to speedup and simplify finding and loading entrypoints.

pkgutils.itermodules() can be slow as it has to enumerate all the packages IIRC, so entrypoints might be a good alternative. It also allow to have backends as part of a package with a different name which is convenient for flexibility.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions