HalfCaff | OSX Status Bar app to keep laptop

 by   dougn Python Version: Current License: MIT

kandi X-RAY | HalfCaff Summary

kandi X-RAY | HalfCaff Summary

HalfCaff is a Python library. HalfCaff has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub.

OSX Status Bar app to keep laptop from sleeping when Cisco VPN is connected or TimeMachine is backing up. Building a full standalone app using py2app can be complicated. For that reason a fully standalone version of the app is released in the project and can be downloaded here: HalfCaff-1.0.zip. The only dependency is having Cisco AnyConnect installed. You can download, unzip, and move HalfCaff.app to your Applications folder to install. HalfCaff has been tested on OSX 10.10 through OSX 10.12, but should work with older OSX 10 systems. The Cisco Anyconnect VPN app with RSA token authentication has a problem. It does not change the sleep setting on OSX when connected and as a result, when the machine sleeps VPN is disconnected. This can be a real pain with the 2FA token. There are plenty of tools (Cafeine, caffeinate, etc) which will work on the commandline or provide a nice status bar for setting the amount of time to keep the system awake for, but none which will monitor network activity or provide a plugin interface. This started as an excuse to learn rumps, py2app, and accessing Coacoa from python using pyobjc, but quickly developed into a fully functional application. HalfCaff will detect when a VPN connection is active, and provide the option to keep the system from entering idle, but will still have the screen turn timeout and lock. When the VPN connection ends, or is dropped due to remote side issues, HalfCaff will detect this and disable the idle sleep protection. The only subprocess work is for checking the VPN connection status which uses the Cisco VPN client application. This is polled ever 2.5 minuites, and this polling interval can be configured. This interval was selected to ensure that a new VPN connection would be detected before the default idle sleep period would be encountered. All other system interactions are performed directly through Coacoa, AppKit, IOKit and the Framework pyobjc interfaces.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              HalfCaff has a low active ecosystem.
              It has 3 star(s) with 1 fork(s). There are 2 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              HalfCaff has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of HalfCaff is current.

            kandi-Quality Quality

              HalfCaff has no bugs reported.

            kandi-Security Security

              HalfCaff has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              HalfCaff is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              HalfCaff releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed HalfCaff and discovered the below as its top functions. This is intended to give you an instant insight into HalfCaff implemented functionality, and help decide if they suit your requirements.
            • Start the CrossCaff
            • Update the control state
            • Save the options json file
            • Update the run_at_login flag
            • Return the list of login items for the user
            • Lists all login items
            • Resolve the URL of an item
            • Is the login enabled?
            • Check if the Vpn CLI is connected
            • Set the status of an option
            • Add a login item to the list
            • Removes a login item
            • Load application options
            • Finalize the application
            • Set auto_caffe
            • Set whether automatic Vpn is enabled
            Get all kandi verified functions for this library.

            HalfCaff Key Features

            No Key Features are available at this moment for HalfCaff.

            HalfCaff Examples and Code Snippets

            No Code Snippets are available at this moment for HalfCaff.

            Community Discussions

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install HalfCaff

            You can download it from GitHub.
            You can use HalfCaff 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/dougn/HalfCaff.git

          • CLI

            gh repo clone dougn/HalfCaff

          • sshUrl

            git@github.com:dougn/HalfCaff.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