3 ms·
I think the issue here is that most commandline tools of name X are in an apt/pip package named X. For huggingface, the tool is called huggingface-cli, but the
by londons_explore 3y ago
I think the issue here is that most commandline tools of name X are in an apt/pip package named X.
For huggingface, the tool is called huggingface-cli, but the package is called huggingface_hub[cli].
IMO, thats bad naming. If you make a tool called X, just publish it in a package called X.
- maxcoder4 3y agoIn many cases yes, but: What if you publish multiple tools in a single package? What if you publish a package for a web service called X, but also include a tool for it called xcli? What if your package is primarily a library, but you also include an optional cli (like in this case, probably)? I think what's worse is publishing a package under a different name than its root namespace.
- londons_explore 3y ago> What if you publish multiple tools in a single package? I question if one should ever do that... Packages are free... Just make one package per binary, and then a metapackage for those who want to install the whole suite.