Registry / devops / assemblyline-service-server

assemblyline-service-server

JSON →
library4.7.2.4pypypi✓ verified 83d ago

The service server component for Assemblyline 4, a digital forensics and malware analysis platform. Version 4.7.2.4 provides the runtime environment for services, handling task dispatching, result submission, and communication with the core platform. It is actively maintained with regular releases.

pip install assemblyline-service-server
INSTALL
IMPORT
SIG · ASSEMBLYLINE-SERVI
A
assemblyline-service-server
devopspythonv4.7.2.4
Install
29.9s avg
Import
Disk
371MB
Pass rate
4/ 10
Env Coverage4 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v4.7.2.4 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✕ build_error
✓ 34.5s
py 3.11
✕ build_error
✓ 28.7s
py 3.12
✕ timeout
✓ 30s
py 3.13
✕ build_error
✓ 26.2s
py 3.9
✕ timeout
✕ build_error
371MB installed
● package 371MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ServiceServer
import assemblyline_service_server
from assemblyline_service_server import ServiceServer

Initialize and run a simple service server, processing a single task.

from assemblyline_service_server import ServiceServer from assemblyline.odm.models.service import Service from assemblyline.odm.models.submission import Submission config = { 'logging': {'log_level': 'INFO'}, 'core': {'redis': {'host': os.environ.get('REDIS_HOST', 'localhost'), 'port': 6379}}, 'service': {'name': 'MyService', 'tool_version': '1.0'} } server = ServiceServer(config) server.start() # Serve one task task = server.get_task() # ... process task ... server.submit_result(task, {'success': True})
assemblyline-service-server --version
Debug
Known issues
breakingIn version 4.0.0, the import path changed from assemblyline.service_server to assemblyline_service_server. Old imports will fail.
fix
Use 'from assemblyline_service_server import ServiceServer'
affects: <4.0.0
gotchaThe service server requires a running Redis instance. It will silently hang if Redis is unreachable.
fix
Ensure Redis is configured and accessible. Set REDIS_HOST environment variable or config['core']['redis']['host'].
affects: all
gotchaUse os.environ.get() for configuration values that may be set by environment variables; the server falls back to default values which may not work in production.
fix
Always provide explicit configuration for production environments.
affects: all
Upgrade
Version history
4.7.2.4latest on PyPI · released Apr 1, 2026
Audit
Dependencies
assemblylinerequiredCore library for data models and communication
redisrequiredMessage queue and caching backend
Agent activity
26 hits · last 30 days
node
22
OpenAI (training)
1
Resources