Skip to main content

amxlogs

finds, extracts, and clears logs from AMX devices using ftp

LogSniffer():

returns:

logs are written to file and/or logged.

set_systems():

list of dicts where each dict is an AMX system.

minimum key requirements:

'full_name' (string)
'master_ip' (string)

config():

user_name: user name used to login to AMX

password: password used to login to AMX

log_type: default 'error_log', case insensitive.

Also try 'camera_log'. Additional types depend on what you name them when you create them in the AMX program. So if you had AMX create logs called late_night_usage.txt, log_type would be 'late_night_usage'.

output_dir: path to dir used to store received files.

File name is created using 'full_name' amx logfile name

clear_logs: default False.

Use True to delete the log files after they are downloaded.

debug_ftp: default 0.

Set to 1 to view ftplib's builtin debugger on stdout.

timeout: default 10. Seconds to timeout socket connection.

run():

Begin connecting to systems in set_systems(), download logs that match log_type, using settings from config()

Metadata

Release files for amxlogs 1.1.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 amxlogs 1.1.3
File Size Uploaded
amxlogs-1.1.3.tar.gz 3.9 kB Details

Built distribution (wheel)

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

Total release size: 7.7 kB

Release files / amxlogs-1.1.3.tar.gz

Download URL amxlogs-1.1.3.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
00aba22a9341265b4784c98bc91815caf6710bbe637cd86d8f2cfaeb4b06781e
BLAKE2b-256 checksum
How to use checksums
eb3a99868b7379e204796acbb1749428def7a822c221aaf895f424ae71b43264
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 / amxlogs-1.1.3-py3-none-any.whl

Download URL amxlogs-1.1.3-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e0ab063ea123d040b74654b7f8aa3a863c5e8ee21ee8f100905f9a213e2b18e8
BLAKE2b-256 checksum
How to use checksums
088080e9d6b9a42898566cc236f61f4d3ba791bdc744947d35e0c4809e79db81
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

1.1.3 This release

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

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