django-service-objects
Service objects for Django
Decision gist · record as of 2026-08-14
No. While the library is well-designed and has low install friction, it is abandoned—no releases or commits since late 2022. For new projects, choose an actively maintained alternative. For existing projects already using it, continue only if you can maintain it yourself or accept the risk of incompatibility with future Django versions.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Django to be installed and configured; service must be added to INSTALLED_APPS.
- Low install friction with only Django and six as runtime dependencies.
- However, the package is abandoned—last release was 2022-02-24 and last commit 2022-12-19.
License · maintenance · safety
MIT License (permissive) — MIT License (permissive) allows commercial and private use with minimal restrictions, making it safe to adopt from a licensing perspective.
last release 2022-02-24 (1632 days) · last repo commit 2022-12-19 · 335 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 91,880 downloads/mo, #13,496 on PyPI
Alternatives
Verify before relying
pip install django-service-objects
# Add 'service_objects' to INSTALLED_APPS in settings.py
from django import forms
class MyService:
name = forms.CharField()
def process(self):
return self.cleaned_data['name']
MyService.execute({'name': 'test'})- Whether the package remains compatible with Django versions released after 2022-02-24.
- Active community or fork status—whether users have migrated to maintained alternatives.
- Whether six dependency is still necessary given modern Python 3 adoption.
What it is and what it does
django-service-objects is a lightweight library that provides a Service base class for organizing Django business logic into reusable, testable units. It works like a Django form with built-in validation but adds a process() method for executing your core logic and an optional post_process() method for side effects. You define fields using Django form fields, call execute() with a dictionary of inputs, and the service handles validation, data cleaning, and execution in a consistent pattern.
The library is designed to decouple business logic from views, models, and management commands—you write the service once and call it from anywhere. It has no security vulnerabilities on record and uses a permissive MIT License. However, the project is abandoned: the last release was 2022-02-24 and the last commit 2022-12-19, meaning it receives no maintenance or compatibility fixes.
Use it for
- Extracting complex user creation or account management logic from views into a reusable, testable service.
- Running the same business process from multiple entry points (view, management command, async task) without code duplication.
- Building a service layer that validates inputs consistently using Django form fields before executing core logic.
- Organizing multi-step workflows with separate process() and post_process() phases (e.g., create user, then send email).
- Writing unit tests that directly test business logic without mocking views or HTTP requests.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
While the library is well-designed and has low install friction, it is abandoned—no releases or commits since late 2022. For new projects, choose an actively maintained alternative. For existing projects already using it, continue only if you can maintain it yourself or accept the risk of incompatibility with future Django versions.
Install
django-service-objects on PyPI
Before you install
Low install friction with only Django and six as runtime dependencies. However, the package is abandoned—last release was 2022-02-24 and last commit 2022-12-19. No active maintenance means security updates and compatibility fixes are unlikely.
Requires Django to be installed and configured; service must be added to INSTALLED_APPS.
License in practice
MIT License (permissive) allows commercial and private use with minimal restrictions, making it safe to adopt from a licensing perspective.
Quickstart
pip install django-service-objects
# Add 'service_objects' to INSTALLED_APPS in settings.py
from django import forms
class MyService:
name = forms.CharField()
def process(self):
return self.cleaned_data['name']
MyService.execute({'name': 'test'})
Verify before relying
- Whether the package remains compatible with Django versions released after 2022-02-24.
- Active community or fork status—whether users have migrated to maintained alternatives.
- Whether six dependency is still necessary given modern Python 3 adoption.
Package facts
| License | MIT License permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesDjangosix |
| Maintenance | Abandoned 1,632 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 91,880 / month, #13,496 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaEnvironment :: PluginsEnvironment :: Web EnvironmentFramework :: Django :: 2.2Framework :: Django :: 3.1Framework :: Django :: 3.2Framework :: Django :: 4.0Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Internet :: WWW/HTTPTopic :: Internet :: WWW/HTTP :: Dynamic Content |
Evidence: django_service_objects-0.7.1-py3-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 › “django business logic abstraction”
- django-service-objectsProvides a Service base class for Django that encapsulates business…
- trytondTrytond is the server component of Tryton, an open-source business…
- django-fsm-2Adds declarative finite state machine support to Django models,…
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 django-rest-multiple-models · django-extra-views · trytond · drf-rw-serializers · dj-materialized-views · business-rules · django-braces · django-ninja-extra · djangorestframework · django-viewflow