- Notifications
You must be signed in to change notification settings - Fork13
itoolkit is a Python interface to the XMLSERVICE toolkit for the IBM i platform.
License
NotificationsYou must be signed in to change notification settings
IBM/python-itoolkit
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
itoolkit is a Python interface to theXMLSERVICE toolkit for theIBM i platform.
fromitoolkitimport*fromitoolkit.transportimportDatabaseTransportimportpyodbcconn=pyodbc.connect("DSN=*LOCAL")itransport=DatabaseTransport(conn)itool=iToolKit()itool.add(iCmd5250('wrkactjob','WRKACTJOB'))itool.call(itransport)wrkactjob=itool.dict_out('wrkactjob')print(wrkactjob)
For more, check out thesamples.
- Call ILE programs & service programs
- Call CL Commands
- Call PASE shell commands
The docs can be found athttp://python-itoolkit.readthedocs.io/en/latest
You can install itoolkit simply usingpip
:
python -m pip install itoolkit
To test the installed itoolkit
python -m pytest
To test the local code:
PYTHONPATH=src python -m pytest
Please read thecontribution guidelines.
Run the following commands
# checkout and pull the latest code from mastergit checkout mastergit pull# bump to a release version (a tag and commit are made)bumpversion release# build the new distribution and upload to PyPIpoetry publish --build# bump to the new dev version (a commit is made)bumpversion --no-tag patch# push the new tag and commitsgit push origin master --tags
MIT - SeeLICENSE
About
itoolkit is a Python interface to the XMLSERVICE toolkit for the IBM i platform.
Topics
Resources
License
Stars
Watchers
Forks
Packages0
No packages published