Skip to main content

A Requests-compatible interface for pycURL

Project description

PycURL Requests ☤

PycURL Requests is a Requests-compatible interface for pycURL.

Requirements

Installation

via Git:

git clone https://github.com/dcoles/pycurl-requests.git; cd pycurl-requests
python3 setup.py install --user

Quick-start

>>> import pycurl_requests as requests
>>> r = requests.get('https://api.github.com/repos/dcoles/pycurl-requests')
>>> r.status_code
200
>>> r.headers['content-type']
'application/json; charset=utf-8'
>>> r.encoding
'utf-8'
>>> r.text
'{\n  "id": 236427187,\n...'
>>> data = r.json()
>>> data['name']
'pycurl-requests'
>>> data['html_url']
'https://github.com/dcoles/pycurl-requests'
>>> data['description']
'A Requests-compatible interface for pycURL'

Documentation

This library aims to be API compatible with Requests, thus the Requests documentation should be mostly applicable.

Known limitations

Most of these features should be supported in the near future.

License

Licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycurl-requests-0.0.1.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pycurl_requests-0.0.1-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file pycurl-requests-0.0.1.tar.gz.

File metadata

  • Download URL: pycurl-requests-0.0.1.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.7

File hashes

Hashes for pycurl-requests-0.0.1.tar.gz
Algorithm Hash digest
SHA256 dbf8f95ff2fe68cca3b80c2333d1c438d573180f37a1db3cb373edebb18b7d4e
MD5 c59aa313c0a5b493898232c77840d7f1
BLAKE2b-256 949d1bb633615778c311e7f3a120ba9405116bd5dab9ca98b03381f8b61f6095

See more details on using hashes here.

File details

Details for the file pycurl_requests-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pycurl_requests-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.7

File hashes

Hashes for pycurl_requests-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 54ae9d1837c866b307b207e35df9f994d5bde421dd39617ef1c96ede540f61c8
MD5 71ba8cae0b8c96228145719ccc4bc62a
BLAKE2b-256 64123724f0a72282d8677f6583972ddff11f5a9fae13226d0b87423e2e288215

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page