import tickerinside as ti # Every covered fund, one row each, sorted by ticker funds = ti.funds() # layer says where the holdings come from: "issuer" or "sec_nport" issuer = [f for f in funds.data if f["layer"] == "issuer"] print(len(issuer), "funds from issuer files, as_of", funds.as_of) print(len(funds.data) - len(issuer), "more from SEC filings, layer sec_nport") # One row per fund read from its issuer's own file for f in issuer: print(f["ticker"], f["name"]) # The line to print under the list print(funds.cite)