Add version attribute
bhishanpdl opened this issue · 6 comments
Usually python packages has attribute .__version__
and .__name__
.
I would suggest adding these two attributes to this package TEXTHERO
.
For example:
import numpy as np
print(np.__name__)
print(np.__version__)
Makes sense. I believe __name__
is already implemented automatically. Do you want to implement this @bhishanpdl ? You can read here how to start contributing 🎆
Agree with @bhishanpdl, it can be very useful. Actually, even if the task seems very trivial and simple, it's more subtle than that. In a previous version, I implemented this (before this commit) but this was given some problem (setup.cfg required texthero to be installed to install texthero?! 🙃). A better solution than the previous one is required :D
@bhishanpdl want to help with that?
i saw the solution for the above in torchaudio,can i submit PR by porting from torchaudio to texthero
@jbesomi and @harishsdev You guys are more than welcome to send the PR to the developers. I would greatly appreciate that.
Hey @harishsdev, sure, if torchaudio has a working solution, it would be great if you can port it to Texthero. Let me know, thanks!