All Projects → psf → Requests

psf / Requests

Licence: apache-2.0
A simple, yet elegant, HTTP library.

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to Requests

Pycurl Requests
A Requests-compatible interface for PycURL.
Stars: ✭ 23 (-99.95%)
Mutual labels:  requests, python-requests, client
requests-cloudkit
Apple CloudKit Python library.
Stars: ✭ 60 (-99.87%)
Mutual labels:  requests, python-requests
Py3 Pinterest
Fully fledged Python Pinterest client
Stars: ✭ 133 (-99.71%)
Mutual labels:  cookies, client
Php Curl Class
PHP Curl Class makes it easy to send HTTP requests and integrate with web APIs
Stars: ✭ 2,903 (-93.76%)
Mutual labels:  requests, client
Proxy requests
a class that uses scraped proxies to make http GET/POST requests (Python requests)
Stars: ✭ 357 (-99.23%)
Mutual labels:  requests, python-requests
Geolocator-2
Learn how to find and work with locations in Django, the Yelp API, and Google Maps api.
Stars: ✭ 24 (-99.95%)
Mutual labels:  requests, python-requests
Pycookiecheat
Borrow cookies from your browser's authenticated session for use in Python scripts.
Stars: ✭ 465 (-99%)
Mutual labels:  requests, cookies
Requests3
Requests 3.0, for Humans and Machines, alike. 🤖
Stars: ✭ 813 (-98.25%)
Mutual labels:  requests, python-requests
Kubernetes Pfsense Controller
Integrate Kubernetes and pfSense
Stars: ✭ 100 (-99.79%)
Mutual labels:  client
Languagepod101 Scraper
Python scraper for Language Pods such as Japanesepod101.com 👹 🗾 🍣 Compatible with Japanese, Chinese, French, German, Italian, Korean, Portuguese, Russian, Spanish and many more! ✨
Stars: ✭ 104 (-99.78%)
Mutual labels:  requests
Swiftagram
A modern Swift wrapper for Instagram Private API.
Stars: ✭ 100 (-99.79%)
Mutual labels:  client
Instagram Auto Create Account
An automatic account creation bot script for Instagram.
Stars: ✭ 101 (-99.78%)
Mutual labels:  python-requests
Flickr Sdk
Almost certainly the best Flickr API client in the world for node and the browser
Stars: ✭ 104 (-99.78%)
Mutual labels:  client
Simpletcp
Simple wrapper for TCP client and server in C# with SSL support
Stars: ✭ 99 (-99.79%)
Mutual labels:  client
Request
go request, go http client
Stars: ✭ 105 (-99.77%)
Mutual labels:  client
Google Api Nodejs Client
Google's officially supported Node.js client library for accessing Google APIs. Support for authorization and authentication with OAuth 2.0, API Keys and JWT (Service Tokens) is included.
Stars: ✭ 9,722 (-79.12%)
Mutual labels:  client
Stompclientlib
Simple STOMP Client library, Swift 3 and 4, 4.2, 5 compatible
Stars: ✭ 99 (-99.79%)
Mutual labels:  client
Sessionup
Straightforward HTTP session management
Stars: ✭ 107 (-99.77%)
Mutual labels:  cookies
Web Client
Generic Linked Data browser and UX component framework. Apache license.
Stars: ✭ 105 (-99.77%)
Mutual labels:  client
Cordless
The Discord terminal client you never knew you wanted.
Stars: ✭ 1,391 (-97.01%)
Mutual labels:  client

Requests

Requests is a simple, yet elegant, HTTP library.

>>> import requests
>>> r = requests.get('https://api.github.com/user', auth=('user', 'pass'))
>>> r.status_code
200
>>> r.headers['content-type']
'application/json; charset=utf8'
>>> r.encoding
'utf-8'
>>> r.text
'{"type":"User"...'
>>> r.json()
{'disk_usage': 368627, 'private_gists': 484, ...}

Requests allows you to send HTTP/1.1 requests extremely easily. There’s no need to manually add query strings to your URLs, or to form-encode your PUT & POST data — but nowadays, just use the json method!

Requests is one of the most downloaded Python packages today, pulling in around 30M downloads / week— according to GitHub, Requests is currently depended upon by 500,000+ repositories. You may certainly put your trust in this code.

Downloads Supported Versions Contributors

Installing Requests and Supported Versions

Requests is available on PyPI:

$ python -m pip install requests

Requests officially supports Python 2.7 & 3.6+.

Supported Features & Best–Practices

Requests is ready for the demands of building robust and reliable HTTP–speaking applications, for the needs of today.

  • Keep-Alive & Connection Pooling
  • International Domains and URLs
  • Sessions with Cookie Persistence
  • Browser-style TLS/SSL Verification
  • Basic & Digest Authentication
  • Familiar dict–like Cookies
  • Automatic Content Decompression and Decoding
  • Multi-part File Uploads
  • SOCKS Proxy Support
  • Connection Timeouts
  • Streaming Downloads
  • Automatic honoring of .netrc
  • Chunked HTTP Requests

API Reference and User Guide available on Read the Docs

Read the Docs

Cloning the repository

When cloning the Requests repository, you may need to add the -c fetch.fsck.badTimezone=ignore flag to avoid an error about a bad commit (see this issue for more background):

git clone -c fetch.fsck.badTimezone=ignore https://github.com/psf/requests.git

You can also apply this setting to your global Git config:

git config --global fetch.fsck.badTimezone ignore

Kenneth Reitz Python Software Foundation

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].