Skip to main content
https://github.com/Proteusiq/hygge/blob/master/hygge.png

Hygge (‘Cozzy’) Response

“A cozzy(‘hygge’) way to get json response back asynchronously”

Overview

It should be easy to return json response asynchronously. hygge aim to be a fuzzy-less way to do just that. Just pass a url and ‘get’ arguments such as params, headers, and receive back a json response.

website: hygge.

# install hygge
pip install hygge

How to use

from hygge.get import GetResponse

url = 'https://www.trustpilot.com/businessunit/search'
params = {'country': 'dk', 'query': 'mate.bike'}

# passing url and parameters
res = GetResponse(url).get(params=params)
print(res)

# passing only url
info_url = f'https://www.trustpilot.com/businessunit/{res["businessUnits"][0]["id"]}/companyinfobox'
print(GetResponse(info_url).get())

Metadata

Release files for hygge 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hygge 0.1.3
File Size Uploaded Provenance Actions
hygge-0.1.3.tar.gz 2.0 kB Without provenance Details for hygge-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hygge 0.1.3
File Interpreter ABI Platform Actions
hygge-0.1.3-py3-none-any.whl Python 3 none any Details for hygge-0.1.3-py3-none-any.whl

Total release size: 4.8 kB

Release files / hygge-0.1.3.tar.gz

Download URL hygge-0.1.3.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0083f4ff15f14d430801187364d28cbf2f19b7c8f44250a2acdb30a6a41b003f
BLAKE2b-256 checksum
How to use checksums
9ae6d223d49c7ca255185a8a04dfd08d1c307dcdbd92988cbd944a20ec7acce3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.3 CPython/3.6.5 Windows/10

Release files / hygge-0.1.3-py3-none-any.whl

Download URL hygge-0.1.3-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad64fe4e17bae697744dee5851d93545e868852631dd320d4655bf66dbf11b90
BLAKE2b-256 checksum
How to use checksums
3a46af1a7b8972096f7ebcd8c0dae2828538f25d8e7dd0fc9be62c6f65b32ec1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.3 CPython/3.6.5 Windows/10

Security for hygge 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page