Skip to main content

amxfirmware

use amxtelnet results to check master and device firmware against versions provided. asyncio: n/a

MasterFirmware(firmware_dir):

firmware_dir: Directory to store firmware lists that will be created.

set_systems(systems):

List of dicts, where each dict is an AMX system (or at least an AMX master controller).

Required keys in each dict:

full_name: string. Name that will end up being imported into your Netlinx address book.
ip_address: string. Formatted like '192.168.1.1'
master_model: string. Formatted like 'NI-700'
master_serial: string. AMX serial number.

set_versions(ni_700_current,ni_x100_current,nx_current):

ni_700_current: string in this format: '1.23.456'. Length of segments does not matter. No letters.

ni_x100_current: string in this format: '1.23.456'. Length of segments does not matter. No letters.

nx_current: string in this format: '1.23.456'. Length of segments does not matter. No letters.

run():

Begins parsing information from the files located in input_path, then creates .csv files of each version that has updates. Masters that are already up to date will be put in a list named 'master fw up to date.csv'. Masters that didn't have all of the required keys will be put into 'master fw skipped.csv'. New k:v pairs named 'master_update_list' and 'master_update_info' will also be added to each system which is then bundled with the rest and returned in a list.

DeviceFirmware(firmware_dir):

firmware_dir: Directory to store firmware lists that will be created.

set_systems(systems):

List of dicts, where each dict is an AMX system (or at least an AMX master controller).

Required keys in each dict:

full_name: string. Name that will end up being imported into your Netlinx address book.
ip_address: string. Formatted like '192.168.1.1'
master_model: string. Formatted like 'NI-700'
master_serial: string. AMX serial number.

set_versions(ni_700_current,nx_current):

ni_current: string in this format: '1.23.456'. Length of segments does not matter. No letters.

nx_current: string in this format: '1.23.456'. Length of segments does not matter. No letters.

run():

Begins parsing information from the files located in input_path, then creates .csv files of each version that has updates. Controllers that are already up to date will be put in a list named 'device fw up to date.csv'. Masters that didn't have all of the required keys will be put into 'device fw skipped.csv'. New k:v pairs named 'device_update_list' and 'device_update_info' will also be added to each system which is then bundled with the rest and returned in a list.

Metadata

Release files for amxfirmware 0.0.5

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

Source distribution (sdist)

Source distribution for amxfirmware 0.0.5
File Size Uploaded
amxfirmware-0.0.5.tar.gz 5.1 kB Details

Built distribution (wheel)

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

Total release size: 10.0 kB

Release files / amxfirmware-0.0.5.tar.gz

Download URL amxfirmware-0.0.5.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a7810b269c43f0c690b29dbd401bfda50927eaeee1438a2826ca863fc42e373d
BLAKE2b-256 checksum
How to use checksums
98bcfee39078724a876e54b8013b78ac46e2e1f3b3b079c73edc6215e9acdf03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

Release files / amxfirmware-0.0.5-py3-none-any.whl

Download URL amxfirmware-0.0.5-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
17c6a65c18b2f9cb7f84e574a8f224f274d6b364e1832a2ed154d0ce23c33213
BLAKE2b-256 checksum
How to use checksums
974945aa7b4bcdabd5c5fff3c3097fc1d7199001b1613065beabb402ea42ca6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

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