A fully? complete Uniform Resource Identifier/Locator parser for all your need.
it should support theses flavors with some changes or by using a different delimiter: PRCE2/PRCE, ECMAscript and should be able to support RUST, JAVA, GOLANG, .NET flavors with ease. for PYTHON, I don't really know.