--- id: python-status version: "1.0.1" license: BSD license_treatment: permissive maintenance: abandoned --- # python-status — HTTP Status for Humans License: permissive · Maintenance: abandoned · Downloads: 135.9K/mo ## What it is and what it does python-status is a minimal library that maps HTTP status codes to named constants and provides utility functions to classify response types. Instead of writing `return ('response', 201)`, you write `return ('response', status.HTTP_201_CREATED)`, making code more readable. It includes helper methods like `is_success()`, `is_client_error()`, and `is_server_error()` to check response classifications. The package has no runtime dependencies and is a straightforward constant-and-function collection. It was originally created as a standalone extraction from Django Rest Framework and is independently maintained. However, the project is abandoned—the last release was 2015-10-17 and there have been no updates since, despite the repository remaining unarchived. Use it for: - Replace magic HTTP status numbers with named constants in Flask or Django view handlers for clearer code. - Check response status types in scripts using the Requests library without hardcoding numeric comparisons. - Provide a consistent status code reference across a custom HTTP API or microservice. - Improve code readability in conditional logic that branches on HTTP response codes. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides named constants for HTTP status codes and helper methods to classify response types, replacing numeric status codes with readable names like HTTP_200_OK. No. The package is abandoned (last updated 2015-10-17) and targets obsolete Python versions (2.7, 3.3–3.5). High install friction and lack of maintenance make this a poor choice for new projects. Alternatives may provide equivalent functionality with active support. ## Install pip install python-status uv add python-status poetry add python-status ## Installing python-status Before you install: High install friction with no runtime dependencies. Package is abandoned—last release was 2015-10-17 with no updates since, though the repository remains unarchived. Classifiers claim support for Python 2.7 and 3.3–3.5, all of which are end-of-life. License in practice: BSD license (permissive). No restrictions on use, modification, or distribution in commercial or private projects. Quickstart: pip install python-status import status if status.is_success(code=200): print('Success') print(status.HTTP_200_OK == 200) # True Package targets Python 2.7 and 3.3–3.5; compatibility with modern Python versions is unverified. Verify before relying: - Whether the package actually works on Python versions newer than 3.5 despite classifier claims. - Whether high install friction refers to a compiled dependency or other build-time requirement not evident in the description. - Whether the package is compatible with current Python interpreters in active use. ## Package facts - License: BSD (permissive) - Python support: unspecified - Install friction: high - Maintenance: abandoned - Downloads: 135.9K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags http status codes constants, readable http status names, status code helper methods, http response classification, human readable status codes, status code utilities, http status checking, http-utilities, abandoned [View on SkillFed](https://skillfed.io/packages/python-status) · [View on PyPI](https://pypi.org/project/python-status/)