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.4.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.4.0
File Size Uploaded Provenance
linpuzs-0.4.0.tar.gz 1.1 MB With provenance Details

Built distribution (wheel)

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

Total release size: 1.1 MB

Release files / linpuzs-0.4.0.tar.gz

Download URL linpuzs-0.4.0.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
da43a02d41dde2687a88697c785858b07b4b7ea69983b17bfc2a3c96c275208b
BLAKE2b-256 checksum
How to use checksums
a017a84b6b6c3b6ec04fb22247c53a11ca8003fb710b622db15c4b899c460daf
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.4.0-py3-none-any.whl

Download URL linpuzs-0.4.0-py3-none-any.whl
Size 36.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0e5688db28ef6365b754578f0e1a9eb461b8877b01dcf937a32cec8cefb94e94
BLAKE2b-256 checksum
How to use checksums
025e9a7347a46ecb9c5d29bf255d770253719ea3c27d9a885c0cb9e2a637ddf4
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.4.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.4.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