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.3.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.3.0
File Size Uploaded Provenance
linpuzs-0.3.0.tar.gz 1.1 MB With provenance Details

Built distribution (wheel)

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

Total release size: 1.1 MB

Release files / linpuzs-0.3.0.tar.gz

Download URL linpuzs-0.3.0.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
416ffa062c882fa550038ee92aeade48a56ca865a02aa81818e7951852380182
BLAKE2b-256 checksum
How to use checksums
042a768415fb9db8018787da43d2f25d38c098368747f361edc24b8a034326ce
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 22, 2026.

Transparency log

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

Download URL linpuzs-0.3.0-py3-none-any.whl
Size 36.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2625c54359320101337112b9a294d7e30471cdd80963f8ff6c09272a121ff0b3
BLAKE2b-256 checksum
How to use checksums
a386e0ef9e69f10107f027369103757d69ecdada8ec7149f6ee21a7f01eb1b52
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 22, 2026.

Transparency log

Security for linpuzs 0.3.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.3.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 22, 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.

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