Registry / devops / lnkparse3

lnkparse3

JSON →
library1.6.0pypypiunverified

Windows Shortcut file (.lnk) parser for Python. Current version 1.6.0, updated infrequently (last release 2022).

pip install lnkparse3
INSTALL
IMPORT
SIG · LNKPARSE3
L
lnkparse3
devopspythonv1.6.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

LnkParse3
from LnkParse3 import LnkParse3
from lnkparse3 import LnkParse3

Parse a .lnk file and print its name and target path.

from lnkparse3 import LnkParse3 with open('example.lnk', 'rb') as f: data = f.read() lnk = LnkParse3(data) print(lnk.get_name()) print(lnk.get_path())
Debug
Known issues
gotchaThe constructor expects raw bytes, not a file path. You must read the file in binary mode yourself.
fix
Use open('file.lnk', 'rb').read() before passing to LnkParse3.
affects: all
gotchaThe library uses lowercase method names like get_name() and get_path(), not camelCase.
fix
Refer to source or README for exact method names; they are all lowercase.
affects: all
deprecatedPython 2 support may be dropped in future releases, but no explicit deprecation yet.
fix
Use Python 3.6+.
affects: <3.0
Upgrade
Version history
1.6.0latest on PyPI · released Feb 27, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
12
Resources
lnkparse3 — pip install lnkparse3 · libregistry