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.1.0.250408.tar.gz (48.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.1.0.250408-py3-none-any.whl (100.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ka_uts_wdp-2.1.0.250408.tar.gz
  • Upload date:
  • Size: 48.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.1.0.250408.tar.gz
Algorithm Hash digest
SHA256 fbb1e7683daa938ee4900ba1bbd5140e8bba8d074409af6902d77d438748a894
MD5 6903e332f0a3292177f4c0857c22a356
BLAKE2b-256 30ac4fa660fb32bb80ee06ee0895d6005abdc0c948748f1f3ec8ab7a107902b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ka_uts_wdp-2.1.0.250408-py3-none-any.whl
Algorithm Hash digest
SHA256 4ad2db22932cc2dd073b34f7bab29fc99233f8218897bca278eb4d859352f358
MD5 2de17da195f99d3f3e95749b46cf592a
BLAKE2b-256 ec5d3d07c9c64697635709df2df0d160f34ef2801586724aafa9ede4cff0c6bf

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