Developer messages on install (pip, poetry, etc.)

Good day! I have been developing in Node for a few months now for non-Python projects (legacy project) and I found a NPM feature which could be helpful to developers of Python libraries. When you install a NPM package, some show a message from the author after installation (see example below). ------ Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library! The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -) ------ Is it possible to adopt this? My proposal is to add an entry in the package metadata which I believe is safer and easier to implement compared to running a post-installation script. It is up for developers of package managers (pip, poetry, etc.) to actually print these on the terminal. I appreciate comments and feedback. Regards, Ronie

I think that feature is best discussed in the packaging SIG rather than here. This is for proposed language and standard library features, while this will, I think, be a packaging feature. Unfortunately I don't know where the right place to discuss packaging proposals like this is. Perhaps try here? https://discuss.python.org/c/packaging There may be a mailing list as well. -- Steven

The OP might be interested in this related proposal, "pip thank": https://github.com/pypa/pip/issues/5970 --- Ricky. "I've never met a Kentucky man who wasn't either thinking about going home or actually going home." - Happy Chandler On Mon, Mar 23, 2020 at 5:37 AM Steven D'Aprano <steve@pearwood.info> wrote:

On 3/23/20 1:01 AM, Ronie Martinez wrote:
Isn't this the same feature that caused a backlash and a ban? https://www.zdnet.com/article/npm-bans-terminal-ads/ I'm not an npm user, so maybe I'm conflating two different things. --Ned.

Hi Ned, That is a very different issue as the ads are similar to what we see when browsing. These ads are commonly provided by 3rd party ad networks and not directly related to the package maintainer. As for this proposal, think of it as links, messages, or announcements specific to the package/library. We install these packages using pip, poetry, etc. but we don't see anything in the terminal that gives them credit for their work. Regards, Ronie On Mon, Mar 23, 2020 at 9:59 PM Ned Batchelder <ned@nedbatchelder.com> wrote:

I think that feature is best discussed in the packaging SIG rather than here. This is for proposed language and standard library features, while this will, I think, be a packaging feature. Unfortunately I don't know where the right place to discuss packaging proposals like this is. Perhaps try here? https://discuss.python.org/c/packaging There may be a mailing list as well. -- Steven

The OP might be interested in this related proposal, "pip thank": https://github.com/pypa/pip/issues/5970 --- Ricky. "I've never met a Kentucky man who wasn't either thinking about going home or actually going home." - Happy Chandler On Mon, Mar 23, 2020 at 5:37 AM Steven D'Aprano <steve@pearwood.info> wrote:

On 3/23/20 1:01 AM, Ronie Martinez wrote:
Isn't this the same feature that caused a backlash and a ban? https://www.zdnet.com/article/npm-bans-terminal-ads/ I'm not an npm user, so maybe I'm conflating two different things. --Ned.

Hi Ned, That is a very different issue as the ads are similar to what we see when browsing. These ads are commonly provided by 3rd party ad networks and not directly related to the package maintainer. As for this proposal, think of it as links, messages, or announcements specific to the package/library. We install these packages using pip, poetry, etc. but we don't see anything in the terminal that gives them credit for their work. Regards, Ronie On Mon, Mar 23, 2020 at 9:59 PM Ned Batchelder <ned@nedbatchelder.com> wrote:
participants (4)
-
Ned Batchelder
-
Ricky Teachey
-
Ronie Martinez
-
Steven D'Aprano