kuutsav / leetcode-compensation

Near real-time LeetCode compensation insights for India

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

leetcode compensation

automatic-data-update pages-build-deployment Code style: black Checked with mypy

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

Analysing compensations mentioned on the Leetcode forums (only supports posts from India at the moment).

The leetcomp directory contains scripts to fetch new posts from https://leetcode.com/discuss/compensation.
We use LLMs to parse structured information from the scraped posts, which is then sanitised and aggregated.


image info

Getting Started

Install uv with our standalone installers, or from PyPI:

# On macOS and Linux.
curl -LsSf https://astral.sh/uv/install.sh | sh

# On Windows.
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"

# For a specific version.
curl -LsSf https://astral.sh/uv/0.2.9/install.sh | sh
powershell -c "irm https://astral.sh/uv/0.2.9/install.ps1 | iex"

# With pip.
pip install uv

# With pipx.
pipx install uv

# With Homebrew.
brew install uv

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

Make sure you have completed the steps above and are in a venv

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

Roadmap

  • Sort by Compensation and Yoe
  • Search for Companies and Roles
  • Add pagination
  • Filters for Yoe, Date, Compensation, Location

Contributions

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

About

Near real-time LeetCode compensation insights for India

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

License:MIT License


Languages

Language:Python 47.1%Language:JavaScript 36.9%Language:HTML 15.9%