Skip to main content

IBM i XMLSERVICE toolkit for Python

Project description

Python XMLSERVICE Toolkit

Build Status Latest version released on PyPi Python Version Support Documentation Status

itoolkit is a Python interface to the XMLSERVICE toolkit for the IBM i platform.

from itoolkit import *
from itoolkit.transport import DatabaseTransport
import ibm_db_dbi

conn = ibm_db_dbi.connect()
itransport = DatabaseTransport(conn)
itool = iToolKit()

itool.add(iCmd5250('wrkactjob', 'WRKACTJOB'))
itool.call(itransport)
wrkactjob = itool.dict_out('wrkactjob')

print(wrkactjob)

For more, check out the samples.

Supported Python Versions

python-itoolkit currently supports Python 2.7 and Python 3.4+.

:warning: Note: python-itoolkit 1.x will be the last series to support Python 2.7, 3.4, and 3.5. These versions will no longer be supported in python-itoolkit 2.0.

Feature Support

  • Call ILE programs & service programs
  • Call CL Commands
  • Call PASE shell commands

Documentation

The docs can be found at http://python-itoolkit.readthedocs.io/en/latest

Installation

You can install itoolkit simply using pip:

python -m pip install itoolkit

Tests

To test the installed itoolkit

python -m pytest

To test the local code:

PYTHONPATH=src python -m pytest

Contributing

Please read the contribution guidelines.

Releasing a New Version

Run the following commands

# checkout and pull the latest code from master
git checkout master
git pull

# bump to a release version (a tag and commit are made)
bumpversion release

# build the new distribution and upload to PyPI
poetry publish --build

# bump to the new dev version (a commit is made)
bumpversion --no-tag patch

# push the new tag and commits
git push origin master --tags

License

MIT - See LICENSE

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

itoolkit-1.7.2.tar.gz (47.5 kB view details)

Uploaded Source

Built Distribution

itoolkit-1.7.2-py2.py3-none-any.whl (31.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file itoolkit-1.7.2.tar.gz.

File metadata

  • Download URL: itoolkit-1.7.2.tar.gz
  • Upload date:
  • Size: 47.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.1 Linux/5.15.0-1031-azure

File hashes

Hashes for itoolkit-1.7.2.tar.gz
Algorithm Hash digest
SHA256 b9a39c35155520fe425aab305b8845317cde25881b8d7c7678988d084dc796ed
MD5 845fafb539fd60cbffc65d669cdf38d0
BLAKE2b-256 97346732b52c288825b9f04c673627714fd175c8a0f14ca7a1933f13e778bcbc

See more details on using hashes here.

File details

Details for the file itoolkit-1.7.2-py2.py3-none-any.whl.

File metadata

  • Download URL: itoolkit-1.7.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 31.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.1 Linux/5.15.0-1031-azure

File hashes

Hashes for itoolkit-1.7.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ac13f11171e5580a106564864ea4841375c24b57a648ccdb2fe6a8e48e1a847c
MD5 95c103a54558f3ca76e91e34c6e6f4ec
BLAKE2b-256 6becde61587b5b8f73fd1f5ecee90cec321704aab4f088b0ba5ab7e728410289

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page