pylawson
This package exposes a Python API to connect to Infor Lawson IOS services.
The pylawson.client package contains Session objects for authenticating on the lawson server:
sec_api.SecApiSession for Windows utilizes the sec-api.dll library which is installed with
the Lawson Excel Add-Ins; and ms_samlpr.SamlSession which uses requests to robotically
authenticate through the SAML login session.
Simple use:
First create a json file with connection details (each value is optional and can alternatively be passed directly to the session instantiation):
{
"lawson": {
"lawson_server": "https://target.resource/sso/SSOServlet",
"ident_server": "http://identity.provider/adfs",
"ident_host": "identity.provider",
"username": "username",
"password": "password"
}
}
Then write a couple of lines of code:
from pylawson.client import SamlSession as Ios
lawson = Ios(json_file='./pylawson.json')
response = lawson.tokens({'systemCode': 'GL'})
This authenticates on the server and returns Lawson's XML response in a string with the result of a ListTokens action for the GL system.
NOTE: The IOS URLs and parameters are documented in Infor's 'Doc for Developers: IOS Application Program Interfaces--Windows' available on the Infor Xtreme support site.
Metadata
Release files for pylawson 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pylawson-0.3.tar.gz | 9.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pylawson-0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.0 kB
Release files / pylawson-0.3.tar.gz
| Download URL | pylawson-0.3.tar.gz |
|---|---|
| Size | 9.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6b09a53a78c07eaa8a011be8b881ca1d86e249f3ce8d9206c72b2322c4f05d2b
|
|
BLAKE2b-256 checksum How to use checksums |
ac4bb48be73bf0c659057c2936c167b324b3d68a2189fffbd5a9d5d6571c4a04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / pylawson-0.3-py3-none-any.whl
| Download URL | pylawson-0.3-py3-none-any.whl |
|---|---|
| Size | 10.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
90ff8fdfbec1394dce050304d876f85eb68f594c6abfae184e168d1a8446d9a5
|
|
BLAKE2b-256 checksum How to use checksums |
762fbc89676591834772555f6c89f636c1fb41dd103105d0e9b8ad6006b5a8ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|