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.2b3

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.2b3
File Size Uploaded Provenance Actions
lanscape-4.2.2b3.tar.gz 2.2 MB Without provenance Details for lanscape-4.2.2b3.tar.gz

Built distribution (wheel)

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

Total release size: 4.5 MB

Release files / lanscape-4.2.2b3.tar.gz

Download URL lanscape-4.2.2b3.tar.gz
Size 2.2 MB
Tags Source
SHA-256 checksum
How to use checksums
06be36c5671acbdd3be65c6f5fb9dc161b48a1292b1bc817bb4cf9f6a733a5ce
BLAKE2b-256 checksum
How to use checksums
6a520d065809167143daded8524f2d0882c8bf28e369295b63767685a1c1f865
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.2b3-py3-none-any.whl

Download URL lanscape-4.2.2b3-py3-none-any.whl
Size 2.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
e4b67aa4d8c61f24da8f2df4d35f5bf7bc4fc10bd738e54851e55529d1c8685c
BLAKE2b-256 checksum
How to use checksums
a2bf8f6838aa61d068c853eee0cb1a0a7b44f3d852e1dae6c990f9b9eb521cb1
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.2b3

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