slumber
A library that makes consuming a REST API easier and more convenient
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires requests library as a runtime dependency; pyyaml is optional for YAML serialization support.
- 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 · maintenance · safety
UNKNOWN (unclear) — 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.
last release 2015-05-14 (4110 days) · last repo commit 2020-07-16 · 596 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 86,150 downloads/mo, #13,883 on PyPI
Alternatives
Verify before relying
pip install slumber
import slumber
api = slumber.API('http://api.example.com/')
users = api.users.get()- 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
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 on this page. Verify before relying on it.
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
slumber on PyPI
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.
Requires requests library as a runtime dependency; pyyaml is optional for YAML serialization support.
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()
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 | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 4,110 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 86,150 / month, #13,883 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: slumber-0.7.1-py2-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “object-oriented API wrapper”
- slumberSlumber wraps the requests library to provide an object-oriented…
- libtmuxlibtmux provides a typed Python API to control tmux (the terminal…
- pypdA Python client for PagerDuty's v2 API that provides object-oriented…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also hammock · twentyc.rpc · pulp-glue · restfly · SurveyGizmo · django-tastypie · pulp-cli · google_api · djangorestframework · airtable-python-wrapper