You can clone the repository from GitHub and install, with the following command.
git clone --recurse-submodules https://github.com/yangyushi/tcclib
cd tcclib
python3 -m pip install . --userYou will need a C compiler (like GCC) and CMake to build tcc. tcclib also depends on numpy and pandas.
This package aims to provide a stand-alone Python interface for the TCC software.
The following figure illustrates the typical tasks for tcclib.
- Analysing an existing TCC output folder. (Example)
- Calling TCC to analyse an XYZ file (on the disk), then analysing the output. (Example)
- Calling TCC to analyse a numpy array (in the memory), then analysing the output. (Example)
- This package calles the
TCCbinary executable inside Python. - When installing
tcclib, the latest release ofTCCcode will be compiled, generating a privite binary executable fortcclib - If you have your own
TCCbinary executable in the computer, it will not be affected.