Registry / devops / assemblyline

assemblyline

JSON →
library4.7.3.1pypypiunverified

Assemblyline is an automated malware analysis framework by the Canadian Centre for Cyber Security. This package (assemblyline) contains the core libraries and client components. The current version is 4.7.3.1, released from the assemblyline-base repository. Release cadence is irregular with a mix of dev and stable tags.

pip install assemblyline
INSTALL
IMPORT
SIG · ASSEMBLYLINE
A
assemblyline
devopspythonv4.7.3.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

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

Client
from assemblyline import Client
from assemblyline import Client

Connect to Assemblyline and submit a file.

from assemblyline_client import Client import os # Connect to an Assemblyline instance al_client = Client( os.environ.get('AL_HOST', 'https://localhost:443'), apikey=(os.environ.get('AL_USER', ''), os.environ.get('AL_APIKEY', '')) ) # Submit a file for analysis response = al_client.submit('path/to/sample.exe') print('Submission ID:', response['submission']['sid'])
Debug
Known issues
breakingIn v4.x, the client library was split into assemblyline and assemblyline_client packages. Importing from assemblyline directly will fail.
fix
Use 'from assemblyline_client import Client' instead of 'from assemblyline import Client'.
affects: >=4.0.0
deprecatedThe old HTTP API using /api/v1/ endpoints is deprecated. New deployments use /api/v4/.
fix
Update your API calls to use /api/v4/ endpoints and the new Client methods.
affects: >=4.4.0
gotchaAuthentication via apikey requires a tuple (username, apikey). Passing a single string will result in a ValueError.
fix
Use apikey=(al_user, al_apikey) as a tuple.
affects: all
Upgrade
Version history
4.7.3.1latest on PyPI · released Apr 23, 2026
Audit
Dependencies
requestsrequiredHTTP requests to the Assemblyline API
PyYAMLrequiredConfiguration file parsing
Agent activity
47 hits · last 30 days
node
40
OpenAI (training)
1
Resources