Skip to main content

lt25.py

PyPI Latest Release wakatime MIT License

🎸 A cross-platform Python module for interacting with the LT25 amplifier from a certain guitar company that rhymes with "bender" and names products after horses.

👋 Introduction

I made this libray because I was disappointed by the lack of certain features in both my amp itself as well as the associated desktop app provided by its manufacturer. Failing to find a starting point which used modern languages/technologies I could build upon (.NET doesnt count), I developed this little module based on the reverse-engineering work others initiated.

⚙️ Specifications

This library requires Python 3.8+ to be installed on your system (due to demands of the protobuf 5 module). Additionally, the library only supports HID USB operations (no MIDI).

🚀 Quickstart

pip install lt25

💾 Usage

For full documentation of the LT25 and LT25Async classes, refer to the wiki.

Demonstration loop:

import time
import lt25

amp = lt25.LT25()
amp.connect()
amp.send_sync_begin()
amp.send_sync_end()
amp.set_preset(5)
amp.set_qa_slots([1,2])
amp.request_firmware_version()
for i in range(5):
    amp.send_heartbeat()
    print(amp.request_qa_slots())
    time.sleep(1)
amp.disconnect()

🗺️ Roadmap

Compatibility with LtAmp protocol:

  • Audio Status
  • Audition Preset (status, start, exit)
  • Clear/rename/shift/swap/save (to/as) preset
  • Connection Status
  • Current Preset (request/load)
  • DSP Unit Parameter
  • Firmware Version
  • Heartbeat
  • ⭐ LT4 Footswitch Mode
  • Loopback
  • Memory usage
  • Processor Utilization
  • QA Slots
  • Sync (Modal Status)
  • USB Gain

Other TODOs:

  • Publish to Pypi
  • Continuous Deployment
  • LT25Async/Base Classes
  • Unit Testing
  • Complete Protocol
  • Other Amps

🛠️ Contributing

lt25.py is licensed under the permissive MIT license, which means that you may fork, modify, adapt, and redistribute with few restrictions. If you wish to contribute your changes back to the base module, please open a pull request. To report bugs, request features, or discuss the project, open an issue or discussion.

🙌 Acknowledgements

  • Brent Maxwell (@brentmaxwell) and his LtAmp .NET libray: his published reverse engineering docs, schemas, proto files, etc. were instrumental in the creation of this Python module.
    • Additionally, some of the goals of his work greatly inspired those of this project.

Metadata

Release files for lt25 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lt25 0.1.2
File Size Uploaded Provenance Actions
lt25-0.1.2.tar.gz 16.1 kB With provenance Details for lt25-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lt25 0.1.2
File Interpreter ABI Platform Actions
lt25-0.1.2-py3-none-any.whl Python 3 none any Details for lt25-0.1.2-py3-none-any.whl

Total release size: 76.5 kB

Release files / lt25-0.1.2.tar.gz

Download URL lt25-0.1.2.tar.gz
Size 16.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e9927f7557e0f02bc1018847e797329f8c4962c9b2ff38ac3e22ad146ae0e38c
BLAKE2b-256 checksum
How to use checksums
4d3ba1c00acbde5fd5eb2b0349b9c39191a971474f622fc5b6c7ad6dc7259a3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 9, 2025.

Transparency log

Release files / lt25-0.1.2-py3-none-any.whl

Download URL lt25-0.1.2-py3-none-any.whl
Size 60.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3254d2ceb77b05e3c5288d362f1e49256c12b98ebc8317ebf764c0b48b32997d
BLAKE2b-256 checksum
How to use checksums
88617d5f147208065105f380f5af2d82ddc743be41c0fed8f2232edf23c726e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 9, 2025.

Transparency log

Security for lt25 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for lt25-0.1.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 9, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page