TurboLane RL-based network optimization engine
Project description
TurboLane Engine
turbolane-engine is a standalone Python package containing the TurboLane
optimization engine.
Install
pip install turbolane-engine
Quick Start
from turbolane import TurboLaneEngine
engine = TurboLaneEngine(mode="client", algorithm="qlearning")
streams = engine.decide(throughput_mbps=45.0, rtt_ms=35.0, loss_pct=0.2)
engine.learn(throughput_mbps=48.0, rtt_ms=34.0, loss_pct=0.2)
engine.save()
Model Storage
If model_dir is not provided, TurboLane stores models in the OS user data
location using platformdirs, for example:
- Windows:
%APPDATA%/TurboLane/models/<profile> - Linux:
~/.local/share/TurboLane/models/<profile> - macOS:
~/Library/Application Support/TurboLane/models/<profile>
Build Locally
python -m pip install -U build
python -m build
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
turbolane_engine-1.0.0.tar.gz
(17.7 kB
view details)
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 turbolane_engine-1.0.0.tar.gz.
File metadata
- Download URL: turbolane_engine-1.0.0.tar.gz
- Upload date:
- Size: 17.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d364a1e5fc1623029b003b7a41d47af0500a6bce9827110b873dfbe0263f6fd9
|
|
| MD5 |
5fd58582ae26e6f8d0db05c8debe943a
|
|
| BLAKE2b-256 |
b7503994d344cf0345b4d4b65458016f7def3f2fff1e1705548b5046fd109a0f
|
File details
Details for the file turbolane_engine-1.0.0-py3-none-any.whl.
File metadata
- Download URL: turbolane_engine-1.0.0-py3-none-any.whl
- Upload date:
- Size: 21.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99c2b44342cec656cb87296ab4bd9b175b39fa7c6980b2c4f9b701081f602032
|
|
| MD5 |
d6adad1e86fe99e22b54ebb06f7a4157
|
|
| BLAKE2b-256 |
23c910819063675fe35aa1ab623043e17c74e3d36884ba85ba48be72a51e3427
|