Skip to main content

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

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.1.tar.gz (47.4 kB view details)

Uploaded Source

Built Distribution

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

itoolkit-1.7.1-py2.py3-none-any.whl (31.3 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: itoolkit-1.7.1.tar.gz
  • Upload date:
  • Size: 47.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.10.6 Linux/5.15.0-1017-azure

File hashes

Hashes for itoolkit-1.7.1.tar.gz
Algorithm Hash digest
SHA256 5fdca87b9bec62428937c6feb3f815d991a7c4b0dd071ad524aa82f281e0e2cc
MD5 264a506572d9a945f2cce3da22f1d58b
BLAKE2b-256 f50c5f93ecfea3940e2ade9cdb62ae523b4a7f30cb1ab8daaedba5042916196b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: itoolkit-1.7.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 31.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.10.6 Linux/5.15.0-1017-azure

File hashes

Hashes for itoolkit-1.7.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6121879733c596479771c7c42d37d452309860c4818dba382b5ad6205271e477
MD5 b515d0ab659b99efdd3e012601ca538f
BLAKE2b-256 7089b37f75476b50522ddfaa6fa627c2c85ee1ecdda4447b939e0b17fdb02de6

See more details on using hashes here.

Release history Release notifications | RSS feed

1.7.2

2 files

This release

1.7.1 This release

2 files

1.7.0

2 files

1.6.2

1 file

1.6.1

1 file

1.6.0

1 file

1.5.1

1 file

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