Skip to content

Utility notebook for using Jupyter notebooks with IBMi for basic reports and visualizations.

License

Notifications You must be signed in to change notification settings

barrettotte/IBMi-Jupyter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IBMi-Jupyter

Utility notebook for using Jupyter notebooks with IBMi for basic reports and visualizations.

Example

[Cell 1]

# Loads IBMi notebook
%%run IBMi.ipynb

[Cell 2]

-- Do a simple DB2 query
%%ibmi

select *
from QSYS2.SYSTABLES
limit 10;

See more in tests/Test.ipynb

Setup

  • Install dependencies - pip3 install jupyter pandas matplotlib numpy pyodbc
  • Open Jupyter - jupyter notebook (current directory)
  • Hosted locally at - http://localhost:8888/notebooks

Additional Jupyter Commands

  • %%javascript - javascript code cell
  • %load_ext sql - load iPython SQL extension
  • %quickref - quick reference of IPython
  • %%run <file> - run another notebook
  • %%sql - SQL code cell

References

About

Utility notebook for using Jupyter notebooks with IBMi for basic reports and visualizations.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published