oslo.service
oslo.service library
What it is and what it does
oslo.service is a library for building long-running services following OpenStack conventions. It abstracts common patterns for service lifecycle management, WSGI application serving, SSL configuration, and periodic task execution. The package is built on top of eventlet and greenlet for concurrent request handling, and integrates with oslo.config, oslo.log, and other oslo.* libraries for configuration and logging.
Typically used within OpenStack deployments or applications that adopt OpenStack service patterns. It handles service startup, shutdown, signal handling, and systemd integration out of the box. The framework reduces boilerplate for developers building daemon-style applications that need robust lifecycle management and standard operational interfaces.
Use it for:
- Building OpenStack-compatible microservices with standardized lifecycle and configuration patterns.
- Running WSGI applications with eventlet-based concurrency and SSL/TLS termination.
- Implementing periodic background tasks within a long-running service using oslo.service's scheduler.
- Integrating with systemd for service management, logging, and signal handling in production deployments.
- Creating multi-worker services that need coordinated startup, graceful shutdown, and health monitoring.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
oslo.service provides a framework for building and running long-running OpenStack services, with utilities for SSL, WSGI, periodic operations, and systemd integration.
Yes, if you are building OpenStack services or adopting its service patterns. The framework is actively maintained, has low install friction, and carries no known vulnerabilities. The permissive Apache license poses no restrictions. Install only if your application aligns with OpenStack conventions; the 13 dependencies and eventlet-based concurrency model are not a fit for all use cases.
Install
oslo-service on PyPI
pip
pip install oslo-serviceuv
uv add oslo-servicepoetry
poetry add oslo-serviceInstalling oslo.service
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained as of 14 days ago. Requires Python 3.11 or later and pulls in 13 runtime dependencies, primarily from the oslo.* ecosystem and web-serving libraries (eventlet, Routes, Paste).
License in practice
Licensed under Apache (permissive treatment), meaning you can use, modify, and distribute the package freely in commercial and private projects without copyleft obligations.
Quickstart
pip install oslo.service
from oslo_service import service
from oslo_service import wsgi
# Create and run a WSGI service
app = wsgi.Loader().load_app('myapp')
server = wsgi.Server(CONF, 'myapp', app)
server.start()
Requires Python 3.11 or later; eventlet and greenlet are runtime dependencies that enable concurrent request handling.
Verify before relying
- Whether the package's 13 dependencies (eventlet, Routes, Paste, etc.) are all actively maintained and secure.
- Performance characteristics and scalability limits for high-concurrency workloads.
- Compatibility with non-OpenStack applications or whether it is tightly coupled to OpenStack patterns.
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.11) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 13 — WebOb, debtcollector, eventlet, greenlet, oslo.utils, oslo.concurrency, oslo.config, oslo.log, oslo.i18n, PasteDeploy, Routes, Paste, Yappi |
| Maintenance | actively maintained — 14 days since the last release |
| First released | |
| Downloads | 439,141/month — #6,658 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: oslo_service-4.8.0-py3-none-any.whl
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
oslo.middlewareoslo.middleware provides WSGI middleware…
permissive · top 15,000 on PyPI
oslo.reportsoslo.reports generates structured debug reports…
permissive · top 15,000 on PyPI
oslo.upgradecheckProvides a framework for writing and running…
permissive · top 15,000 on PyPI
oslo.vmwareoslo.vmware provides a library for common…
permissive · top 15,000 on PyPI
oslo.contextoslo.context provides utilities to store and…
permissive · top 5,000 on PyPI
oslo.dboslo.db provides database connectivity and ORM…
permissive · top 15,000 on PyPI
oslo.logoslo.log provides standardized logging…
permissive · top 5,000 on PyPI
oslotestoslotest provides a testing framework with…
permissive · top 15,000 on PyPI
WSMEWSME simplifies REST API development by letting…
permissive · top 15,000 on PyPI
osprofilerOSProfiler generates distributed request traces…
permissive · top 15,000 on PyPI