Skip to main content

[Русская документация](python-dikbm-adapter/blob/master/README-ru.md)

Installation

installation is simple

easy_install python-dikbm-adapter

or

pip install python-dikbm-adapter

or

pip install git+https://github.com/suvit/python-dikbm-adapter

Settings

Please, create settings.ini file in the same dir as dikbm_main script installed

Sample of ini file

[DiKBM] username = my_secret_username password = my_secret_password

other settings and their default values

[DiKBM]

incomingDir = incoming outgoingDir = outgoing errorDir = error logDir = log #statusDir = status #tempStatus = tempStatus

kbmToServiceUrl = http://172.19.3.9/dkbm-ws-1.0/services/kbmToServiceNoMtom?wsdl PolicyLossServiceUrl = http://172.19.3.9/dkbm-ws-1.0/services/policyLossService?wsdl historyServiceUrl = http://172.19.3.9/dkbm-ws-1.0/services/historyService?wsdl

in the same ini file may be placed logging settings

Example of logging settings

[loggers] keys=root, suds

[handlers] keys=console, default

[formatters] keys=simple, advanced, verbose

[logger_root] level=DEBUG #handlers=console handlers=default

[logger_suds] level=INFO #handlers=console handlers=default qualname=suds propagate=0

[handler_console] class=StreamHandler level=DEBUG formatter=advanced args=(sys.stdout,)

[handler_default] class=FileHandler level=INFO formatter=advanced filename=main.log args=(‘log/main.log’, ‘a’)

[formatter_simple] format = %(levelname)s - %(message)s

[formatter_advanced] format = %(asctime)s - %(levelname)s - %(name)s - %(message)s

[formatter_verbose] format = %(asctime)s - %(levelname)s - %(name)s - %(module)s - %(process)d - %(thread)d - %(message)s

to run use virtualenv/bin/dikbm_main or virtualenv/Scripts/dikbm_main.exe

you may add dikbm_main script to cron job or windows task

Metadata

Release files for python-dikbm-adapter 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-dikbm-adapter 0.1.7
File Size Uploaded Provenance
python-dikbm-adapter-0.1.7.zip 8.6 kB Without provenance Details

Release files / python-dikbm-adapter-0.1.7.zip

Download URL python-dikbm-adapter-0.1.7.zip
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7648fa89e64821691f8dabe6f55db21cd0436eea88ad3a3561c888e340f1d702
BLAKE2b-256 checksum
How to use checksums
053a8e2f80ee4b8b6dbc8775e4d146afb71d0d396d18d148c4cb7acba68ee823
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for python-dikbm-adapter 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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