Skip to main content

A python based local network scanner

Project description

LANscape

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

pip install lanscape
python -m lanscape

PyPI Version Monthly Downloads Stable RC Beta pytest packaging pylint


LANscape UI

More screenshots

Scan Configuration

Port Detail


Flags

Flag Description
--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
--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 --port 8080
python -m lanscape --debug --persistent
python -m lanscape --logfile /tmp/lanscape.log --loglevel WARNING
python -m lanscape --ws-server --ws-port 9000

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.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lanscape-3.0.0rc4.tar.gz (2.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lanscape-3.0.0rc4-py3-none-any.whl (2.1 MB view details)

Uploaded Python 3

File details

Details for the file lanscape-3.0.0rc4.tar.gz.

File metadata

  • Download URL: lanscape-3.0.0rc4.tar.gz
  • Upload date:
  • Size: 2.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for lanscape-3.0.0rc4.tar.gz
Algorithm Hash digest
SHA256 632fffce4f569085aae483d25506ecfe19c6be347f61e732f4a420c90b10d70f
MD5 0a7b63f9b4425f164e668f18c6fc6dcb
BLAKE2b-256 42e9319ee3543e7285bfba53b2362c8ce6b637a6254c0d1b0d50a783a34e1a80

See more details on using hashes here.

File details

Details for the file lanscape-3.0.0rc4-py3-none-any.whl.

File metadata

  • Download URL: lanscape-3.0.0rc4-py3-none-any.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for lanscape-3.0.0rc4-py3-none-any.whl
Algorithm Hash digest
SHA256 1b43a13f51ac5ce269c087865a742d338e332856a78d751418389c41d30eb5a7
MD5 c7206c0ed01a4133c73930d3c33ba0f1
BLAKE2b-256 1586d5eaee6ba3bfc8a11c953504ef65fdd3182c6b61dba6d988d052aca1d38c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page