{ "info": { "author": "IBM", "author_email": "", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "Python XMLSERVICE Toolkit\n=========================\n\n[![Build Status](https://travis-ci.com/IBM/python-itoolkit.svg?branch=master)](https://travis-ci.com/IBM/python-itoolkit)\n[![Latest version released on PyPi](https://img.shields.io/pypi/v/itoolkit.svg)](https://pypi.python.org/pypi/itoolkit)\n[![](https://img.shields.io/pypi/pyversions/itoolkit.svg)](https://pypi.org/project/itoolkit/)\n[![Documentation Status](https://readthedocs.org/projects/python-itoolkit/badge/?version=latest)](https://python-itoolkit.readthedocs.io/en/latest/?badge=latest)\n\nitoolkit is a Python interface to the [XMLSERVICE](https://bitbucket.org/inext/xmlservice-rpg) toolkit for the [IBM i](https://en.wikipedia.org/wiki/IBM_i) platform.\n\n```python\nfrom itoolkit import *\nfrom itoolkit.transport import DatabaseTransport\nimport ibm_db_dbi\n\nconn = ibm_db_dbi.connect()\nitransport = DatabaseTransport(conn)\nitool = iToolKit()\n\nitool.add(iCmd5250('wrkactjob', 'WRKACTJOB'))\nitool.call(itransport)\nwrkactjob = itool.dict_out('wrkactjob')\n\nprint(wrkactjob)\n```\n\nFor more, check out the [samples](samples).\n\nFeature Support\n---------------\n\n- Call ILE programs & service programs\n- Call CL Commands\n- Call PASE shell commands\n\niLibCall and 64-bit Support\n---------------------------\n\n:rotating_light: WARNING WARNING WARNING :rotating_light:\n\nDue to limitations in XMLSERVICE, using iLibCall in a 64-bit process results in failure. See [this bug](https://github.com/IBM/python-itoolkit/issues/17) for more info.\n\nDocumentation\n-------------\n\nThe docs can be found at \n\nInstallation\n------------\n\nYou can install itoolkit simply using `pip`:\n\n```bash\npython -m pip install itoolkit\n```\n\nTests\n-----\n\nTo test the installed itoolkit\n\n```bash\npython -m pytest tests\n```\n\nTo test the local code:\n\n```bash\nPYTHONPATH=src python -m pytest tests\n```\n\nContributing\n------------\n\nPlease read the [contribution guidelines](CONTRIBUTING.md).\n\nReleasing a New Version\n-----------------------\n\nRun the following commands\n\n```\n# checkout and pull the latest code from master\ngit checkout master\ngit pull\n\n# bump to a release version (a tag and commit are made)\nbumpversion release\n\n# remove any old distributions\nrm dist/*\n\n# build the new distribution\npython setup.py sdist\n\n# bump to the new dev version (a commit is made)\nbumpversion --no-tag patch\n\n# push the new tag and commits\ngit push origin master --tags\n\n# upload the distribution to PyPI\ntwine upload dist/*\n```\n\nLicense\n-------\n\nMIT - See [LICENSE](LICENSE)", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/litmis/python-itoolkit", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "itoolkit", "package_url": "https://pypi.org/project/itoolkit/", "platform": "", "project_url": "https://pypi.org/project/itoolkit/", "project_urls": { "Homepage": "https://bitbucket.org/litmis/python-itoolkit" }, "release_url": "https://pypi.org/project/itoolkit/1.6.2/", "requires_dist": null, "requires_python": "", "summary": "IBM i XMLSERVICE toolkit for Python", "version": "1.6.2" }, "last_serial": 5842970, "releases": { "1.5.1": [ { "comment_text": "", "digests": { "md5": "747634ebf66111ee41e5e9c539be428e", "sha256": "8d1769d6e42701292aaf86a5761ea645945e390ffe7906970306a956dbb1a833" }, "downloads": -1, "filename": "itoolkit-1.5.1.tar.gz", "has_sig": false, "md5_digest": "747634ebf66111ee41e5e9c539be428e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25013, "upload_time": "2018-09-07T22:21:23", "url": "https://files.pythonhosted.org/packages/2c/fb/41df9de297828cde7e362186f23e3c711d41c7b54979176d91f82d56ef7a/itoolkit-1.5.1.tar.gz" } ], "1.6.0": [ { "comment_text": "", "digests": { "md5": "113fc913a5eff73d525cf8b77b2b0113", "sha256": "bff5f303fdfaaa93db53255132eac3fbe2d43d1c2c1bd2d5497bb2bf440561c9" }, "downloads": -1, "filename": "itoolkit-1.6.0.tar.gz", "has_sig": false, "md5_digest": "113fc913a5eff73d525cf8b77b2b0113", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28339, "upload_time": "2019-05-09T20:07:30", "url": "https://files.pythonhosted.org/packages/6c/c7/33e08b2c2e34463e9cdeae6968c4eb3939e65e892a0f0d94761393290dba/itoolkit-1.6.0.tar.gz" } ], "1.6.1": [ { "comment_text": "", "digests": { "md5": "772bab4a9a1d1d0070b4e63edd2574fc", "sha256": "38788052c923734dd2e5d145cd55426b1cd4905319376cde1516092cc9d6cd67" }, "downloads": -1, "filename": "itoolkit-1.6.1.tar.gz", "has_sig": false, "md5_digest": "772bab4a9a1d1d0070b4e63edd2574fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29673, "upload_time": "2019-05-28T21:44:34", "url": "https://files.pythonhosted.org/packages/0f/63/bc30445987ec1030e45b3a4f586b9ff5a78bd112974c5b8321ec55526964/itoolkit-1.6.1.tar.gz" } ], "1.6.2": [ { "comment_text": "", "digests": { "md5": "3957f9ff3870508a003aa939ea9dc325", "sha256": "714fe075415e971bb73dda155a2209f0e0602c4be9569244b517b3c8e93e7f0b" }, "downloads": -1, "filename": "itoolkit-1.6.2.tar.gz", "has_sig": false, "md5_digest": "3957f9ff3870508a003aa939ea9dc325", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29749, "upload_time": "2019-09-17T17:52:40", "url": "https://files.pythonhosted.org/packages/b2/b6/b37effa20828893f53627f0af6b8a678774beaf5b70a58e2fdac76fbc1c3/itoolkit-1.6.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3957f9ff3870508a003aa939ea9dc325", "sha256": "714fe075415e971bb73dda155a2209f0e0602c4be9569244b517b3c8e93e7f0b" }, "downloads": -1, "filename": "itoolkit-1.6.2.tar.gz", "has_sig": false, "md5_digest": "3957f9ff3870508a003aa939ea9dc325", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29749, "upload_time": "2019-09-17T17:52:40", "url": "https://files.pythonhosted.org/packages/b2/b6/b37effa20828893f53627f0af6b8a678774beaf5b70a58e2fdac76fbc1c3/itoolkit-1.6.2.tar.gz" } ] }