version-query | Zero-overhead package versioning for Python | Continuous Deployment library

 by   mbdevpl Python Version: 1.5.4 License: Apache-2.0

kandi X-RAY | version-query Summary

kandi X-RAY | version-query Summary

version-query is a Python library typically used in Devops, Continuous Deployment, Tensorflow applications. version-query has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can install using 'pip install version-query' or download it from GitHub, PyPI.

Zero-overhead package versioning for Python.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              version-query has a low active ecosystem.
              It has 10 star(s) with 4 fork(s). There are 1 watchers for this library.
              There were 2 major release(s) in the last 12 months.
              There are 5 open issues and 1 have been closed. On average issues are closed in 24 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of version-query is 1.5.4

            kandi-Quality Quality

              version-query has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              version-query is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              version-query 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.
              It has 2109 lines of code, 176 functions and 17 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed version-query and discovered the below as its top functions. This is intended to give you an instant insight into version-query implemented functionality, and help decide if they suit your requirements.
            • Return the latest git version tag .
            • Main entry point .
            • Parse a Python version .
            • Resolve relative links .
            • Get the latest version tag for the given commit .
            • Determine the required python version .
            • Visit a reference node .
            • Parse the README file .
            • Return a version of the given path .
            • Partition a list of version classes .
            Get all kandi verified functions for this library.

            version-query Key Features

            No Key Features are available at this moment for version-query.

            version-query Examples and Code Snippets

            No Code Snippets are available at this moment for version-query.

            Community Discussions

            QUESTION

            Writing 32/64-bit specific registry key at the end of the installation in Inno Setup
            Asked 2020-Mar-08 at 20:00

            I want to create an installer with Inno Setup, my first time using this tool.
            What I’m trying to do is wrapping an existing installer of an existing software with a more detailed self-made installer (meaning a Setup.exe inside a Setup.exe).

            What works for me after researching so far is asking the installer (Inno Setup *.exe) to run the included installer (actual software setup).
            Why do I need another installer wrapped around? Because I want to give it some extra functions.

            On particular thing is: I want to add a registry-key at the end of my installation, as the last step, fitting for relevant bit-system (32/64-bit). And here is where I'm asking expert-help, please. (main concern)

            My problems in detail are as follows:

            1. I managed to add the key using the [Registry] section of Inno Setup. However, [Registry] seems to always run before [Run] – but I need the key added after the installation (added in a regedit-path the installation itself creates), not before, so I deleted what already worked (just in the wrong order) under [Registry]. For accomplishing a reg-add after the main-install, I found the two procedures AfterInstall and CurStepChanged/ssPostInstall, and DeinitializeSetup which seems not to fit so well for my concern (but thinking AfterInstall would be what I'm looking for(?!) since nothing more is supposed to come after and I think it won't run, if the install before already failed (?!).
            2. I don't know the Pascal-Syntax for adding a registry-key (string) under an existing path. I could add it under [Registry], however when it comes to the [Code]-section I feel a little lost even I did a lot of research by now about Inno Setup given functions and such.
            3. Third problem is that the path in the registry differs, depending on whether it's 32- or 64-bit System. So I actually need an extra query here checking the bit-System before adding either one or another path/key (because the install of the program itself creates the path depending on the bit-version already), I found the function IsWin64 (Boolean), now trying to mix a function (bit-version-query) with a procedure (AfterInstall) sounds even for me as a beginner wrong. Plus I tried to create an if-else-query, and the compiler told me I was doing it wrong. if IsWin64 then... works, but adding an else doesn't.

            So the solution in theory would roughly be something like…

            ...

            ANSWER

            Answered 2020-Mar-08 at 20:00

            To execute a code after an installation finishes, use the CurStepChanged event function and check for CurStep = ssPostInstall.

            As Inno Setup is 32-bit application, by default it automatically gets redirected to the Wow6432Node on 64-bit systems. No need to do that explicitly. So if the Wow6432Node is the only difference between the 32-bit and 64-bit path, you do not to do anything special:

            Source https://stackoverflow.com/questions/41677819

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

            Vulnerabilities

            No vulnerabilities reported

            Install version-query

            You can install using 'pip install version-query' or download it from GitHub, PyPI.
            You can use version-query 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
            Install
          • PyPI

            pip install version-query

          • CLONE
          • HTTPS

            https://github.com/mbdevpl/version-query.git

          • CLI

            gh repo clone mbdevpl/version-query

          • sshUrl

            git@github.com:mbdevpl/version-query.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