Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install python-dikbm-adapter

How to install python-dikbm-adapter

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install python-dikbm-adapter
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
Linux (32-bit)
0.1.1
0.1.7Never BuiltWhy not?
0.1.1 Available View build log
Linux (64-bit)
0.1.7 Available View build log
 
License
MIT
Imports
Lastest release
version 0.1.7 on Jan 9th, 2014

[Русская документация](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

Subscribe to package updates

Last updated Jan 9th, 2014

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.