How to convert DNA sequences in FASTA format to OneHot Encoded Pandas Dataframe for Neural Networks?
I am not sure about any python package but you can simply do integer encoding using labelencoder() and then do one-hot encoding.
label_encoder = LabelEncoder()
integer_encoded_seq = label_encoder.fit_transform(seq)    
onehot_encoder = OneHotEncoder(sparse=False)
integer_encoded_seq = integer_encoded_seq.reshape(len(integer_encoded_seq), 1)
onehot_encoded_seq = onehot_encoder.fit_transform(integer_encoded_seq)

Refer this.