v1.0.0: pypdfium2 rewrite, dedicated per-issuer parsers, MIT license
casparser 1.0.0 is a major release. The PDF backend was rewritten from scratch on pypdfium2, and each of the four supported issuers (CAMS, KFintech, NSDL, CDSL) now has a dedicated parser tuned to its template family.
⚠️ Breaking changes
- pdfminer.six and PyMuPDF backends removed.
read_cas_pdfno longer dispatches between them; themupdf/fastextras are gone. The--force-pdfminerflag andforce_pdfminer=kwarg are now no-ops (the kwarg emits aDeprecationWarning). - License is now pure MIT. With PyMuPDF (GPL/AGPL) gone, the bundled GPL/AGPL
licenses/are removed. pypdfium2 is Apache-2.0 / BSD-3 — no copyleft obligation on downstream users. - Minimum Python is now 3.11 (3.9 / 3.10 dropped).
CASData.investor_infois nowOptional[InvestorInfo]. Populated on every supported issuer, but guard forNoneon unfamiliar templates.- Internal
casparser.processpackage removed. Its helpers now live atcasparser.parsers._classify(get_parsed_scheme_name,get_transaction_type) andcasparser.parsers._isin(isin_search).
Full Changelog: v0.9.1...v1.0.0