Skip to content

yogeesp/leetcode-compensation

 
 

Repository files navigation

https://kuutsav.github.io/leetcode-compensation

automatic-data-update pages-build-deployment Checked with mypy

LeetCode Compensation is a tool that helps you find Software Engineer Salary in India by:

  • Fetching compensation data from Leetcode forums.
  • Updating Bi-weekly through GitHub action PRs.
  • Using LLMs for parsing and sanitizing structured data from posts, followed by aggregation.

Warning

A 2-day data refresh delay allows the votes to accumulate, after that posts with negative votes are dropped.

Getting Started

Install uv from Standalone Installers or from PyPI:

To create a virtual environment:

uv venv  # Create a virtual environment at .venv.

To activate the virtual environment:

# On macOS and Linux.
source .venv/bin/activate

# On Windows.
.venv\Scripts\activate

To install a package into the virtual environment:

uv pip install -r requirements.txt  # Install from a requirements.txt file.

Updating data

Note

You'll need llm inference setup (config.toml: llms) using local: ollama, vllm, or api: openrouter

$ export PYTHONPATH=.
$ python leetcomp/refresh.py && python leetcomp/parse.py

Roadmap

  • Sort by Compensation and Yoe
  • Add pagination
  • Filters for Yoe, Compensation
  • Search for Companies and Locations

Contributions

PRs are welcome but please go through CONTRIBUTING.md before raising a PR.

About

Near Real-Time LeetCode Compensation Insights for India

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 49.2%
  • JavaScript 35.1%
  • HTML 15.7%