Skip to main content

Infor Lawson IOS API Wrapper

Project description

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.

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

pylawson-0.3.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pylawson-0.3-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file pylawson-0.3.tar.gz.

File metadata

  • Download URL: pylawson-0.3.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for pylawson-0.3.tar.gz
Algorithm Hash digest
SHA256 6b09a53a78c07eaa8a011be8b881ca1d86e249f3ce8d9206c72b2322c4f05d2b
MD5 dbc9798c5639fab7bf2b3a7c3d8ecbdf
BLAKE2b-256 ac4bb48be73bf0c659057c2936c167b324b3d68a2189fffbd5a9d5d6571c4a04

See more details on using hashes here.

File details

Details for the file pylawson-0.3-py3-none-any.whl.

File metadata

  • Download URL: pylawson-0.3-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for pylawson-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 90ff8fdfbec1394dce050304d876f85eb68f594c6abfae184e168d1a8446d9a5
MD5 7b11e2ec68474bda926c32b0449389df
BLAKE2b-256 762fbc89676591834772555f6c89f636c1fb41dd103105d0e9b8ad6006b5a8ac

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