Skip to content

MayThirtyOne/leetcode-compensation

 
 

Repository files navigation

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
  • Filters for Yoe, Date, Compensation, Location
  • Add pagination

Contributions

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

About

Compensation analysis of leetcode.com/discuss/compensation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 56.1%
  • JavaScript 37.4%
  • HTML 6.5%