porthamiltonians (pypi): A package for simulating and learning port-Hamiltonian systems. For further details, see https://arxiv.org/pdf/2206.02660.pdf
Keywords: port|Hamiltonian|neural|networks