Skip to main content

Watchdog Processor

Project description

Overview

Dictionary ‘Utilities’

Installation

Package ka_uts_wdp can be installed from PyPI or Anaconda.

To install with pip:

$ python -m pip install ka_uts_wdp

To install with conda:

$ conda install -c conda-forge ka_uts_wdp

Package logging

Standard or user specific Package logging of the package ka_uts_wdp is defined in the static logging class Log_ of Base module log_.py of the Communication Package ka_uts_com. The default Logging configuration is defined by the yaml files log.std.yml or log.usr.yml in the data directory of the Communication package. The Logging configuration could be overriden by yaml files with the same names in the data directory of the application package ka_uts_wdp. Logging defines log file paths for the following log message types: .

  1. debug

  2. error

  3. info

  4. log

Naming conventions for logging file

Type

Directory

File

debug

/data/<tenant>/RUN/<package>/<function>/debs

debs_<pid>_<ts>.log

error

/data/<tenant>/RUN/<package>/<function>/errs

errs_<pid>_<ts>.log

warning

/data/<tenant>/RUN/<package>/<function>/errs

wrns_<pid>_<ts>.log

info

/data/<tenant>/RUN/<package>/<function>/logs

infs_<pid>_<ts>.log

log

/data/<tenant>/RUN/<package>/<function>/logs

logs_<pid>_<ts>.log

Naming examples of logging file

Type

Directory

File

debug

/data/umh/RUN/umh_otec/srr/debs

debs_9470_1737118199.log

error

/data/umh/RUN/umh_otec/srr/errs

errs_9470_1737118199.log

warning

/data/umh/RUN/umh_otec/srr/errs

errs_9470_1737118199.log

info

/data/umh/RUN/umh_otec/srr/logs

logs_9470_1737118199.log

Package files

Classification

The Files of Package ka_uts_wdp could be classified into the follwing file types:

  1. Dunder modules

  2. Special files

  3. Data files

  4. Sub Package

Special files

Special files of package ka uts wdp

Name

Type

Description

py.typed

Type checking marker file

The py.typed file is a marker file used in Python packages to indicate that the package supports type checking. This is a part of the PEP 561 standard, which provides a standardized way to package and distribute type information in Python.

Dunder Modules

Dunder-Modules

Name

Type

Description

__init__.py

Package directory marker file

The module is used to execute initialisation code or mark the directory it contains as a package. The Module enforces explicit imports and thus clear namespace use and call them with the dot notation.

__version__.py

Version file

The module consist of Assignment Statements for system Variables used in Versioning.

Sub-packages

The Package ka_uts_wdp contains the sub-package pmeh:

Sub-package pmeh

The Sub-package pmeh contains following files:

  1. special file: py.typed

  2. dunder module: __init__.py

  3. modules: wdp.py

Module: wdp.py

The Module wdp.py contains the followinga classes:

Name

Type

Description

CustomHandler

normal

Custom Handler of PatternMatchingEventHandler

WdP

static

Watch Dog Processor

Class: CustomHandler

The class CustomHandler contains the subsequent methods.

Instance Methods
Instance Methods of class CustomHandler

Name

Description

__init__

Initialise class CustomHandler

on_created

Process event ‘File refered by file path is created’

on_modified

Process ‘File refered by file path is modified’ event

Class: WdP

The static class WdP contains the subsequent methods.

Methods
Methods-of-class-WdP

Name

Description

pmeh

WatchDog Task for pattern matching of files paths

Appendix

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ka_uts_wdp-2.0.0.250403.tar.gz (19.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ka_uts_wdp-2.0.0.250403-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file ka_uts_wdp-2.0.0.250403.tar.gz.

File metadata

  • Download URL: ka_uts_wdp-2.0.0.250403.tar.gz
  • Upload date:
  • Size: 19.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for ka_uts_wdp-2.0.0.250403.tar.gz
Algorithm Hash digest
SHA256 03ef9f04d9050364864951c7fee13d84d4ac4e19fe22e6662b6c52ebb589d927
MD5 23e395b9f63295df485326cb8d9490d6
BLAKE2b-256 45dceee3f086343b43991804c8af484f3727caf66e39b52b98607de04825461d

See more details on using hashes here.

File details

Details for the file ka_uts_wdp-2.0.0.250403-py3-none-any.whl.

File metadata

File hashes

Hashes for ka_uts_wdp-2.0.0.250403-py3-none-any.whl
Algorithm Hash digest
SHA256 0b93c497859e5101861ca5003c02599b36796b77cfc8c913396f5dbe843c0e4a
MD5 996bb549c0e8cc11c58e0a171b98f632
BLAKE2b-256 bec769bb09540883e48ffbc36011dee4928bc7b84e204b1eb44185274b45a2bb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page