How to cite NumPy in BibTex?

The Scipy citing page recommends:

Travis E, Oliphant. A guide to NumPy, USA: Trelgol Publishing, (2006).

Is it correct to use:

  author =    {Travis Oliphant},
  title =     {{NumPy}: A guide to {NumPy}},
  year =      {2006--},
  howpublished = {USA: Trelgol Publishing},
  url = "http://www.numpy.org/",
  note = {[Online; accessed <today>]}

Or should I cite just SciPy?

Research Gate

On Research Gate, the citation suggested is:

author = {Oliphant, Travis},
year = {2006},
month = {01},
pages = {},
title = {Guide to NumPy}

Or cite as a book?

  • Why is there a publisher if it is an online resource? Nov 28 '18 at 13:40
  • Also, there is a spurious "Numpy" in the title, and the capitalization is inconsistent. Nov 28 '18 at 13:42
  • 1
    As a formatting suggestion, rather than misc, maybe use manual? Nov 28 '18 at 15:22
  • @RichardErickson Could you give an example as an answer? And A guide to NumPy is a Book, maybe cite as a book? or manual? Nov 28 '18 at 15:27
  • 1
    @danieltakeshi, You have the fields correct. A books or manual may be formatted differently than misc. It depends upon your style file and where you are trying to publish. That venue's specific requirements may prefer one method over another. Nov 28 '18 at 16:17

Looks right to me. That's how they ask to be cited, and it seems reasonable. Indeed, this discussion also agrees that citing the user manual is the right choice.

  • 6
    Note that this answer refers to the first option ($Misc{...) as correct. The second option was added to the question after this answer was posted.
    – AstroFloyd
    Jan 26 '19 at 16:20

As to 2020, Numpy now has a Nature paper https://numpy.org/citing-numpy/

@Article{         harris2020array,
 title         = {Array programming with {NumPy}},
 author        = {Charles R. Harris and K. Jarrod Millman and St{'{e}}fan J.
                 van der Walt and Ralf Gommers and Pauli Virtanen and David
                 Cournapeau and Eric Wieser and Julian Taylor and Sebastian
                 Berg and Nathaniel J. Smith and Robert Kern and Matti Picus
                 and Stephan Hoyer and Marten H. van Kerkwijk and Matthew
                 Brett and Allan Haldane and Jaime Fern{'{a}}ndez del
                 R{'{\i}}o and Mark Wiebe and Pearu Peterson and Pierre
                 G{'{e}}rard-Marchant and Kevin Sheppard and Tyler Reddy and
                 Warren Weckesser and Hameer Abbasi and Christoph Gohlke and
                 Travis E. Oliphant},
 year          = {2020},
 month         = sep,
 journal       = {Nature},
 volume        = {585},
 number        = {7825},
 pages         = {357--362},
 doi           = {10.1038/s41586-020-2649-2},
 publisher     = {Springer Science and Business Media {LLC}},
 url           = {https://doi.org/10.1038/s41586-020-2649-2}

And if you use the new biblatex-software package, you can replace @Article by @Software

  • 2
    +1 from me. The biblatex-software's @Software field is probably the way to go. You can include the actual versions or module, as well as the license.Highly recommended!
    – Clément
    Oct 29 '20 at 16:56

The proposed citation seems correct. I found the same at http://www.citebay.com/how-to-cite/numpy/.

  title={A guide to NumPy}, 
  author={Oliphant, Travis E}, 
  publisher={Trelgol Publishing USA} 
  • Answer edited. Thank you for feedback.
    – J.V.
    Jun 17 '19 at 16:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.