{"id":16284325,"url":"https://github.com/takluyver/entrypoints","last_synced_at":"2025-04-10T06:18:32.153Z","repository":{"id":31395027,"uuid":"34958204","full_name":"takluyver/entrypoints","owner":"takluyver","description":"Discover and load entry points from installed packages","archived":false,"fork":false,"pushed_at":"2024-12-03T13:46:49.000Z","size":73,"stargazers_count":74,"open_issues_count":4,"forks_count":31,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-31T16:14:04.498Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://entrypoints.readthedocs.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/takluyver.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-05-02T18:12:08.000Z","updated_at":"2025-01-20T01:43:15.000Z","dependencies_parsed_at":"2024-12-24T13:08:30.516Z","dependency_job_id":"60ae6391-53c2-47b9-92bc-1767eb2ddb9c","html_url":"https://github.com/takluyver/entrypoints","commit_stats":{"total_commits":58,"total_committers":13,"mean_commits":4.461538461538462,"dds":0.6206896551724138,"last_synced_commit":"ebdf2d8edc9921427ea07688851999796093c240"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takluyver%2Fentrypoints","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takluyver%2Fentrypoints/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takluyver%2Fentrypoints/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takluyver%2Fentrypoints/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/takluyver","download_url":"https://codeload.github.com/takluyver/entrypoints/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248166863,"owners_count":21058481,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T19:19:02.388Z","updated_at":"2025-04-10T06:18:32.129Z","avatar_url":"https://github.com/takluyver.png","language":"Python","readme":"**This package is in maintenance-only mode.** New code should use the\n`importlib.metadata module \u003chttps://docs.python.org/3/library/importlib.metadata.html\u003e`_\nin the Python standard library to find and load entry points.\n\nEntry points are a way for Python packages to advertise objects with some\ncommon interface. The most common examples are ``console_scripts`` entry points,\nwhich define shell commands by identifying a Python function to run.\n\n*Groups* of entry points, such as ``console_scripts``, point to objects with\nsimilar interfaces. An application might use a group to find its plugins, or\nmultiple groups if it has different kinds of plugins.\n\nThe **entrypoints** module contains functions to find and load entry points.\nYou can install it from PyPI with ``pip install entrypoints``.\n\nTo advertise entry points when distributing a package, see\n`entry_points in the Python Packaging User Guide\n\u003chttps://packaging.python.org/guides/distributing-packages-using-setuptools/#entry-points\u003e`_.\n\nThe ``pkg_resources`` module distributed with ``setuptools`` provides a way to\ndiscover entrypoints as well, but it contains other functionality unrelated to\nentrypoint discovery, and it does a lot of work at import time.  Merely\n*importing* ``pkg_resources`` causes it to scan the files of all installed\npackages. Thus, in environments where a large number of packages are installed,\nimporting ``pkg_resources`` can be very slow (several seconds).\n\nBy contrast, ``entrypoints`` is focused solely on entrypoint discovery and it\nis faster. Importing ``entrypoints`` does not scan anything, and getting a\ngiven entrypoint group performs a more focused scan.\n\nWhen there are multiple versions of the same distribution in different\ndirectories on ``sys.path``, ``entrypoints`` follows the rule that the first\none wins.  In most cases, this follows the logic of imports.  Similarly,\nEntrypoints relies on ``pip`` to ensure that only one ``.dist-info`` or\n``.egg-info`` directory exists for each installed package.  There is no reliable\nway to pick which of several `.dist-info` folders accurately relates to the\nimportable modules.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakluyver%2Fentrypoints","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftakluyver%2Fentrypoints","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakluyver%2Fentrypoints/lists"}