Communication Area
Installation
ka_ut_com can be installed from PyPI or Anaconda.
To install with pip:
$ python -m pip install ka_ut_com
To install with conda:
$ conda install -c conda-forge ka_ut_com
This requires that the readme extra is installed:
$ python -m pip install ka_ut_com[readme]
Configuration
The Configuration of general or tenant specific Package logging is defined in Yaml Configuration Files in the data directory <Package Name>/data of the Package.
Logging Type |
Configuration File |
Description |
|---|---|---|
general |
log.yml |
the Python Logger compatible general Configuration file is used to define tenant independend logging |
tenant |
log.main.tenant.yml |
the Python Logger compatible tenant Configuration file is used to define tenant dependend logging |
Modules
ka_ut_com contains the following modules.
Base Modules
Module |
Description |
|
com.py |
The com module contains the the Base Communication class Com and Utility Classes: |
|
Class |
Description |
|
Com |
Base Communication Setup |
|
Standard |
Standard Log Configuration |
|
Person |
Person based Log Configuration |
|
Cfg |
Configuration Management |
|
Mgo |
Mongo Db Configuration Management |
|
App |
Setup Application Management |
|
Exit |
Setup Exit Handling |
|
Utility Modules
Module |
Description |
||
pacmod.py |
The pacmod module contains the Pacmod Class with the following Components (Functions and sub classes): |
||
Component |
Type |
Description |
|
sh |
function |
show pacmod dictionary |
|
Cfg |
class |
Configuration Class |
|
Pmd |
class |
Package Module Sub Class |
|
Path |
class |
Path Management Class |
|
ioc.py |
The ioc module contains I/O Classes for the following file types: yaml, json |
||
Class |
Description |
||
Yaml |
I/O for yaml files |
||
Json |
I/O for json files |
||
Special Modules
Module |
Description |
|
__init__.py |
dummy Init Module: contains no Statements |
|
__version__.py |
contains Assignment Statements for Version System Variables: |
|
System Variable |
Example |
|
__title__ |
‘ka_ut_com’ |
|
__description__ |
‘Communication Area Utilities.’ |
|
__url__ |
||
__version___ |
‘2023.2.2’ |
|
__build__ |
0x022200 |
|
__author_email__ |
‘Bernd Stroehle’ |
|
__license__ |
‘Apache-2.0’ |
|
__copyright__ |
‘Copyright 2023 bs29’ |
|
__cake__ |
u’u2728 U0001f370 u2728’ |
|
Appendix
Release files for ka-ut-com 2023.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ka_ut_com-2023.2.2.tar.gz | 45.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ka_ut_com-2023.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 120.3 kB
Release files / ka_ut_com-2023.2.2.tar.gz
| Download URL | ka_ut_com-2023.2.2.tar.gz |
|---|---|
| Size | 45.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb63fded185894f15607806a38f1694281a45f5172f7461c18d2ce6f97649fdd
|
|
BLAKE2b-256 checksum How to use checksums |
a37a32a30d19c44776ee2dc98c5c10e2b3b4980e00488ed62c7281a01892bbf5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.11
|
Release files / ka_ut_com-2023.2.2-py3-none-any.whl
| Download URL | ka_ut_com-2023.2.2-py3-none-any.whl |
|---|---|
| Size | 75.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
84e61ea244e00933cbee5c4d628dd1bfd4c9bbb1697ee7082f63f8eb1c2adae8
|
|
BLAKE2b-256 checksum How to use checksums |
f0ac1827c932cf07c40ce24498e77b791f08f10974e7d29a07b7f7ad221386ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.11
|