Installing mftool is very simple and it has no external dependencies. All its dependencies are part of standard python distribution.
pip install mftool
>>> from mftool import Mftool >>> mf = Mftool() >>> print mf Driver Class for The Association of Mutual Funds in India (AMFI)
Warning : Always use AMFI codes of schemes are presented here or use below function
>>> all_scheme_codes = mf.get_scheme_codes() # you can use as_json=True to get all codes in json format >>> print(all_scheme_codes)