Skip to main content

A parser for extracting analyst discussion and management commentary efficiently from concalls.

Project description

Concall Parser

Concall Parser is an open-source Python library designed to efficiently extract insights from earnings call (concall) transcripts. It enables seamless extraction of management commentary, analyst discussions, company information, perfect for building financial research tools, summarizers, or investor dashboards.

Check out the repo at Github.


Note: We currently support earnings calls of Indian companies (BSE, NSE registered) only.

📦 Installation

Install the library using pip:

pip install concall-parser

Usage

You can initialize the ConcallParser either with a local PDF path or directly via a URL to the concall document.

Using a Local PDF

from concall_parser.parser import ConcallParser

parser = ConcallParser(path="path/to/concall.pdf")

Using a PDF Link

from concall_parser.parser import ConcallParser

parser = ConcallParser(link="https://www.bseindia.com/xml-data/corpfiling/AttachHis/458af4e6-8be5-4ce2-b4f1-119e53cd4c5a.pdf")

Configuration

The library leverages GROQ for core NLP tasks such as intent classification. To use GROQ, ensure the following environment variables are set:

export GROQ_API_KEY="YOUR GROQ API KEY"
export GROQ_MODEL="YOUR GROQ MODEL NAME"

Or just pass in the values when creating the parser object.

parser = ConcallParser(path="path/to/concall.pdf", groq_api_key=your_api_key, groq_model=preferred_groq_model)

We use llama3-70b-8192 as the default model if any groq supported models are not provided as env.

✨ Features

Concall Parser enables structured extraction of key insights from earnings call transcripts. You can extract management commentary, analyst discussions, company name, management details, and more—streamlined for downstream analysis or integration.

Extract Concall Info like Management and Company Name

parser.extract_concall_info()

Extract Management Commentary

parser.extract_commentary()

Extract Analyst Discussion

parser.extract_analyst_discussion()

Extract All Details

parser.extract_all()

Example Data structure

{
    "concall_info": {
        "company_name": "SKF India Limited", // company name will come as value
        "Mukund Vasudevan": "Managing Director", // management name will come as key and designation will come as value
    },
    "commentary": [
        {
            "speaker": "Ashish Pruthi",
            "dialogue": "thank you. good morning, everyone. thank you for joining us today. today with us, we have skf india's managing director, mr. mukund vasudevan and our cfo, mr. ashish saraf. before i turn the call over to the management, i would like to remind you that in this call, some of the remarks contain forward-looking statements, which are subject to risks and uncertainties and actual results may differ materially we can now open the call for q&a."
        }
    ],
    "analyst_discussion" : {
        "Mukesh Saraf" : {
            "analyst_company" : "Avendus Spark",
            "dialogue" : [
                {
                    "speaker": "Mukesh Saraf",
                    "dialogue": "my first question is on the revenue mix. so could you kind of give us some details on the different segments like the auto, industrial, exports and probably within that, some of the subsegments as well."
                },
                {
                    "speaker": "Mukund Vasudevan",
                    "dialogue": "all right. i'll let ashish saraf, my cfo, answer that in terms of so that he can share precise numbers."
                },
            ]
        }
    }
}

Concalls not supported yet

Concalls which do not contain analyst dicusssion and are more of press release like Reliance are not supported yet. If you find any concall that is not being parsed correctly, please open an issue with the label doc unsupported.

🤝 Contributing

We welcome contributions! If you'd like to improve this library or report issues, please feel free to submit a pull request or open an issue.

You can find detailed contributing guidelines here: CONTRIBUTING.md

📝 License

This project is licensed under the MIT License. See the LICENSE file for details.

🎯 Downstream Tasks

Here are some potential downstream tasks where concall-parser can be highly valuable:

Task Description
Sentiment Analysis Analyze the tone (positive/negative/neutral) of management commentary to assess confidence or caution.
Named Entity Recognition (NER) Extract structured entities such as company names, executive names, analyst firms, and competitors.
Competitor Benchmarking Compare commentary and strategy across companies in the same sector for peer analysis.
Intent Classification Categorize analyst questions by topic (financials, operations, market outlook, etc.).
Knowledge Base Generation Populate internal tools or dashboards with structured Q&A and insights from concalls.
QoQ Change Tracking Monitor changes in management messaging and strategy across earnings calls.
Earnings Call Summarization Automatically generate concise summaries for quick understanding of the concall.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

concall_parser-1.1.1.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

concall_parser-1.1.1-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

Details for the file concall_parser-1.1.1.tar.gz.

File metadata

  • Download URL: concall_parser-1.1.1.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for concall_parser-1.1.1.tar.gz
Algorithm Hash digest
SHA256 1135a79223d74fee6baad9fe40a0cbf335794c05f91e04076c6e6f0115dd83f3
MD5 95b7ae59f068441dac51431ad83d46a5
BLAKE2b-256 4b77309d0a5547b3716c739c0b0bc9f13f50267fe9196659520a966c4ffe4d5b

See more details on using hashes here.

File details

Details for the file concall_parser-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: concall_parser-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 21.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for concall_parser-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c976308ed2abf9dbcea4189ef5477945f055c138a6d217a120024308f6f25dc2
MD5 3e0889e54519a134ec9301ddc24a9b40
BLAKE2b-256 7b64a953ecac88491d66dbedbf1ed20e72f205f3b9bdee198f2ff3bc231bb8cb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page