Skip to main content

linpuzs: Linkedin Puzzle Solver

For when you want the streak but not the 4 minutes of staring at coloured squares.

Plug in your Android phone, open today's LinkedIn puzzle and run linpuzs. It grabs a screenshot over ADB, figures out the board, solves it, and taps the answer in for you, usually in a few seconds.

Supported games

Game Goal
👑 Queens One crown in every row, column and colour region, none touching
🌗 Tango Fill with suns and moons: balanced rows and columns, no three in a row, respect = and ×
〰️ Zip One path through every cell, passing the numbered dots in order
🔢 Mini Sudoku 1-6 once in every row, column and 2×3 box
🧵 Patches Split the grid into rectangles matching each clue's shape and size

Install

You'll need Python 3.10+, adb (Android platform-tools) on your PATH, and USB debugging turned on in your phone's developer options.

With pipx (recommended, keeps it in its own environment):

pipx install linpuzs

Or with pip:

pip install linpuzs

Or with Homebrew (macOS/Linux):

brew install prat31/tap/linpuzs

Then plug in your phone and run linpuzs. To update later, use pipx upgrade linpuzs, pip install -U linpuzs or brew upgrade linpuzs.

Development setup

Requires uv and adb on your PATH.

uv sync
uv run linpuzs

Usage

linpuzs                      interactive: pick device (if several) → pick game → solve
linpuzs -g queens            solve one game without the menu
linpuzs -s SERIAL            use a specific device
linpuzs -n                   dry run: solve, but don't touch the screen
linpuzs --list               show games and solver status

Dry run: linpuzs -n (or --dry-run) reads the board from your phone, solves it and prints the solved board in the terminal, without tapping anything.

Tests

No phone needed. Each game has two test files:

  • tests/test_<game>.py checks the real screenshot in media/example/.
  • tests/test_<game>_fuzz.py draws random boards the way the app does, solves them, and replays the touches.
uv run pytest -q                                      # everything (~1-2 min)
uv run pytest -q tests/test_zip.py                    # one game's screenshot tests

Metadata

Release files for linpuzs 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for linpuzs 0.5.0
File Size Uploaded Provenance
linpuzs-0.5.0.tar.gz 1.3 MB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for linpuzs 0.5.0
File Interpreter ABI Platform
linpuzs-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 1.3 MB

Release files / linpuzs-0.5.0.tar.gz

Download URL linpuzs-0.5.0.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
930f706934d3eb4e3feda6f3172f794d1f91c39f42941770b9e7b79ee3e27147
BLAKE2b-256 checksum
How to use checksums
ee6618b9febf206000a25e9fd9960d9efb43499c9368d5f41aab2c8c39dde143
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

Release files / linpuzs-0.5.0-py3-none-any.whl

Download URL linpuzs-0.5.0-py3-none-any.whl
Size 36.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
192a9b6beb35cefb0f0ff1c7602abec264d19291fa34b95b4e5999865e3657e2
BLAKE2b-256 checksum
How to use checksums
d3a1a8a41fee3bcc6a02047378c7d2418f04025bbb00f3c48e4ed7ce55b36f82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

Security for linpuzs 0.5.0

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for linpuzs-0.5.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page