Konnection URL
Project description
Kurl
Konnection URL
This project is part of the Pyrustic Ecosystem.
Kurl
is a library to fetch resources with an implementation of conditional request and a smart responses caching system. It is used by Hubstore and more projects in the Pyrustic Open Ecosystem.
This is a simple usage example:
from kurl import Kurl
kurl = Kurl()
response = kurl.request("https://api.github.com/zen")
print(response.headers)
# output: [('Server', 'GitHub.com'), ..., ('connection', 'close')]
print(response.body)
# output: b'Avoid administrative distraction.'
print(response.error_reason)
# output: None
print(response.json)
# output: None
Read the reference !
Installation
pip install kurl
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
kurl-0.0.6.tar.gz
(5.7 kB
view details)
Built Distribution
kurl-0.0.6-py3-none-any.whl
(13.8 kB
view details)
File details
Details for the file kurl-0.0.6.tar.gz
.
File metadata
- Download URL: kurl-0.0.6.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.9.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b1ff745e8dd5c04baab33027205c7fa0f9adcfdd971b7925a649c8069fbcf01 |
|
MD5 | 6d8355d1e14742441b61084aa56733b0 |
|
BLAKE2b-256 | 47068a199a00225d8c7432214f5f7140aea5419e1311a951e39cddd6975db87a |
File details
Details for the file kurl-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: kurl-0.0.6-py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.9.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01c6f7dc321a4cbfa94af3d792431998b3897a9c5640fb1d2a18a6865857a11a |
|
MD5 | b03019a2c76a90e42e0c920e5ae2c26f |
|
BLAKE2b-256 | 01e8e6e103c0ade396e7f88eefaf83d0b06d5aa9635d6e2f7dc07aa683456237 |