Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Python XMLSERVICE Toolkit

Build Status Latest version released on PyPi Documentation Status codecov

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.0rc0.tar.gz (47.6 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.0rc0-py2.py3-none-any.whl (31.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file itoolkit-1.7.0rc0.tar.gz.

File metadata

  • Download URL: itoolkit-1.7.0rc0.tar.gz
  • Upload date:
  • Size: 47.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.2 CPython/3.8.6 Linux/5.8.15-201.fc32.x86_64

File hashes

Hashes for itoolkit-1.7.0rc0.tar.gz
Algorithm Hash digest
SHA256 9e8427125be112d8de747d9720011aafc2cebea5ef52f879fc752853dbd67302
MD5 8c6972c24300e06eea74ac0ab1b50e4a
BLAKE2b-256 b2ac34ef632160014a7cc8ece356e7ee6ab9fadced93332cefdeac1b1163afc1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: itoolkit-1.7.0rc0-py2.py3-none-any.whl
  • Upload date:
  • Size: 31.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.2 CPython/3.8.6 Linux/5.8.15-201.fc32.x86_64

File hashes

Hashes for itoolkit-1.7.0rc0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2b737af50e3f748fead0da039153007812f6820d7bc299cd7cc2d1731bb128b2
MD5 1a8c99f954e78a0736a2797a5ea62bbf
BLAKE2b-256 2716b022e3da6858d946a14073fed54249ce667a2468b4a07c2dda4889a3665d

See more details on using hashes here.

Release history Release notifications | RSS feed

1.7.2

2 files

1.7.1

2 files

1.7.0

2 files

This release

1.7.0rc0 This release

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