This repository houses a Python package, PyHPCC, to interact with HPCC Systems using the web services exposed by the HPCC platform.
- Python preferably version 3.x.
NOTE: On a Windows machine, ensure the path to Python is added to the System Environment Variables. Follow this YouTube video for instructions on how to add Python to Environment Variables. - Install ECL Client Tools
Before installing PyHPCC, ensure you have ECL client tools installed on your machine. The method for installing client tools varies on Windows and Linux systems.
Installing ECL IDE on a Windows machine installs ECL Client Tools by default--it need not be installed separately. The path to the Client Tools need to be added to the Windows Environment Variables:
- On the Windows search bar, type environment variables and select Edit the system environment variables.
- In the resulting window, click the Environment Variables... button at the bottom.
- Under the System variables block, double-click on the Path variable.
- Add the Client Tools path to the list under the Path variable. The path looks something like this:
C:\Program Files\HPCCSystems\8.4.10\clienttools\bin
. - Open a Command Prompt window, and type
ecl --version
to test if ECL Client Tools are accessible thru command line.
NOTE: if you had a Command Prompt or VS Code window open while editting the Environment Variables, you will have to re-open the window to allow the new changes to be picked up.
- The easiest way to install the latest version is by downloading the latest PyHPCC .tar.gz package from the package folder on this Git repository onto your machine.
- Open a Command Prompt window, and navigate to the folder containing the PyHPCC .tar.gz package. Then, run
pip install pyhpcc-<downloaded-version>.tar.gz
command on your Command Prompt.
The ECL Client Tools needs to be installed separately on Linux machines from the HPCC System's Download webpage. Select a version of your choice.
NOTE: Version 7.4.32 has been tested and used on Ubuntu. Version 6.4.12 has been tested and used on CentOS systems.
Download ECL Client Tools 7.4.32 onto the Ubuntu machine. Then, run the following commands on a shell or bash window:
apt-get update -y
apt-get -f install
Download ECL Client Tools 6.4.12 onto the CentOS machine. Then, run the following commands on a shell or bash window:
yum clean all
rm -rf /var/cache/yum
yum -y install hpcc_clienttools_6.4.12_centos.rpm
- Download and place the latest PyHPCC .tar.gz package from the package folder on this Git repository onto your Linux machine.
- Use a bash or shell window to navigate to the folder containing the PyHPCC .tar.gz package. Then, run
pip install pyhpcc-<downloaded-version>.tar.gz
command.
In Transit
In Transit