Skip to main content

Konnection URL

Project description

Kurl

Konnection URL

This project is part of the Pyrustic Ecosystem.

Reference

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 !

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.3.tar.gz (6.9 kB view hashes)

Uploaded Source

Built Distribution

kurl-0.0.3-py3-none-any.whl (12.4 kB view hashes)

Uploaded Python 3

Supported by

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