Installation¶
pji is currently hosted on PyPI. It required python >= 3.6.
You can simply install pji from PyPI with the following command:
pip install pji
You can also install with the newest version through GitHub:
pip install -U git+https://github.com/hansbug/pji.git@main
You can check your installation by the following python script:
1 2 3 4 5 6 | from pji.config.meta import __TITLE__, __AUTHOR__, __VERSION__, __DESCRIPTION__ if __name__ == '__main__': print(__TITLE__, __VERSION__) print('Developed and maintained by', __AUTHOR__) print(__DESCRIPTION__) |
The output should be like below, which means your installation is successful.
1 2 3 | pji 0.1.7 Developed and maintained by HansBug Python library which can do complex test in educational area. |
In addition, you can also use the pji command line tool directly to test and view the version.
1 | pji -v |
The output should be
1 2 | Pji, version 0.1.7. Developed by HansBug, hansbug@buaa.edu.cn. |
pji is still under development, you can also check out the documents in stable version through https://hansbug.github.io/pji/.