Skip to main content

adderlib

adderlib is an unofficial python implementation of the Adder API, for use with Adderlink KVM systems.

With adderlib, you can:

  • Log in or out as an existing KVM user
  • Query lists of transmitters, receivers, and channels available to the user
  • Access many properties of the KVM devices
  • Connect receivers to channels
  • Manage presets

...and so much more! Well, a little bit more.

Getting Started

The best way to get started is to check out the examples, and then the official documentation on ReadTheDocs. But in general, it's four easy steps:

from adderlib import adder

# Step 1: Create a handle to the API by passing the IP address or hostname of the AIM (the KVM server)
api = adder.AdderAPI("192.168.1.10")

# Step 2: Log in using an exising KVM account
api.login("username","password")

# Step 3: Do some stuff
for tx in api.getTransmitters():
  do_some_stuff(tx)
  
# Step 4: Don't forget to log out!
api.logout()

Customizable

Boy oh boy is this customizable! An UrlHandler abstract class is provided. Subclass this and override the api_call() method to communicate with the server however you wish! I sure spent a lot of time on the default RequestsHandler class, which uses the requests library but that's ok I'm sure you have your reasons.

Metadata

Release files for adderlib 1.0.3

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

Source distribution (sdist)

Source distribution for adderlib 1.0.3
File Size Uploaded
adderlib-1.0.3.tar.gz 24.3 kB Details

Built distribution (wheel)

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

Total release size: 49.6 kB

Release files / adderlib-1.0.3.tar.gz

Download URL adderlib-1.0.3.tar.gz
Size 24.3 kB
Tags Source
SHA-256 checksum
How to use checksums
671489dd0900808ab060669fc5527f400eb5e935a321b29714e7373dc25e5637
BLAKE2b-256 checksum
How to use checksums
fd45acc283d3a806a87986bdddadeec38b0f0220829916addb8a3776a2579b39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / adderlib-1.0.3-py3-none-any.whl

Download URL adderlib-1.0.3-py3-none-any.whl
Size 25.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3c12f78560c4523cfe9bd89b03ce297e7dda9836d7cd220263982355a3bc38bf
BLAKE2b-256 checksum
How to use checksums
20a1be1c69672711b80964f6588654d1c3d8e065c28d62034a1d4634bc61bccd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

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