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. Special files

  2. Dunder modules

  3. Sub Package

  4. Data files

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.

Methods
Methods of class CustomHandler

Name

Type

Description

__init__

instance

Initialise class CustomHandler

on_created

instance

Process event ‘File refered by file path is created’

on_modified

instance

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

Type

Description

pmeh

static

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.1.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.1.250403-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ka_uts_wdp-2.0.1.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.1.250403.tar.gz
Algorithm Hash digest
SHA256 aa461c06559c0edad881778bb71a3ad3602971d9996353589e6f03715f4b6750
MD5 ab2e9e1d53a29144b073588108444f69
BLAKE2b-256 de53f7d4a670d5ea7b3babb11a0adaa977b6f74a730faafff0845a6d8a54b3ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ka_uts_wdp-2.0.1.250403-py3-none-any.whl
Algorithm Hash digest
SHA256 671dd7f70d0ebfc000b2391b794ae0341896912658a14a8164e9445c0fe80cc1
MD5 c63e9b9f5cb240940ab39a00305048cb
BLAKE2b-256 4ea40e44ab40e1df92f0d55f4cbf9bb05b3c22e8d85cd65338274c2e8070da01

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