Registry / http-networking / swimlane

swimlane

JSON →
library10.19.5pypypiunverified

Official Python driver for the Swimlane SOAR API. Provides programmatic access to Swimlane instances for managing records, applications, alerts, and other entities. Current version 10.19.1, supports Python >=3.6, released irregularly with security and feature updates.

pip install swimlane
INSTALL
IMPORT
SIG · SWIMLANE
S
swimlane
http-networkingpythonv10.19.5
Install
4.1s avg
Import
Disk
28MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v10.19.5 · 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
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 30.6MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 4.1s · import 0.000s · 31MB
28MB installed
● package 28MB
Code
Verified usage

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

SwimlaneInstance
from swimlane import SwimlaneInstance
from swimlane import SwimlaneInstance

Create a Swimlane instance and list available applications.

from swimlane import SwimlaneInstance import os sw = SwimlaneInstance( hostname=os.environ.get('SWIMLANE_HOST', ''), username=os.environ.get('SWIMLANE_USER', ''), password=os.environ.get('SWIMLANE_PASS', '') ) # List applications apps = sw.apps.list() print(apps)
Debug
Known issues
gotchaThe library uses `requests` and may throw `requests.exceptions.ConnectionError` without clear messages if the hostname is unreachable or has SSL issues. Always verify `SWIMLANE_HOST` includes the protocol (https://) and no trailing slash.
fix
Ensure hostname is 'https://your-instance.swimlane.com' (including https://, no trailing slash).
affects: all
breakingIn v10.0+, the `SwimlaneInstance` no longer accepts `api_key` parameter for authentication; use `username` and `password` instead. API keys were removed.
fix
Replace `api_key='xyz'` with `username='user', password='pass'`.
affects: >=10.0.0
deprecatedUsing `from swimlane import App` is deprecated since v10. Use `from swimlane.core.resources.app import App` or access via `sw.apps` methods.
fix
Use `app = sw.apps.get(id='...')` or list with `sw.apps.list()`.
affects: >=10.0.0
gotchaRecord field access may raise `KeyError` if field names contain spaces or special characters. Use `record['field_name']` always, not `record.field_name`, as attribute access may fail.
fix
Always use dictionary-style access: `value = my_record['Field Name']`.
affects: all
Upgrade
Version history
10.19.5latest on PyPI · released May 11, 2026
Audit
Dependencies
requestsrequiredHTTP client for API calls
sixrequiredPython 2/3 compatibility
pycryptodomerequiredCrypto for authentication tokens
Agent activity
45 hits · last 30 days
node
42
OpenAI (training)
1
Resources
swimlane — pip install swimlane · libregistry