I have seen a few examples of python packages that, after installing from something like pypi, have CLIs associated with the tooling.
Two examples: rasa (e.g. rasa init) or streamlit (e.g. streamlit hello).
I am interested in exploring this for my own packages, with my requirement that I do not want to preface my commands with python. For example, rasa init as shown above, not python rasa init, but admittedly I have no idea how this is happening under the hood.