[b]"How to Properly Cite the 'requests' Library in Python?"[/b] or [b]"What's the Correct Way to Add a 'requests C

20 Replies, 1229 Views

Title: How do i properly do a *requests citation python* in my project?

Hey guys, so i’ve been using the `requests` library forever, but now i need to cite it properly for a school thing.

Is there like an *official* way to do a requests citation python? Or do i just slap the github link in there and call it a day?

Some ppl say use APA, others just mention it in the README… idk what’s *correct*.

Also, if there’s a bibtex entry or something, pls share!

Thx in advance—kinda stressing over this lol.
Yo! For requests citation python, the official docs actually have a section on this.

Check out https://docs.python-requests.org/en/late...ty/citing/

They recommend APA style, and there's even a bibtex entry there.

Just copy-paste that and you're golden.

Also, if your school's picky, maybe cross-check with their citation guide.
lol i had the same issue last semester.

For requests library citation, I just used the GitHub repo link in IEEE format.

But if you need bibtex, this works:

```bibtex
@misc{requests,
title={Requests: HTTP for Humans},
author={Kenneth Reitz},
year={2012},
url={https://docs.python-requests.org}
}
```

Worked for my prof, so should be fine?
APA style is the way to go for academic stuff. Here's how I did my requests citation python ref:

Reitz, K. (2012). *Requests: HTTP for Humans*. Retrieved from https://docs.python-requests.org

Some unis want the version number tho, so maybe add that if yours is strict.
Bruh just throw it in your README.md like:

> This project uses the [requests](https://docs.python-requests.org) library by Kenneth Reitz.

Unless it's a formal paper, no one cares about perfect citations for code libs imo.
If you're using LaTeX, here's a clean bibtex entry for requests citation python:

```bibtex
@software{requests_python,
author = {Reitz, Kenneth},
title = {Requests: HTTP for Humans},
year = {2012},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\\url{https://github.com/psf/requests}}
}
```

Got this from Overleaf’s template, works like a charm.
Pro tip: Use Zotero or CiteThisForMe to auto-generate the citation.

Just paste the GitHub link and pick your style (APA, MLA, etc.).

Saves so much time for requests citation python and other libs.
Wait, people actually cite Python libraries?

Jk jk—if you need it, the requests docs have a citation blurb.

But honestly, unless it’s a thesis, a GitHub link in footnotes is probably enough.
For formal papers, I’d go with Chicago style:

Reitz, Kenneth. *Requests: HTTP for Humans.* 2012. https://docs.python-requests.org.

But yeah, check if your school has a preference.
omg thank you all SO MUCH!!

The bibtex entries saved my life—I’m using the one from the official docs.

Didn’t even think to check there smh.

Also, Zotero tip is clutch for future refs.

Y’all are legends 🙏



Users browsing this thread: 1 Guest(s)