A small python3 library with miscellaneous functions to deal with protein structures in PDB files.
If you are looking for a easy user interface, higher level functions, and more information in general check out HPC_Drug.
python -m pip install git+https://github.com/MauriceKarrenbrock/PythonPDBStructures.git
Read the documentation here.
The code can be found here.