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.2.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.2.0
File Size Uploaded Provenance
linpuzs-0.2.0.tar.gz 1.1 MB With provenance Details

Built distribution (wheel)

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

Total release size: 1.1 MB

Release files / linpuzs-0.2.0.tar.gz

Download URL linpuzs-0.2.0.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
46a16a95fec1c8f3694f4ccbb4eda35853a41f641ef34cd26d7604481f56bea5
BLAKE2b-256 checksum
How to use checksums
f512846afd94902f7cf3ed307884934547d4f349e5848d02e8ffa6d3eb6a40c2
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.2.0-py3-none-any.whl

Download URL linpuzs-0.2.0-py3-none-any.whl
Size 36.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2b904095be73de97b827d24fcdc9760788dd810a5ecae5b2f8643f9ab71cca47
BLAKE2b-256 checksum
How to use checksums
3b0a096312a8654e5009907564c35f77b4a12d99afa523efedd4cb8b9d447aec
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.2.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.2.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