Skip to content

Parse

niveshpy parse

Parse custom statements and documents.

Parse financial documents using the specified parser and file.

Required Args:

  • parser_key (str): The parser to use. Example: 'cas'.
  • file_path (str): Path to the file to parse.

Usage:

niveshpy parse [options] <parser> <file-path>

Options:

  -v, --version         Show the version and exit.
  --no-input            Run without user input, using defaults or skipping
                        prompts.
  --password-file FILE  Path to a file containing the password for encrypted
                        files.
  -h, --help            Show this message and exit.

Parsers

NiveshPy comes bundled with a few useful parsers. However, you can use any custom parser with NiveshPy as well.

Bundled Parsers

Parser Name Description Command
CAS Parser Parser for CAMS and Kfintech Consolidated Account Statements (CAS). niveshpy parse cas ...

Custom Parsers

To learn how to create your own custom parser, check our guide