smiles-encoder is a Python package used to generate one-hot vectors representing SMILES strings (each string element is a one-hot vector). To contribute to smiles-encoder, make a pull request.
Why write ten lines of code when one will do? From magic variable swaps to high-speed data counting, these Python snippets will transform your code.