Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

LANscape

A local network scanner with a built-in web UI. Discover devices, open ports, and running services on your network.

The UI was recently converted into react, stored in a separate repo: mdennis281/lanscape-ui

pip install lanscape
python -m lanscape

Stats:

Version Monthly Downloads

Latest release:

Stable RC Beta

Docker:

lanscape lanscape-arm

Health:

pytest pylint packaging docker


LANscape UI

More screenshots

Scan Configuration

Port Detail

Fully responsive: device cards, bottom sheets, and long-press menus on smaller screens.

LANscape on mobile


Flags

Flag Description
--version Show the installed version and exit
--ui-port <number> Port for the web UI (default: auto)
--ws-port <number> Port for the WebSocket server (default: 8766)
--ws-server Start WebSocket server only (no UI)
--persistent Don't auto-shutdown when the browser tab closes
--mdns-off Disable mDNS service discovery
--logfile <path> Write log output to a file
--loglevel <level> Set log level: DEBUG, INFO, WARNING, ERROR, CRITICAL (default: INFO)
--debug Shorthand for --loglevel DEBUG
python -m lanscape
python -m lanscape --version
python -m lanscape --ui-port 8080
python -m lanscape --debug --persistent
python -m lanscape --logfile /tmp/lanscape.log --loglevel WARNING
python -m lanscape --ws-server --ws-port 9000

Docker (Linux Only)

Not recommended for most users. Network scanning requires direct LAN access (ARP, ICMP, broadcasts), which conflicts with Docker's network isolation. The Docker image requires --network host mode, which only works on Linux — on Windows and macOS, Docker Desktop runs inside a VM so --network host exposes the VM's network, not your physical LAN.

For most users, pip install lanscape is the better option.

If you're running on a Linux host and still want to use Docker, see the full setup guide: Docker Setup Instructions

Troubleshooting

MAC Address / Manufacturer is inaccurate or unknown

LANscape does an ARP lookup to determine MAC addresses. This can require elevated permissions to get accurate results — try running your shell as admin.

Scan accuracy seems low

The scanner uses a combination of ARP, ICMP, and port probing to find devices. If results aren't great out of the box:

  • Tweak the scan configuration preset (accessible from the gear icon)
  • Set up ARP lookup properly — see ARP issues
  • Open an issue if something still seems off

Something else

Feel free to submit an issue with details about what you're seeing.

Metadata

Release files for lanscape 4.2.2b1

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

Source distribution (sdist)

Source distribution for lanscape 4.2.2b1
File Size Uploaded Provenance Actions
lanscape-4.2.2b1.tar.gz 2.2 MB Without provenance Details for lanscape-4.2.2b1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lanscape 4.2.2b1
File Interpreter ABI Platform Actions
lanscape-4.2.2b1-py3-none-any.whl Python 3 none any Details for lanscape-4.2.2b1-py3-none-any.whl

Total release size: 4.5 MB

Release files / lanscape-4.2.2b1.tar.gz

Download URL lanscape-4.2.2b1.tar.gz
Size 2.2 MB
Tags Source
SHA-256 checksum
How to use checksums
4e6179475ed28456ac0b3bc320a29364a9b24b68522db4e573660ee3a990a64f
BLAKE2b-256 checksum
How to use checksums
f53e6bf757e9a3ec81d58bc23c69bd7407f3e93dcb21cc729698f692f2c37887
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / lanscape-4.2.2b1-py3-none-any.whl

Download URL lanscape-4.2.2b1-py3-none-any.whl
Size 2.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
a55eb20ca6ec2bb542688fb7ca0e3e277f882cbbd8a0a73eadfe88e828b2b7b5
BLAKE2b-256 checksum
How to use checksums
0f86c3632b28bba68198ef3bc493405308e488c8bd5b4072934898f65c07d50e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Security for lanscape 4.2.2b1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release
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