Skip to main content

ShellLnk

Package for parsing Microsoft Shell Link (.lnk) files

This package consists of a parsing class shelllnk.ShellLnk. To use,

from shelllnk import ShellLnk
open(myfile, "rb") as fd:
   shell_link = ShellLnk.parse(fd)

You may want to read the Microsoft spec on shell links to understand the different parts of a shell link file. The file format doc is at https://msdn.microsoft.com/en-us/library/dd871305.aspx

The stuff that I use is ShellLnk.file_attributes and ShellLnk.device_name or ShellLnk.net_name and ShellLnk.common_base_path_suffix. The device name or net name tell you the drive letter or mount point and the suffix gives you the path after that.

Metadata

Release files for shelllnk 1.0.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 shelllnk 1.0.0
File Size Uploaded
shelllnk-1.0.0.tar.gz 5.0 kB Details

Built distribution (wheel)

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

Total release size: 11.7 kB

Release files / shelllnk-1.0.0.tar.gz

Download URL shelllnk-1.0.0.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3343bc5f9f49739a198990bab8e9756b3629b6780aa32b714d2e6e9343c33eee
BLAKE2b-256 checksum
How to use checksums
4d7b34d815fb6776040c9ca48d960a278f3383a92596aa856fd3d77e85714fb6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.2

Release files / shelllnk-1.0.0-py3-none-any.whl

Download URL shelllnk-1.0.0-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba8944582f1e857673bbb60fdbe3676c33631fda6422e3116efa404f2cbd4d9c
BLAKE2b-256 checksum
How to use checksums
99e2d8ced8af774d97574a8ba89eeeba0e5bebc6c38041158b3a8c7ba2b56f8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.2

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

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