pylnk | Python library for reading and writing Windows shortcut

 by   strayge Python Version: Current License: LGPL-3.0

kandi X-RAY | pylnk Summary

kandi X-RAY | pylnk Summary

pylnk is a Python library. pylnk has no bugs, it has no vulnerabilities, it has build file available, it has a Weak Copyleft License and it has low support. You can install using 'pip install pylnk' or download it from GitHub, PyPI.

Python library for reading and writing Windows shortcut files (.lnk). Converted to support python 3. This library can parse .lnk files and extract all relevant information from them. Parsing a .lnk file yields a LNK object which can be altered and saved again. Moreover, .lnk file can be created from scratch be creating a LNK object, populating it with data and then saving it to a file. As that process requires some knowledge about the internals of .lnk files, some convenience functions are provided. Limitation: Windows knows lots of different types of shortcuts which all have different formats. This library currently only supports shortcuts to files and folders on the local machine.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              pylnk has a low active ecosystem.
              It has 43 star(s) with 7 fork(s). There are 3 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 2 open issues and 18 have been closed. On average issues are closed in 49 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of pylnk is current.

            kandi-Quality Quality

              pylnk has 0 bugs and 52 code smells.

            kandi-Security Security

              pylnk has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              pylnk code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              pylnk is licensed under the LGPL-3.0 License. This license is Weak Copyleft.
              Weak Copyleft licenses have some restrictions, but you can use them in commercial projects.

            kandi-Reuse Reuse

              pylnk releases are not available. You will need to build from source code and install.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              It has 1810 lines of code, 161 functions and 9 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed pylnk and discovered the below as its top functions. This is intended to give you an instant insight into pylnk implemented functionality, and help decide if they suit your requirements.
            • Return a bytes representation of this entry
            • Validate instance attributes
            • Write a cstring to buffer
            • Convert guid to bytes
            • Command line interface to lnk
            • Save the stream to f
            • Write a hot key
            • Write the link to the file
            • Read a DOS timestamp from a buffer
            • Parse path elements
            • Return a byte representation of the object
            • Check if f is a lk file
            • Define local location
            • Return a byte string representation of the signature
            • Return a bytes representation of the signature
            • Return a byte representation of the sequence
            • Set the value of the message
            • Read PropertyValue from a file - like object
            • Create a new UWP entry
            • Create a PathSegmentEntry from a segment list
            • Parse a lnk file
            • Write the information to the file
            • Return a bytes representation of the message
            • Return the path of the executable
            • Return the bytes of the block
            • Returns a BytesIO object
            Get all kandi verified functions for this library.

            pylnk Key Features

            No Key Features are available at this moment for pylnk.

            pylnk Examples and Code Snippets

            PyLnk 3,CLI
            Pythondot img1Lines of Code : 34dot img1License : Weak Copyleft (LGPL-3.0)
            copy iconCopy
            pylnk3 parse [-h] filename [props [props ...]]
            
            positional arguments:
              filename    lnk filename to read
              props       props path to read
            
            optional arguments:
              -h, --help  show this help message and exit
            
            usage: pylnk3 create [-h] [--arguments [ARGU  

            Community Discussions

            No Community Discussions are available at this moment for pylnk.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install pylnk

            You can install using 'pip install pylnk' or download it from GitHub, PyPI.
            You can use pylnk like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/strayge/pylnk.git

          • CLI

            gh repo clone strayge/pylnk

          • sshUrl

            git@github.com:strayge/pylnk.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link