Closed matinnuhamunada closed 3 years ago
Hi @matinnuhamunada
You can use import the mg_toolkit
helper classes and use their methods from within your python scripts like so:
from mg_toolkit.metadata import OriginalMetadata
erp001736 = OriginalMetadata('ERP001736')
erp001736.fetch_metadata()
Thanks for using the toolkit!
Thanks a lot @SandyRogers !
It might be useful for some users to have this example in the Readme file.
No problem, I've added that example now.
The toolkit's internals (e.g. those class names and their argument lists) might well change over time. So, especially in your case where you're relying on that being stable, I'd suggest locking the version you're using. E.g. mg-toolkit==0.10.0
in your requirements.txt
.
Hi,
Awesome work here!
I would like to know how I can use emg-toolkit as a python method, such as:
Sorry if I missed this in the documentation.
Best regards, Matin N.