skillfed

oslo.service

oslo.service library

oslo-service v4.8.0 439.1K downloads/30d#6,658 on PyPI
Permissive license Active released

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-service

uv

uv add oslo-service

poetry

poetry add oslo-service

Installing 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

Environment :: OpenStackIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsLicense :: OSI Approved :: Apache Software LicenseOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPython

Tags

openstack service frameworklong-running service patternswsgi service utilitiesperiodic task schedulingsystemd integration libraryssl service managementopenstack application framework
openstackservice-frameworkwsgi

More Application Frameworks packages