--- id: slumber version: "0.7.1" license: UNKNOWN license_treatment: unclear maintenance: abandoned --- # slumber — A library that makes consuming a REST API easier and more convenient License: unclear · Maintenance: abandoned · Downloads: 86.2K/mo ## What it is and what it does Slumber is a Python REST API client library that builds on top of requests to provide a more convenient, object-oriented way to interact with RESTful web services. Instead of manually constructing URLs and handling serialization, you define an API endpoint and then navigate resources as nested attributes, with HTTP methods available as method calls. The package handles URL construction, request serialization, and response parsing automatically. It supports multiple serialization formats (JSON, YAML) and abstracts away much of the boilerplate involved in making REST calls. However, the project has been inactive since 2015 and is no longer maintained, which raises concerns about compatibility with modern Python versions and current best practices. Use it for: - Building a client for a third-party REST API without manually constructing URLs and managing serialization - Rapid prototyping of scripts that consume REST services with minimal boilerplate - Wrapping a company's internal REST API to provide a cleaner Python interface for other developers - Migrating legacy code that already uses Slumber, though new projects should consider alternatives ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Slumber wraps the requests library to provide an object-oriented interface for consuming REST APIs, abstracting URL handling, serialization, and request processing. No, not for new projects. While Slumber offers genuine convenience for REST API consumption, it has been abandoned for over a decade with no Python version support declared and unclear licensing. Modern alternatives like httpx, requests with wrapper patterns, or dedicated client generators are actively maintained and better suited to current Python ecosystems. Consider Slumber only if maintaining existing code that already depends on it. ## Install pip install slumber uv add slumber poetry add slumber ## Installing slumber Before you install: Installation is straightforward with no runtime dependencies, but the package has been abandoned since 2015 with no releases in over a decade. The last commit was in 2020, suggesting minimal maintenance. License in practice: License status is unclear (marked UNKNOWN in metadata), which may create uncertainty about legal use or redistribution. Verify licensing terms before adopting in production or commercial contexts. Quickstart: pip install slumber import slumber api = slumber.API('http://api.example.com/') users = api.users.get() Requires requests library as a runtime dependency; pyyaml is optional for YAML serialization support. Verify before relying: - Whether the package remains compatible with modern Python versions beyond the 2.6–3.4 range mentioned in the changelog - Current compatibility with recent versions of the requests library it wraps - Whether the unclear license status has been resolved in the repository ## Package facts - License: UNKNOWN (unclear) - Python support: unspecified - Install friction: low - Maintenance: abandoned - Downloads: 86.2K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags REST API client library, object-oriented API wrapper, requests wrapper, REST client abstraction, API convenience layer, HTTP API interface, REST resource abstraction, rest-client, legacy-unmaintained [View on SkillFed](https://skillfed.io/packages/slumber) · [View on PyPI](https://pypi.org/project/slumber/)