{"categories":[{"label":"Cryptography","url":"https://skillfed.io/packages/category/security-cryptography"}],"enrichment":{"capability":"Macaroonbakery provides HTTP authentication and cookie handling for macaroon-based access control, integrating with the requests library to manage macaroon cookies across protected API calls.","skillfed_tags":["macaroon-auth","http-cookies","cryptographic-tokens"],"use_cases":["Authenticate to Juju or other macaroon-bakery-protected services using Python HTTP clients.","Manage macaroon cookies across multiple requests to the same protected API without re-authenticating.","Integrate macaroon-based authorization into Python applications that need to call protected endpoints.","Handle cryptographic cookie validation and refresh transparently in HTTP workflows."],"what_it_does":"Macaroonbakery is a Python library that implements higher-level operations for working with macaroons\u2014cryptographic authorization tokens\u2014in HTTP contexts. It provides a BakeryAuth handler that integrates with the requests library to transparently manage macaroon cookies across multiple HTTP requests to protected endpoints. The library handles the complexity of macaroon validation and cookie storage, allowing developers to authenticate to macaroon-protected services without manually managing the cryptographic handshake.\n\nThe package depends on a substantial cryptographic stack (PyNaCl, cryptography, pyOpenSSL, pymacaroons) and is designed primarily for systems that use macaroon-based authorization schemes. It was developed as a port of Go's macaroon-bakery library and is most useful in environments where macaroon authentication is already the standard\u2014such as Juju, Canonical's orchestration platform, or other systems built around macaroon-based access control.","worth_installing":"Yes, but with caution. Install if you need to authenticate to a macaroon-bakery-protected service and have no alternative. The low install friction and absence of known vulnerabilities are positives, but the dormant maintenance status (975 days since last release, no commits since May 2024) and outdated Python version support (classifiers only list up to 3.5) mean you should verify compatibility with your target Python version and dependencies before committing to production use."},"id":"macaroonbakery","links":{"html":"https://skillfed.io/packages/macaroonbakery","md":"https://skillfed.io/packages/macaroonbakery.md","pypi":"https://pypi.org/project/macaroonbakery/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2023-12-13","license_spdx":null,"license_treatment":"copyleft","name":"macaroonbakery","python_support":"unspecified","summary":"A Python library port for bakery, higher level operation to work with macaroons"},"popularity":{"monthly_downloads":830025,"position":4950,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.3.4"}
