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

Alex Walters tritium-list at sdamon.com
Thu Jun 28 23:57:07 EDT 2018


Why not scipy.cite() or scipy.citation()?  I don't see any reason for these
functions to ship with standard python at all.

> -----Original Message-----
> From: Python-ideas <python-ideas-bounces+tritium-
> list=sdamon.com at python.org> On Behalf Of Steven D'Aprano
> Sent: Thursday, June 28, 2018 8:17 PM
> To: python-ideas at python.org
> Subject: Re: [Python-ideas] Add a __cite__ method for scientific packages
> 
> 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
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/



More information about the Python-ideas mailing list