ESGProfiler
🌍 Automated ESG Scoring & Profiling with NLP and Open Data
ESGProfiler is an open-source Python package and Streamlit dashboard for programmatically analyzing and visualizing the Environmental, Social, and Governance (ESG) signals for any company.
Features
- 📈 ESG Composite Scoring: NLP-based analysis of annual reports, news, and filings to auto-compute ESG subscores (Environment, Social, Governance)
- 📰 Flexible Data Ingestion: Profile companies from Yahoo Finance, SEC filings, news headlines, report URLs, or custom-pasted text
- 🗺 Streamlit Dashboard: Interactive web app for quick analysis and ESG visualization
- ⚡ Modular and Extensible: Robust Python API for developers and researchers to adapt, plug in new data sources, and customize their workflow
Quick Start
1. Install
pip install esgprofiler python -m spacy download en_core_web_sm
text
2. Run Dashboard
esgprofiler-dashboard
text Or for source builds: streamlit run esgprofiler/dashboard.py
text
3. Use Python API
from esgprofiler.data_ingest import fetch_yahoo_profile, fetch_news_headlines from esgprofiler.nlp_extract import count_esg_mentions from esgprofiler.scoring import score_esg_text
profile = fetch_yahoo_profile("MSFT") news = fetch_news_headlines("MSFT") text = " ".join(news) scores = score_esg_text(text) print(scores)
text
Dashboard Features
- Enter a company ticker or CIK
- Choose a data source: Yahoo News, SEC filing, report URL, or manual text
- See company profile and ESG scores
- Interactive breakdown by E/S/G
- Key signal sentences and expandable sections
- NEW: Copy/paste your own text or link to analyze custom data
Project Structure
esgprofiler/ │ init.py │ data_ingest.py │ nlp_extract.py │ scoring.py │ config.py │ dashboard.py README.md setup.py requirements.txt tests/ examples/
text
Developer & Contribution Guide
- Fork and clone the repo
- Add features or suggestions via PRs and Issue tracker
- Extend keyword sets and weighting logic in
config.py - Package and dashboard designed for easy extension to global data (news APIs, non-US filings, etc.)
License
MIT License © 2025 Advait Dharmadhikari
Acknowledgements
Disclaimer
This tool uses open/public data and simple NLP approaches. Scores are for demonstration and educational purposes only—do not use alone for serious investment decisions.
Metadata
Release files for esgprofiler 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| esgprofiler-0.1.3.tar.gz | 10.6 kB | Without provenance | Details for esgprofiler-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| esgprofiler-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for esgprofiler-0.1.3-py3-none-any.whl |
Total release size: 20.9 kB
Release files / esgprofiler-0.1.3.tar.gz
| Download URL | esgprofiler-0.1.3.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
556802d1f8149f4b293be1c42ca820a86795dffeb46a6eb8ee22aa19065a6365
|
|
BLAKE2b-256 checksum How to use checksums |
827f52bfc86194b411ddf6e901c0bc8df9cc871abe026396a341306e3e6e2a37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / esgprofiler-0.1.3-py3-none-any.whl
| Download URL | esgprofiler-0.1.3-py3-none-any.whl |
|---|---|
| Size | 10.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
398590e68c2a0b757448b347669dc1eee65815a01656185cc5dd24dadbaa7897
|
|
BLAKE2b-256 checksum How to use checksums |
48494ff422223eef787b8b292a08335d581ec964626d0e3bcc01009fee14c29d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Security for esgprofiler 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.