entry-points

Domain: Python Packaging

🎯 Motivation

Entry points advertise callable functions inside your package so other tools can discover and invoke them without importing everything.

πŸ“‹ Concrete Example

In [project.scripts] you write mytool = "mypkg.cli:main" so pip install creates a mytool command.

πŸ”— Analogy

Entry points are a phone directory β€” other programs look up your function’s number and call it by name.