Runline U Python Client
This package provides a Python API for interacting with Runline's U platform. Use of Runline services requires an active Runline customer account and any required service credentials.
The package is publicly downloadable for customer convenience, but it remains subject to the included proprietary license.
Installation
pip install runline-u
For local development from this repository:
pip install -e ".[dev]"
Usage
from runline_u import UClient
client = UClient(host="eval.runline.com", port=40001)
client.subscribe(topic="ABC_CORP/MY_REPORT_GROUP/MY_REPORT_NAME")
client.publish(
topic="ABC_CORP/OTHER_REPORT_GROUP/OTHER_REPORT_NAME",
single_page_content=get_data_as_list_of_lists()
)
UpTickXL backward compatibility
Existing UpTickXL Python applications can install the runline-u package and
continue using legacy imports:
pip install runline-u
from uptickxl_client import UpTickXLClient
New applications should prefer the modern API:
from runline_u import UClient
Both import styles use the same underlying Runline U implementation. The legacy
facade preserves the old top-level import path and public compatibility names,
while falsey client host values intentionally use the modern RUNLINE-PROD1
default.
Complete Example
A complete example application is included with the runline-u package. It demonstrates subscriptions, wildcard subscriptions, callbacks for processing incoming reports, publishing reports, authentication, periodic publishing, and interaction with a supplied Excel workbook.
Copy editable examples into your current directory:
runline-u-copy-examples
Or choose a destination:
runline-u-copy-examples ./my-runline-u-examples
Update the copied u_example_server.py for your entity, endpoint/authentication details, and credentials, then run:
python runline-u-examples/u_example_server.py
Open the copied Client_of_U_Server_Example.xlsx while the example server is running to use the workbook as a front end for publishing requests and viewing responses.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file runline_u-0.1.2.tar.gz.
File metadata
- Download URL: runline_u-0.1.2.tar.gz
- Upload date:
- Size: 59.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f90f039cdcae7a06c3241ac0f4b9e905b1abe31feed1df12b4e44f69f556f3a
|
|
| MD5 |
338a7b48269d0e00858c429c81128001
|
|
| BLAKE2b-256 |
452fdb3ff20fcee248217901c789a71a6ef1396ca98f8b1ed8dcfe2efb97723e
|
File details
Details for the file runline_u-0.1.2-py3-none-any.whl.
File metadata
- Download URL: runline_u-0.1.2-py3-none-any.whl
- Upload date:
- Size: 56.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16d309cf99e0787d19bd6b638b5f0d60bfd4653405d74a7500b39c1c4a7dbe32
|
|
| MD5 |
693e97ea8ac7e80626dfa99b885f41c6
|
|
| BLAKE2b-256 |
530038f7fb944bc17c311dab2fd562aaea631c20229cac3df674df52c4a2e22a
|