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

pylang pylang3 at gmail.com
Thu Jun 28 17:08:11 EDT 2018

​> Are there other languages or software communities that do something like
this? It would be nice not to have to invent this wheel. ​

While I do not use R regularly, I understand their community is largely
academic-driven, and citations are strongly encouraged as seen in their


Here is an example use of their `citation()` function:


    > citation()

    To cite R in publications use:

        R Core Team (2013). R: A language and environment for statistical
        computing. R Foundation for Statistical Computing, Vienna, Austria.
        URL http://www.R-project.org/.

    A BibTeX entry for LaTeX users is

            title = {R: A Language and Environment for Statistical
            author = {{R Core Team}},
            organization = {R Foundation for Statistical Computing},
            address = {Vienna, Austria},
            year = {2013},
            url = {http://www.R-project.org/},

Calling the `citation()` function generates a BibTex output (
http://www.bibtex.org/), which is one of the most common citation

For reference, I believe this is the source code:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20180628/ec9df1db/attachment-0001.html>

More information about the Python-ideas mailing list