Use Python.gitignore.
Basic Python vector implementation - dot product, projection, norm.