GithubHelp home page GithubHelp logo

wakepy's Introduction

GitHub tag (latest by date) PyPI PyPI - Downloads GitHub

⏰😴 wakepy

Cross-platform wakelock written in Python.

  • It has zero required python dependencies.
  • Python API for application and library developers, and a wakepy executable (CLI) for everyone.

Supports

  • Python: 3.7 to 3.12
  • OS: Windows, Linux and macOS

What it can do?

Wakepy has two main modes:

  1. keep.running: keep your tasks & CPU running even if you lock your session and turn screenlock on; This mode prevents your system from going to sleep (e.g. for training machine learning models, video encoding, web scraping, ...)
  2. keep.presenting: same as keep.running but keep also the screen awake and prevent automatic screen lock & screensaver (e.g. for showing a video, updating dashboard, monitoring apps, ...)

Used by

Documentation

⚖️👑 Key selling points

  • Wakepy supports multiple operating systems and desktop environments
  • Wakepy has permissive MIT licence
  • It has a simple command line interface and a python API
  • Wakepy has zero required python dependencies
    • For using the D-Bus methods on Linux, one may use jeepney (optional)

Deprecation timeline (wakepy 0.7.0+)

Since deprecations may affect many users, they are communicated well before and time is given for project maintainers for migration. Timeline:

  • June 11th 2023: Release wakepy 0.7.0 with DeprecationWarnings for keepawake, set_keepawake and unset_keepawake, and the CLI option -s. Migration Guide published.
  • September 1st 2023 (or few days later): Release wakepy without the deprecated keepawake, set_keepawake and unset_keepawake; Only new API supported.

wakepy's People

Contributors

fohrloop avatar mikeckennedy avatar rileyyy avatar lampe2020 avatar aymane11 avatar ccrutchf avatar hfortney avatar ipeevski avatar mohammad-mohsen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.