[Python-ideas] Add a __cite__ method for scientific packages

Steven D'Aprano steve at pearwood.info
Thu Jun 28 20:17:25 EDT 2018


On Thu, Jun 28, 2018 at 05:25:00PM -0400, Andrei Kucharavy wrote:

> As for the list, reserving a __citation__/__cite__ for packages at the same
> level as __version__ is now reserved and adding a citation()/cite()
> function to the standard library seemed large enough modifications to
> warrant searching a buy-in from the maintainers and the community at large.

I think that an approach similar to help/quit/exit is warranted. The 
cite()/citation() function need not be *literally* built into the 
language, it could be an external function written in Python and added 
to builtins by the site.py module.




-- 
Steve


More information about the Python-ideas mailing list