BSD Ports

www/py-requests 2.34.2 OpenBSD

elegant and simple HTTP library for Python

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
www, lang/python

Description

Requests is a widely used high-level HTTP library for Python, based on the lower-level urllib3.

It 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 POST data; you can add headers, form data, multipart files, and parameters with simple Python dictionaries, and access the response data in the same way.

Features include:

  • Keep-Alive & Connection Pooling
  • International Domains and URLs
  • Sessions with Cookie Persistence
  • Browser-style SSL Verification
  • Automatic Content Decoding
  • HTTP(S) Proxy Support
  • Multipart File Uploads
  • Streaming Downloads
  • Connection Timeouts
  • Chunked Requests

In the other systems

SystemPortVersion
OpenBSDwww/py-requests2.34.2
FreeBSDwww/py-requests2.34.2
DragonFlywww/py-requests2.32.3
MidnightBSDwww/py-requests2.34.2
HardenedBSDwww/py-requests2.34.2
GhostBSDwww/py-requests2.34.2
OPNsensewww/py-requests2.34.2

Install

Binary package:

pkg_add py3-requests

From the ports tree:

cd /usr/ports/www/py-requests && make install

Dependencies

Build dependencies 5
Run dependencies 6
Required by 112

The first 100 are listed.