davidbrochart / nbterm

Jupyter Notebooks in the terminal.
MIT License
745 stars 37 forks source link

Add a main to the package itself #71

Open bartbroere opened 11 months ago

bartbroere commented 11 months ago

I really like using this package, and I was wondering whether we could add a __main__ to the package itself. This would allow people to run python3.11 -m nbterm similar to how that would be possible with python3.11 -m pip ....

When you want to explicitly use a specific Python version, or don't have the Scripts/bin directory on your path this could offer a nice alternative.

bartbroere commented 11 months ago

I just noticed in the README that jpterm is the successor of this project, so feel free to close this PR if you don't plan to add new functionality to it.