{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/5"}],"enrichment":{"capability":"A Python client library for authenticating with and making API requests to MuckRock and DocumentCloud services, handling token management, rate limiting, and automatic retries.","skillfed_tags":["api-client","authentication","muckrock"],"use_cases":["Automate document retrieval and metadata queries from DocumentCloud using Python scripts.","Build applications that submit and track FOIA requests through MuckRock's API programmatically.","Create batch processing pipelines that interact with MuckRock or DocumentCloud without managing authentication tokens manually.","Integrate MuckRock or DocumentCloud data into data analysis workflows or reporting systems.","Develop bots or scheduled tasks that monitor or update resources in MuckRock or DocumentCloud systems."],"what_it_does":"python-squarelet is a Python client library that wraps the Squarelet authentication system used by MuckRock and DocumentCloud. It handles the complexity of token-based authentication, automatic token refresh, rate limiting, and request retry logic so you don't have to manage these concerns manually. The library provides a simple SquareletClient class that you initialize with credentials and a base API URI, then use to make HTTP requests (GET, POST, PUT, DELETE, etc.) to MuckRock or DocumentCloud APIs.\n\nThe package is designed for developers who need to programmatically interact with MuckRock Requests or DocumentCloud through their APIs. It abstracts away authentication token management, applies rate limiting automatically to respect API quotas, and includes built-in retry logic for transient failures. The library also provides custom exception classes for different error scenarios (API errors, credential issues, missing resources), making error handling more explicit in your code.","worth_installing":"Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and is licensed permissively. Install it if you need to programmatically access MuckRock or DocumentCloud APIs\u2014it eliminates boilerplate around authentication, token refresh, and rate limiting. The narrow scope (specific to Squarelet-based services) means it's only useful if you're targeting those particular APIs."},"id":"python-squarelet","links":{"html":"https://skillfed.io/packages/python-squarelet","md":"https://skillfed.io/packages/python-squarelet.md","pypi":"https://pypi.org/project/python-squarelet/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-14","license_spdx":null,"license_treatment":"permissive","name":"python-squarelet","python_support":"capped_below_current","summary":"Python library that handles token authentication for MuckRock and DocumentCloud"},"popularity":{"monthly_downloads":240127,"position":8911,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.0"}
